Questions tagged [cygwin]

cygwin provides a Unix/Linux-like environment under Microsoft Windows OSes.

Filter by
Sorted by
Tagged with
0 votes
1 answer
734 views

Sublime text 3 Terminus using Cygwin terminal wont accept commands (e.g ls or gcc) (Windows)

I have installed Terminus in sublime text 3 and changed the "shell_configs" to use cygwin as the terminal. To do this I edited the code to include the following. { "name": "Cygwin", "...
WhoDunnett's user avatar
1 vote
1 answer
300 views

Run a command on all the .pst files of a folder in Cygwin

I have several .pst mailbox in a folder. I would like to use readpst to extract them and have the .msg they contain in a folder. So let's say 1.pst, 2.pst ... 15.pst. (the actual names are actually a ...
user4926345's user avatar
1 vote
1 answer
216 views

Is it possible to tell from CMD whether i have Cygwin or MSYS?

Is there a way that I can check, from a CMD whether a PC has Cygwin or MSYS (MSYS2, MINGW, MINGW-64...) installed? Note that I need to be able to differentiate Cygwin from MSYS. Thanks!
j4x's user avatar
  • 227
0 votes
1 answer
746 views

Using asterisk (*) wildcard with other installed command in cmd.exe?

This is my first time questioning something on superuser, I hope anyone can help me with my problem. First, let me explain what I'm trying to do. I'm using windows cmd.exe shell to help me combining ...
Adam Zakiy H's user avatar
0 votes
4 answers
5k views

Cygwin cannot generate ssh keygen

I want to generate ssh-keygen via cygwin and there is a problem when I entering path (it doesn't do anything). Here I just press enter and nothing was done:
Royalty's user avatar
  • 101
0 votes
1 answer
293 views

errors when building gcc-9.1.0 under cygwin

I received this error: >/usr/local/contrib/gcc-9.1.0/libbacktrace/pecoff.c: In function ‘coff_add’: /usr/local/contrib/gcc-9.1.0/libbacktrace/pecoff.c:656:37: error: pointer of type ‘void *’ used ...
jeferson lemos's user avatar
0 votes
1 answer
141 views

virtualenv creates a thousand processes in cygwin

So i attempted to run a virtual environment, but the command, virtualenv venv Started about 1000 python processes and never completed. Is this normal or some bug? I am working in cygwin on windows ...
T. Felle's user avatar
1 vote
2 answers
1k views

Issue on compiling config.guess from llvm project source with cmake on cygwin

It seems like my compiler is not adapted to the syntax on the file config.guess and it keeps getting errors. The URL from which I downloaded the source is llvm project or more specifically problematic ...
jeferson lemos's user avatar
0 votes
1 answer
362 views

How to access windows binary from Cygwin?

The path is in C:\WINDOWS\System32\OpenSSH\ssh.exe It's an executable in Windows C:\>dir C:\WINDOWS\System32\OpenSSH\ssh.exe Directory of C:\WINDOWS\System32\OpenSSH 01/01/2019 01:33 AM ...
user11392987's user avatar
0 votes
1 answer
3k views

bash: /drives/c/Users/admin/DOCUME~1/MobaXterm/slash/bin/ls: cannot execute binary file

I placed CygUtils.plugin into Mobaxterm directory, but, when I try linux command in local terminal of Mobaxterm, it shows below error. Coud anyone help this? [bob.MGKRD35-NA1081A] ➤ ls -al bash: /...
user5150273's user avatar
2 votes
0 answers
60 views

Cygwin/Babun: ssh-host-config error with local ADMINSTRATORS and/or SYSTEM

executing ssh-host-config -y shows following output: .... *** Info: called 'sshd'. *** Info: For more info on privilege separation read /usr/share/doc/openssh/README.privsep. *** Query: Should ...
bambino307's user avatar
0 votes
0 answers
176 views

How to automate commands in cygwin

In my situation I am using Cygwin64 to connect to a remote SFTP server. I would like to have a script that opens cygwin and runs the sftp command and once I am connected to the server use the put ...
Aaron Pilkington's user avatar
0 votes
0 answers
248 views

Why is Cygwin Python executed version different than included in $PATH variable?

I have installed two version of Python 2 and 3 and installed cygwin, cygwin $PATH variable includes Python3 paths but when I looked version of python on cygwin console it shows as Python2, how can I ...
hasany's user avatar
  • 1
0 votes
1 answer
46 views

When I press up-arrow in 'less' in mintty (cygwin), only the top line changes. How do I fix this?

Here is what is happening: How do I fix this? (Just to be clear, the issue occurs when I type less <any filename>. The man less in the gif is just an arbitrary command to demonstrate the ...
Kyle's user avatar
  • 101
0 votes
1 answer
543 views

Cygwin Icon Broken to Terminal Only

I have had Cygwin installed to my Win10 Home PC for about a year, recently the icon for the Cygwin terminal went bad when accessed from the context menu: >>Right-Click of Context Menu Selection (...
J-Dizzle's user avatar
  • 518
0 votes
1 answer
1k views

Too many corrupted file while installing Cygwin on Windows

I'm installing from internet Cygwin 2.897 on my Windows PC. At some point there are too many pop-up windows saying: "Unable to extract blabla -- corrupted package?" or "Unable to extract blabla. The ...
Caterina De Franco's user avatar
1 vote
1 answer
362 views

Cygwin ssh session disconnects after exactly 30 minutes

Running Windows 10 Cygwin64 - latest version openssh - latest version After opening an ssh session - Cygwin will send a reset to the remote server after exactly 30 minutes (the firewall logs show ...
dave's user avatar
  • 11
0 votes
1 answer
2k views

ssh-host-config does not work on latest Windows 10 version

Steps performed: Install cygwin via: C:\tmp\setup-x86_64.exe -q -B -R C:\cygwin -s http://cygwin.mirror.constant.com -l C:\tmp -A -o -P curl,rsync,dos2unix,make,git,unzip,openssh OpenSSL mkpasswd -l ...
Ravi Yadav's user avatar
0 votes
1 answer
151 views

Cygwin gawk doesn't pipe when called explicitly

That's the best description I can think of, apologies if it's a little esoteric. I have cygwin installed on Win 10, Build 16299 but it's installed with the non-administrator option; there is no ...
Pete M's user avatar
  • 1
0 votes
1 answer
110 views

Cygwin flip command

Previous I was using flip command for MKS toolkit, but now I have cygwin with me. So Please let me know flip -dbc equivalent command in cygwin. I have flip command, in cygwin. I am looking for the ...
Guest's user avatar
  • 1
0 votes
2 answers
248 views

Integrating Linux commands in Windows (10) CMD shells

On my previous (Win 7) machine I installed CygWin which allowed (due to PATH) me to call Linux commands from any command shells -- the default one, the Anaconda one, etc. I would like to have the ...
mibm's user avatar
  • 101
-1 votes
1 answer
54 views

Does CygWin and Windows Powershell return the approximate correct (real, user and sys) time for program, like the time command utility in Linux do?

Can we calculate the (real, user and sys) time for the C program in Windows using Cygwin and Powershell, like we do in Linux using time command utility ?
Khushal Gupta's user avatar
12 votes
2 answers
21k views

How to compile the best version of FFmpeg for Cygwin/Windows

It's generally accepted that, by default, FFmpeg comes packaged with lower-quality encoders - particularly when it comes to the default AAC encoder and the default resampler. According to these ...
Hashim Aziz's user avatar
  • 12.8k
1 vote
0 answers
257 views

Cygwin's ffmpeg incorrectly reports missing input file on a network drive

I'm writing a shell script in cygwin to extract frames from a list of videos located on a network drive. I have assigned the network drive the letter L: on Windows and thus the root of the drive is ...
Louen's user avatar
  • 123
1 vote
0 answers
1k views

nslookup works on Cygwin/Windows 10, but telnet/curl fail to resolve

System: Windows 10 virtual machine (VMWare), Cygwin 32 bit, Windows 10 host. Output of nslookup: $ nslookup www.google.com Non-authoritative answer: Server: UnKnown Address: 172.31.2.2 Name: www....
Iain Brown's user avatar
2 votes
0 answers
53 views

Why does my c++ code run significantly faster using Cygwin on Windows, than Windows?

I have built a project in c++ and have discovered that on Windows, runtime is about 120 seconds. Running the same code in Cygwin, compiled for linux, it takes 15 seconds. I've no idea why this is ...
dan479's user avatar
  • 21
0 votes
1 answer
157 views

Escape Character for % in Bash prompt

I have a bat file Sig.Bat containing : rdiff.exe -b 10240 signature 'D:/test/NZ 100% Pure/ABC.txt' 'D:/test/NZ 100% Pure/ABC.txt.DSS' I excute Sig.Bat with command bash -l -c '"D:/test/Sig.bat"' ...
user1018822's user avatar
0 votes
0 answers
43 views

Cygwin not diplaying output from mysql

When running "mysql -u -D -p -h " I do not get the password promt. When running with password on the commend line I do not get the mysql prompt. I can issue the quit command and mysql exits ...
Nesrene's user avatar
1 vote
0 answers
764 views

clang on cygwin fails to produce executable from C++ source

I'm trying to use clang on cygwin to compile C++ files but the executable it produces fails to run. I get runtime failures from cygwin: Cygwin runtime failure: a.exe: Invalid relocation. Offset ...
it3q's user avatar
  • 11
1 vote
0 answers
55 views

Setting the xterm window title on Ubuntu sets the wrong title

I'm trying to set the window and icon title for xterm on Ubuntu 17. odin:~% grep PRET /etc/os-release PRETTY_NAME="Ubuntu 17.04" odin:~% printf "\e]0;%s\a" X00X odin:~% xterm -help XTerm(324) usage: ...
Erik Bennett's user avatar
0 votes
0 answers
66 views

Delete files existing in another directory tree

Maybe it's duplicate to How to delete files in a directory, that exist in another directory?, but I need to consider also path. I just successfully repaired MBR and partition table, now I'm trying to ...
Kenny_pce's user avatar
0 votes
1 answer
3k views

Why does XWin Server from Cygwin not open?

I installed cygwins X Server to be able to X forward on Windows 10 as explained here. Now the installation completed and it finished without problems, but when I try to start the XWin Server as ...
Hakaishin's user avatar
  • 164
0 votes
1 answer
290 views

Using nano in Cygwin's Mintty: Shortcuts don't work when editing git commit message

I'm using Cygwin with Mintty and have set the git editor to nano: git config --global core.editor "nano". Now when I just run nano, the UI is black and white and the shortcuts, like ctrl+o and ctrl-x ...
804b18f832fb419fb142's user avatar
0 votes
1 answer
163 views

Basic bash if statement with hg fails

I'm running Cygwin. I came across the following snippet of Bash code from the FFmpeg Wiki's guide to compiling FFmpeg: cd /ffmpeg_sources && if cd x265 2> /dev/null; then hg pull &&...
Hashim Aziz's user avatar
  • 12.8k
0 votes
0 answers
2k views

"bash: fork: retry: Resource temporarily unavailable" error on Windows 10

When I open git bash I get these messages: 2 [main] bash (40164) C:\Program Files\Git\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1301410/0x12A1410. This ...
user3486308's user avatar
0 votes
0 answers
88 views

Execute exe as admin through cygwin

I am executing an exe in Windows 7 by logging into it from cygwin. How do i execute it as admin? Here is the command: cd /cygdrive/c/autopkg_full env "CommonProgramFiles(x86)"="C:\Program Files (x86)...
RajSanpui's user avatar
  • 501
0 votes
1 answer
510 views

How to install locale for Cygwin?

I've installed Cygwin on window10. The language installed on window in French Canadian. When I right-click on title bar of Cygwin window and choose Options..., I got this below. On Window7, cygwin ...
Luc M's user avatar
  • 192
1 vote
1 answer
888 views

My Cygwin installation has installation files owned by Unknown+User Unknown+Group, including the config dir

I installed Cygwin a couple of weeks ago, but this morning when I needed to grep some PC files I opened the cygwin terminal and it reported that my config dir is unreadable. It's owned by Unknown+User ...
Sinc's user avatar
  • 113
1 vote
0 answers
60 views

Why is this for loop removing the first one or two characters of a file path?

I am trying to find all *.flac files in a directory tree, encode them with ffmpeg, and then output them to a corresponding tree in another location. I am using Cygwin on Windows 10. This is what I ...
Drew's user avatar
  • 39
0 votes
1 answer
5k views

System Variables (PYTHONPATH) on CYGWIN

I am going through some programing related tutorials that require usage of use bash on Windows. I installed CYGWIN, but it seems linux uses a environmental variable called PYTHONPATH, which the ...
moondra's user avatar
  • 593
0 votes
1 answer
559 views

Cygwin - error loading shared library: arm-elf-gcc.exe from GNUARM

I have installed Embedded Robot Coder, a set of tools for developing embedded ARM applications, e. g. for Lego NXT brick, using MATLAB on Windows. It contains Cygwin, GNUARM utilities and so on. When ...
Morpheus's user avatar
0 votes
1 answer
21 views

XEmacs menubar is not enabled

Using Windows 10 I installed Cygwin32 and all available emacs/xemacs packages. When I start emacs now it works fine but for some reason the 'menu bar' with all items like 'File', 'Edit', 'Options' ...
susik's user avatar
  • 653
1 vote
1 answer
218 views

Instructions to install a KDE4 application on Windows

This question was off-topic on Unix & Linux so I decided to post it here. I am using Windows 8.1 and I don't use Linux so I have never installed something like Cygwin even though I heard about it ...
billyandriam's user avatar
0 votes
0 answers
119 views

ConEmu + Cygwin + Emacs gives strange behaviour

I'm using cygwin through ConEmu, and I like to use emacs in terminal mode ("-nw") as my editor. It seems to work correctly through cygwin directly, but when running through ConEmu I get strange ...
kerzane's user avatar
  • 141
0 votes
1 answer
1k views

windows install automake fails when configuring

Update: I am trying to install sphinxbase. But after I cd to the sphinxbase directory and run ./autogen.sh, the terminal(cygwin) tells me: Error: You must have `libtool' installed. Get ftp://ftp....
Cindy's user avatar
  • 103
2 votes
1 answer
722 views

How to change title of cygwin windows?

I am using ssh in cygwin and it has window title format: username@hostname: /pwd Problem is when I have many ssh sessions I can't distinguish them because I can only see username... in taskbar. Is ...
E. Bazhenov's user avatar
1 vote
2 answers
8k views

Cannot make a image file using `dd` command under Windows

I am trying to copy sd card using dd command under Windows cygwin, and I am getting following error: >>> dd if=i:\ of=k:\backup_sd_card.img bs=4M dd: error reading 'i:\': Is a directory 0+0 ...
lluke's user avatar
  • 1,024
1 vote
2 answers
2k views

Cygwin - mintty.exe is stuck when I try to quit

I'm running Windows 10 with Cygwin. When opening Cygwin from the start menu (Pointing to C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico - and then entering "exit", the process gets unresponsive ...
David Kon's user avatar
0 votes
1 answer
868 views

X forwarding works from Cygwin shell, but not with PuTTY

As subject, I've X forwarding working from a Windows client if I use the Cygwin terminal and do: DISPLAY=:0 ssh -Y me@remote-host If I were to use PuTTY from the same Windows host (checked Enable X ...
Jeenu's user avatar
  • 256
1 vote
1 answer
3k views

An issue with ncview (netCDF visual browser) on cygwin - windows 10

I have an issue with ncview on cygwin. Can anyone help? I have installed cygwin on windows 10 and followed the instructions on Ncview under Windows. my output from ./configure and make install are ...
Brendan Darrer's user avatar

1
3 4
5
6 7
36