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

learn more… | top users | synonyms

2
votes
1answer
74 views

Git for Cygwin and file permissions

Why does git for Cygwin always get confused with file permissions? The file didn't change. TortoiseGIT doesn't think it is modified. DOS Git doesn't think it's modified. $ git diff README.md diff ...
2
votes
1answer
1k views

Cygwin OpenSSH closes immediately after a connection

Trying to connect to cygwin-sshd using putty or cygwin ssh on localhost, here is all I get. I have it working fine on a different Win7x64 machine but this one is proving hellish. Config files for ...
2
votes
1answer
369 views

Mirroring with wget - Exclude old files

I am using wget to mirror an ftp file-archive. This is my command: wget -m $mirror (Stripped all unneccessary parameters) So far, everything is okay, all differences to the online archive will be ...
2
votes
1answer
204 views

Mutliple Putty and Cygwin/X sessions not working

I'm trying to connect multiple Putty Sessions at once, and have a single CygwinX server running on my machine. The first putty session i open is able to successfully launch a gnome-terminal, proving ...
2
votes
1answer
1k views

Error when Starting CYGWin SSH daemon on windows 7 home edition

I am using Windows 7 Home edition, trying to install CYGWin SSH daemon. Successfully done the same, but when I run the same, I see error in C:\cygwin\var\log\sshd.log file Privilege separation user ...
2
votes
1answer
316 views

Slow X-server performance over network

I do my development work on a linux virtual machine on a remote computer. I'm using a Windows 7 laptop as my main computer, as it has more screen real-estate, and using Cygwin/X to run my GUI programs ...
2
votes
1answer
256 views

List directories first with MinGW ls

I have recently started using MinGW instead of Cygwin on my Windows 7 machine, and I am having a little issue with MinGW's ls. In Cygwin, ls has a --group-directories-first option that, obviously, ...
2
votes
1answer
204 views

Why cygwin 'ls -l' does not show me the file size in bytes?

How can I configure cygwin to show file size in bytes when I do 'ls -l'? I get size in bytes under ubuntu, but not in cygwin. how can i fix it?
2
votes
1answer
1k views

Cygwin runtime errors (“couldn't allocate cygwin heap”)

I am getting following exceptions when I start running some commands in Cygwin. C:\cygwin\bin\bash.exe (4136): *** couldn't allocate cygwin heap, Win32 error 0, base 0x740000, top 0x755000, ...
2
votes
1answer
182 views

Opening PHP files in vim gives me error: E108: No such variable: “b:current_syntax”

I'm running cygwin on my Windows box, and everytime I open up a php file using vim, i get this error: sendgrid-test.php" 7L, 46C Error detected while processing /usr/share/vim/syntax/php.vim: line ...
2
votes
1answer
1k views

How to change cygwin hostname

I'm just searching for a way to change the default Cygwin host name. I need to change the Admin@deluxe ~ part and replace it with something else.
2
votes
1answer
445 views

Why does Cygwin fail to install saying “can't open C:\cygwin\/var/log/setup.log for writing”?

I am trying to install the latest Cygwin. Even when I accept almost all the settings default values, it fails to set up, saying: can't open C:\cygwin/var/log/setup.log for writing I run Windows ...
2
votes
1answer
884 views

How do I mark batch files as executables in bash/cygwin?

In my quest to better my experience in my windows 7 environment, I have installed cygwin and have started using mintty as my command line interface tool. This has been nice and takes me back to my ...
2
votes
1answer
831 views

Pubkey authentication with SSH server running on Cygwin - session closes immediately

I am connecting from Linux via SSH to a Windows machine running SSH in Cygwin. I authenticate with a certificate. The session opens but closes immediately thereafter. With password authentication it ...
2
votes
1answer
173 views

Data Execution Prevention suddenly prevents Console2 from running

Not sure what happened but when I got to work today, Console2 stopped working. Every time I try opening it Windows XP (SP2) complains: error dialogs (can't post images yet) I tried messing with DEP ...
2
votes
1answer
327 views

Cygwin X start up config file location

I can't find the config file I need to modify for my install of Xwin via Cygwin. Currently when X loads it fires off and Xterm window. Essentially all I want to do is comment out/delete this line ...
1
vote
1answer
53 views

How can I make cygwin commands a priority over built in windows commands?

If I run ls in powershell the windows built in ls function is run. how can I make cygwin ls run instead? I've tried moving cygwin/bin to top begin system path variable, but that didn't work. is ...
1
vote
1answer
211 views

How to stop ssh (via cygwin) from hanging on server disconnect/timeout

Scenario: ssh user@host # good connection, do some work... # stop working, the server has some function where it automatically disconnects ... # I come back to my cygwin window and it is unresponsive ...
1
vote
1answer
92 views

Less in cygwin can't read file created from redirected windows cmd script

I'm running windows cmd script from windows console and redirecting output to a file by mycommand.cmd > 'filename ' 2>&1 the problem is, when I'm trying to read that file using less under ...
1
vote
1answer
282 views

How can I direct rsync output / log to the remote server?

I am able to output rsync logs on the client machine using --log-file=FILE but I want the output to be sent to the server instead. The client is a W7 machine (cygwin) and the server a Linux NAS. This ...
1
vote
1answer
646 views

Cygwin vim doesnt show 256 colors under ConEMu

When using cygwin vim under ConEmu, the default vim theme doesnt display correctly after I set t_Co=256. This is how ConEmu looks after the command: http://postimg.org/image/g6g98exbx/ My .vimrc: ...
1
vote
1answer
70 views

Problems after installing Microsoft Services for UNIX

I had Cygwin installed and everything worked liked a charm. At some point I installed Microsoft Services for UNIX on my computer and the problems started. When I open up a commnad shell an wanna try ...
1
vote
1answer
118 views

After updating bashrc in cygwin the cursor starts at column 0 instead of after the prompt

The issue is that, if I update PS1 in bashrc, I see that by default the cursor gets placed at column 0 instead of after the prompt, and if I type anything it starts overwriting the prompt. I tested ...
1
vote
1answer
451 views

Why is Cygwin ftp hanging on connect?

I'm trying to use the Cygwin ftp client in Windows 7 but it just hangs on connect: $ ftp -d ftp.redhat.com User (ftp.redhat.com:(none)): anonymous ---> USER anonymous Password:   Windows ...
1
vote
1answer
76 views

How to resume wget mirroring from a different location?

I am out of space in my home folder , where iam currently mirroring this site for the pupose of a cygwin installation in my windows machine using wget from my linux machine. i am aware that i can ...
1
vote
1answer
201 views

Cygwin fatal error unable to configure ssh-host-config

I'm trying to install cygwin on windows XP SP2. After successfully installing, while opening Cygwin terminal it's showing the following error. 1 [main] -bash 4064 C:\cygwin\bin\bash.exe: *** fatal ...
1
vote
1answer
169 views

Is it possible to have App-distinct Color Scheme in ConEmu?

I am presently using Bash (with Cygwin), as well as Powershell, both using ConEmu. I'm using bash.exe and powershell.exe via tasks. I'd like to use different colour schemes for the different ...
1
vote
1answer
356 views

Cygwin - running a script on startup

I have a small script, myscript.sh, that I want to run every time I start Cygwin - right now it just echoes "hello" but I want it to have useful functionality later. Another post said to modify my ...
1
vote
1answer
214 views

error occur when i run awk command write in .sh file and run in cygwin terminal

i have cygwin terminal for run shell script(.sh ) file...it work good..but when i add awk command in shell script and then run Error occur /usr/bin/gawk.exe: error while loading shared libraries: ...
1
vote
1answer
137 views

Am I failing to foresee an issue with a cygwin symlink to Windows's python.exe?

Should be an easy question. I have a windows version python 2.7 at C:/Python27/python.exe and I also have cygwin's installation at /usr/bin/python -> /usr/bin/python2.7.exe. This means that when I ...
1
vote
1answer
299 views

How can I start urxvt as a child of a running XWin instance?

I have configured XWin to start automatically at logon, this gives me a tray icon where I can launch X apps that will be children of the XWin instance and have their environment correclty set just ...
1
vote
1answer
283 views

How do I determine a USB memory stick's serial number in Cygwin?

I already know that within windows, you can get a USB memory drive's Volume Serial Number by doing dir <drive_letter>:, where <drive_letter> is the drive letter of the USB drive. I also ...
1
vote
1answer
282 views

rsync permissions from Windows (cygwin) to Linux server

I'm trying to sync files from development machine running Windows (using cygwin) to staging server running Linux. I tried rsync -avz --no-p --no-g so synced directories/files would receive default ...
1
vote
1answer
635 views

Cygwin netcat nc doesn't resolve hosts through /etc/hosts

I'm trying to use ssh to log into remote servers, and I have a ProxyCommand setup in ~/.ssh/config to use a proxy (setup through PuTTY to connect to a VPN). The ProxyCommand uses nc to connect ...
1
vote
1answer
4k views

Installing Cygwin C and C++ compilers for NetBeans IDE 7.2

I am very new to Cygwin, C, C++ and NetBeans IDE 7.2. My PC is running MICROSOFT WINDOWS 7 OS. I have read the documentation on how to install the Cygwin C C++ compilers. ...
1
vote
1answer
975 views

rsync error: exit code 23 ( No such file or directory (2) )

Rsync reports error for one file (other files were copied just fine): rsync: stat "//serverName/destination/.lpt$vpn.251.yiOK8j" failed: No such file or directory (2) rsync: rename ...
1
vote
1answer
194 views

cygwin - bash can't find file depending on arguments

If I type bash -i release_script.sh it starts processing the script If I type bash --login -i release_script.sh I get the error: bash: release_script.sh: No such file or directory I don't ...
1
vote
1answer
364 views

How can I dismount a truecrypt partition over ssh in windows 7

I'm having trouble dismounting a truecrypt container, in windows 7, over ssh. When opening a cygwin terminal on the local computer (where truecrypt is running and the partition is mounted), I can do ...
1
vote
1answer
205 views

How to install Lagrange in Cygwin?

I need to install a script for biogeographical analyses in Windows XP using Cygwin. The program is named Lagrange and is written in C++. It actually comes with instructions to install in Linux and ...
1
vote
1answer
3k views

How do I install gfortran (via cygwin and etexteditor) and enable ifort under Windows XP?

I'm a newbie in the Unix world so all this is a little confusing to me. I'm having trouble compiling some Fortran files under Cygwin on Windows XP. Here's what I've done so far: Installed the e ...
0
votes
1answer
43 views

Can't vagrant install a plugin: gem dependency fails despite being installed

I am attempting to install the vagrant-vbguest plugin in Windows 7 from within cygwin 64. $ vagrant plugin install vagrant-vbguest Installing the 'vagrant-vbguest' plugin. This can take a few ...
0
votes
1answer
28 views

How can I get more information from Curl regarding a FTP 425 “Cannot open data connection” error?

I am trying to upload a file with the following line: curl -3 --ftp-pasv --ftp-ssl-control -v -i -T ./mybigfile.gz ftp://lawrence@mecloud.xxxxxxx.co.uk:21/OnlineBackup/Lawrence/ --insecure -u ...
0
votes
1answer
25 views

Trouble Installing SSH with Cygwin

I'm using Cygwin (or more specifically zsh installed via Cygwin) and I've installed all of the ssh packages including Net/openssh, but when I try to run ssh (or things like ssh-host-config) I get: ➜ ...
0
votes
1answer
29 views

Cygwin to execute windows shortcut files (.LNK)

I use Cygwin as my cmd replacement on Windows and I am in the process of cleaning up my system PATH variable. I now have a folder containing exe's and shortcuts (.LNK) files which is in PATH ...
0
votes
1answer
33 views

how come git bash can call java tools (xjc.exe) with unix paths but not cygwin?

From CMD.exe, I can run xjc as follows: xjc "c:/schema.xsd" -p abc -d "temp" From git Bash, I can run xjc as follows: xjc "/c/schema.xsd" -p abc -d "temp" As far as Cygwin goes, I can get it ...
0
votes
1answer
51 views

how to verify the validity of the binary using the public key?

I want to install Cygwin-64 ,when i go to download page ,some information tells me: Run setup-x86_64.exe any time you want to update or install a Cygwin package for 64-bit windows. The signature for ...
0
votes
1answer
20 views

cygwin basic command trouble

I'm using Cygwin to simulate Linux environment on my Windows 7 machine for learning some basic commands and functions. Right now, I am just practicing moving through directories and different file ...
0
votes
1answer
54 views

ssh between cygwin and debian wheezy

I am trying to connect desktop(win7 x64) and note (debian wheezy x32). Made standard install of ssh cygwin and debian. Created pub-key and moved via usbflash it to ~/.ssh/authorizwd_keys and to ...
0
votes
1answer
56 views

Is there a way to show windows processes in Cygwin constantly

I would like to monitor processes from a cygwin shell, using top or a variant. The reason for this is its realtime reporting and constant updates. However under cygwin, top will not report on windows ...
0
votes
1answer
35 views

How can I setup an X Server to run in the background on Windows?

I have grown tired of the (visual) problems I get when using the combination of not-so-great terminal emulation+CygWin on Windows. Now I just run a forwarded gnome-terminal from my server when working ...