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

learn more… | top users | synonyms

5
votes
1answer
482 views

Is there a gpg-agent for cygwin?

I would like to use gpg-agent from cygwin, but installing gpg on cygwin doesn't provide it, and google doesn't have much recent information about this. Is it possible to use gpg-agent under cygwin ...
4
votes
1answer
501 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
37 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
81 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
165 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
936 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
845 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
129 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
66 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
159 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
159 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
170 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
236 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
507 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
460 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
380 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
307 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
268 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
531 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
925 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
190 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
32 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
141 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
36 views

Starting Zsh in ConEmu in specified directory

ConEmu runs zsh under CygWin fine. I want to add a right click option to explorer to "Start ConEmu With CygWin Zsh In This Diretory" ConEmu provides an Integration settings page to set explorer ...
1
vote
1answer
53 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
100 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
128 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 ...
1
vote
1answer
99 views

rsync from Solaris to Windows (character encoding on filenames)

I'm trying to use RSYNC to sync files from a Solaris 9 (SunOS 5.9) System to a Windows Server 2008 R2 (via cygwin) There are many Files containing characters like "ä", "ö", "ü" or "ß". Which are only ...
1
vote
1answer
84 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 ...
0
votes
0answers
214 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
168 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
358 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
254 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
264 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
171 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
558 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
678 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
334 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
756 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
67 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
455 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
1k 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 ...