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

learn more… | top users | synonyms

4
votes
1answer
383 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
837 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
586 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
55 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
252 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
90 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
297 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
177 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
951 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
214 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
199 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
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
148 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
373 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
780 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
454 views

Why does cygwin's scp set the permssions to 000 when copying to Linux?

When I'm copying files from my Windows box to a Linux box using cygwin's scp, the permissions come out as 000. This doesn't happen when I copy from Linux to Linux, so I'm thinking it's related to some ...
0
votes
0answers
56 views

Getting rid of “bash.exe” - from my startup

Soluto reports that bash.exe is taking up 40 seconds of boot time, but I cannot disable it. If I search for it in msconfig, I cannot identify it. If I search for "bash.exe" I cannot identify it. If I ...
0
votes
0answers
47 views

Rremote setup of cygwin's sshd

OK.. This is a catch 22.. you want to get cygwin's ssh server up and running so that you can get remote access to a machine.. In my case, lots of machines. However, now you have to remote install ...
0
votes
0answers
100 views

Confugure sshd in Window-7.x64 with OpenSSHWindows53p1

I was trying to configure SSH server in Windows-7.x64. Downloaded OpenSSHWindows53p1-2 and installed. As per the documentation, the installer is a bare minimum cygwin environment, just to run ssh and ...
0
votes
0answers
104 views

cygwin/minTTY reads odd signal from delete key

So this is an odd situation, especially since this is the (at least) third time I've installed Cygwin in a similar setup, and I've never seen this behavior before. My setup: Windows 7; Cygwin, with ...
0
votes
0answers
135 views

cygwin maven file permission

I have a problem with maven in cygwin. $ umask 0000 $ ls -ln 합계 20K -rw-r--r-- 1 1000 545 16K 7월 1 12:25 pom.xml drwxr-xr-x 1 1000 545 0 6월 26 13:00 src/ drwxr-xr-x 1 1000 545 0 7월 1 15:10 ...
0
votes
0answers
50 views

SSH and VNC to Windows 7?

I would like to know if it is at all possible to utilize cygwin and VNC to create a RDP server that would be unknown to someone if they were to steal my computer. My thoughts for doing this come from ...
0
votes
0answers
38 views

chmod cannot change group permission on cygwin

I am using cygwin and trying to change the group access permission with chmod, e.g. "chmod g=0 fileName". But this does not work. I can change permission for user and others. Seems that the permission ...
0
votes
0answers
223 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
450 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
286 views

How do I get correct arrow key behaviour for cygwin vim in Console2?

I've set the shell variable in Console2 to: C:\cygwin\bin\bash.exe --login -i I then launch vim. When I do so two problems happen While in normal mode if I press an arrow key once nothing happens. ...
0
votes
0answers
164 views

Home and End keys don't work work in Cygwin Vim editor when $TERM=linux

I have the latest Cygwin installed on a Windows 7 PC. When using the Vim editor, my Home and End keys don't work when $TERM=linux. If I change to $TERM=xterm, these keys work OK. When $TERM=linux ...
0
votes
0answers
83 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
297 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
166 views

How does the mouse + ncurses work over ssh?

I'm running cygwin on Windows 8 x64 using the mintty interface. I ssh into my Solaris 11.0 server and ran mc (GNU Midnight Commander 4.8.6). To my surprise, when I accidentally clicked on a portion of ...
0
votes
0answers
100 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
30 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
41 views

EMACS - SIGINT under Windows

Ctrl-c Ctrl-c is used in Emacs shells to kill the running process. After an upgrade to Windows 7, this has stopped working for me. i.e. it doesn't kill the running process. Instead it just ...
0
votes
0answers
163 views

Installed MySQL in Cygwin and it is asking for a password

I installed MySQL to Cygwin, now when I try to access it my typing mysql in the terminal I get the following error message: ERROR 2002 (HY000): Can't connect to local MySQL server through socket ...
0
votes
0answers
205 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
136 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
134 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
103 views

Sub-Processes of Cygwin SSH Session Unable to Connect to Network

I've configured Cygwin's sshd to run on a Windows Server 2008 machine. I am able to log in to ssh fine, however once I'm logged in, I am unable to make any outgoing network connections out of the ...
0
votes
0answers
139 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
372 views

cygwin fork error

I have set up a new PC and installed cygwin on it. Its windows 7 pro. Whenever I try to build our application on it, I get the following error: 0 [main] sh 3472 child_info_fork::abort: can't commit ...
0
votes
0answers
322 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
487 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
687 views

cygwin syslog server won't start

I'm trying to set up syslog on windows using the instructions here: http://www.syslog.org/logged/running-syslog-ng-on-windows/ Which worked fine, but now when I try and start the created service, it ...
0
votes
0answers
275 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
564 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
60 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
356 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
770 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 ...
-2
votes
0answers
23 views

Trouble installing Network Simulator 2 in Windows/Cygwin

I am having a problem installing network simulator 2 in windows 7. I am installing it through cygwin. While running the INSTALL.WIN32 in "/c/cygwin/ns-2.1b8a-win/allinone" I get this error : line 1: ...