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

learn more… | top users | synonyms

4
votes
1answer
461 views

lpr on Cygwin appending .lnk to my PRINTER value

I have Cygwin on a Windows 7 machine. In my .bashrc file, I have tried export PRINTER=\\\\myPrintServer\\myPrinter Escaping the backslashes, which, when I type $lpr -D, gives me Windows Printer ...
3
votes
1answer
29 views

Reactivate Dormant Processes in Windows7

I have a very computationally intensive program (which I wrote in python) and starting two days ago I ran 6 copies of it in parallel (using 6 Cygwin terminals on a Mac Book Pro running Windows7 in ...
3
votes
1answer
44 views

Copying folders with cygwin

The folder produced by cp -r myfolder myfolder2 is marked shared as reported by "It is shared with other people. Are you sure that you want to delete it?" dialog in windows when I try to delete the ...
3
votes
1answer
897 views

vim in Console2 on Windows doesn't colour code?

I'm using Console2 on Windows with Cygwin. Using Windows vim (on my PATH), the colour coding doesn't seem to display in Console2? Using vim from cmd does colour code.
3
votes
1answer
741 views

I/O redirection using cygwin and mingw

I have written a program in C and have compiled it using MinGW. When I try to run that program in Cygwin, it seems to behave normally (i.e. prints correct output etc.) However, I'm trying to pipe ...
2
votes
1answer
48 views

How to use prezto with zsh on cyginw

I have setup perzto with zsh on cygwin. I am using the default sorin theme as my prompt. I see 3 rectangles as the end of my prompt instead of 3 ">>>". Is there a way to fix it? Can I use a different ...
2
votes
1answer
53 views

Windows lpr implementation not finding printer

I'm trying to port a linux program to windows 7, that receives an lpr command from a websocket and sends the command to a local vinyl cutter. The windows lpr implementation is different and there is ...
2
votes
1answer
35 views

Math extension in mediawiki on windows

I want to put some mathematical formulas in a mediawiki install on a local WAMP server. I'm currently trying to install the math extension but I can't get it to work. I've followed the instructions ...
2
votes
1answer
113 views

SSH: can connect to computers on local network but cant connect remotely

I have 3 computers running ssh server on them: PC1 is running Cygwin on Windows PC2 is also running Cygwin on Windows PC3 is running Linux and they are on the same network connected to same ...
2
votes
1answer
680 views

startxwin.exe is failing in cygwin 1.13.2.0 on Windows 7 with keyboard initialization failure

My operating system is Windows 7. I installed cygwin. I wanted to start the XWin Server with the startxwin command and it terminates with the error: Couldn't open compiled keymap file ...
2
votes
1answer
127 views

reuse an already established connection with win32 gvim

How can I reuse an ssh connection on windows? Ive been using these settings in my _vimrc for sftp and noticed that each time I browse or try to edit a file with netrw, a new connection is created ...
2
votes
1answer
106 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
2k 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
418 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
221 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
373 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
301 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
234 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
209 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
480 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
860 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
179 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
336 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
39 views

Installing Cygwin with MinGW in windows

I wanted to install Cygwin in the C:\Cygwin (which is shown by default during installation). I have the C:\MinGW installed in that directory too(I mean C:\) Will this cause any problem when I install ...
1
vote
1answer
68 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
412 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
114 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
609 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
887 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
78 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
135 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
660 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
104 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
210 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
299 views

unattended cygwin base + apt-cyg install

I would like to do an unattended (i.e. using no GUI) cygwin base install, also including the svn package so I can install apt-cyg Question: How can I do this? Note: After I have done the base + svn ...
1
vote
1answer
188 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
491 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
320 views

Installing Python 2.5 on Cygwin

I would like to install Python 2.5 on Cygwin. (EDIT: I need Python 2.5 in particular, and I am aware that Cygwin setup offers 2.7 and 3.2. I installed those using the GUI and they appear to be ...
1
vote
1answer
1k views

No access via cygwin to USB connected device (Samsung Galaxy tab II)

In Cygwin, I am used to being able to have access to a USB-connected device via a drive letter. For example, my Droid X2 appeared as E://, so I could do: $ cd E:/<something>/ and get access ...
0
votes
0answers
156 views

How does rsync (in Cygwin) decide what sharing permissions to apply to a copied file?

I have an XP machine with Cygwin installed. Every night my Android phone connects to rsync on the PC and backs up my phone's pictures. This process is working smoothly, and has been for over a year. ...
0
votes
0answers
498 views

Cygwin not operating after new package install?

I installed wget package through setup.exe on my existing Cygwin installation. But the problem is, after rebooting and opening Cygwin, it's not functioning properly. Some simple commands like ls, man, ...
0
votes
0answers
581 views

Shell script to copy a text file from windows machine to linux based device

A linux based navigation device is connected with my windows machine. I want to copy a text file to root of device using shell script from windows machine(through cygwin or putty). please help. ...
0
votes
0answers
316 views

Error running gcc on cygwin (bad adress)

I'm trying to get gcc running on cygwin. Whenever I launch it, I get the error: $ gcc a1.c gcc: installation problem, cannot exec '/usr/lib/gcc/i686-pc-cygwin/3.4.4/cc1.exe': Bad address gcc: ...
0
votes
0answers
684 views

SSH via Cygwin “Authentication method 'password' failed”

there. I'm an SSH/Cygwin noob, but want to use ssh via Cygwin to connect to a Windows 7 machine under a domain from ConnectBot (android). I went through the ssh-host-config as described here: ...
0
votes
0answers
61 views

Why are some Cygwin packages' sources ALWAYS pending?

Every so often I run Cygwin's setup.exe and click "Install" for the "All" category. However, when I change the view to show "Pending", about seventy-five packages' sources are always checked to ...
0
votes
0answers
422 views

Trying to run MATLAB through an ssh connection, MATLAB process hangs

I have two computers and I am attempting to ssh from one to the other and then running an automated MATLAB script. My sshd and ssh client are both from OpenSSH via Cygwin on both machines, which are ...
0
votes
0answers
947 views

Problem with makefile in Cygwin

I have installed Cygwin. My problem is when I try to run a makefile which contains a line gcc -g -c file.c I get an error: Fatal: Unable to execute command: gcc At the same time when running ...