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

learn more… | top users | synonyms

4
votes
1answer
498 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
35 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
74 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
157 views

Installing GNU mailutils on windows

I'm using Windows 7, and would like to use the GNU mailutils, specifically mu and mu4e. Unfortunately, these are not available as Cygwin packages. Is there any way to use GNU mailutils on windows ...
3
votes
1answer
2k 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 ...
3
votes
1answer
931 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
828 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
116 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
57 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
152 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
1k 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: ...
2
votes
1answer
1k 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
155 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
163 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 ...
2
votes
1answer
206 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
493 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
243 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
448 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
368 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
298 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
2k 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
262 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
2k 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
521 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
922 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
189 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
349 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
24 views

Can't find the good Cygwin shell executable

I am working on Windows 7 and I need Cygwin for my project. I am trying to launch the Cygwin terminal from a Java programm and then write command lines but my problem is that I can't find the right ...
1
vote
1answer
71 views

Putty->Cygwin X11 Forwarding “Can't open display” Error

I am using Putty on a Windows machine to ssh into another server. Once there, I am trying to use X11 forwarding to pop windows onto my computer. The remote system is not the issue since it is a large ...
1
vote
1answer
44 views

What is the minimal packages list for Cygwin?

The Cygwin FAQ mentions that one the first install, the setup exe will download “a minimal subset of all available packages.” Which packages are part of this subset? I’m installing Cygwin on a ...
1
vote
1answer
92 views

How to remap Caps Lock to Ctrl using AutoHotKey for Cygwin only?

If there is a way to remap Caps Lock to Ctrl using AutoHotKey for Cygwin only in Windows 7? I can do it with the following script for all programs: Capslock::Control But how can make the key ...
1
vote
1answer
110 views

Cygwin+KiTTYCyg: /bin/sh: No such file or directory

Trying to use KiTTY with Cygwin (x86) on Windows 7 x64. Installed latest Cygwin and all needed packages. Added ;c:\cygwin\usr\local\bin\;c:\cygwin\bin to system Path env. Downloaded KiTTYCyg for ...
0
votes
0answers
342 views

How to politely kill windows process from cygwin

I do have a bat(startJboss.bat) file that starts a JBoss server. When I start it it creates an output to standard cmd (windows) console. When I want to politely end this process I just hit Ctrl + C ...
0
votes
0answers
724 views

Configuring OpenSSH for Windows in Cygwin - can't leave blank password

I install OpenSSH in Cygwin under Windows 7 to install Hadoop. I had OpenSSH installed previously, but with a password. All attempts to remove password are failed, so I re-installed Cygwin. I want ...
0
votes
0answers
207 views

execute windows programs from cygwin terminal?

How can I use my cygwin terminal on Windows 7 to execute Windows programs as I would normally do using the Windows cmd terminal? It seems like there are programs that only work when executed from the ...
0
votes
0answers
621 views

Is there a way to configure cygstart.exe?

As I understand, cygstart associates its argument with the windows standard program set for that case. But I want to behave my cygwin different than its host in certain cases. E.g. alias ...
0
votes
0answers
161 views

Why are tasklist results different when run locally vs over ssh

I have a windows box setup with cygwin and an ssh server that has been working fine, however today I came across a command I am trying to use that returns different results based on whether it is used ...
0
votes
0answers
36 views

CygWin installation not completing

I am trying to install cygwin on my windows machine. It has passed nearly 5 hours.But installation not competed. Installation progress shows values exceed 100%. Is this the behavior of this or is this ...
0
votes
0answers
350 views

Windows attrib command changes file timestamp

I have some batch file running that does the following on a directory tree with several thousand files: change file attributes, turn OFF readonly do some stuff, add new files. change file ...
0
votes
0answers
249 views

icarus verilog on windows7

I used to work with iverilog on win-xp. But ever since I moved to win7, it does not work. And I am not even using GTK, I just want a plain simulation to run. I have used different versions of iverilog ...
0
votes
0answers
251 views

how to uninstall packages (mpich2) from cygwin without using setup.exe

I have installed in cygwin (w7) a mpich2-1.2.1p1 package (configure, make, make install), now I would like to uninstall it, I have looked through the web, but I did not find any solution, can you ...
0
votes
0answers
169 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
546 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
642 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
331 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
742 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
66 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
447 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
997 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 ...
-1
votes
0answers
65 views

Unable to connect to Cygwin from Mac OS X by ssh

I've started ssh server on Windows 7 using Cywgin and I'm trying to connect to it by ssh from Mac OS X Mavericks. It fails with next error: ./ssh username@hostname -v OpenSSH_6.6, OpenSSL ...