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

learn more… | top users | synonyms

1
vote
3answers
1k views

sh.exe (bash) heap space error on Windows XP

I am running a bash shell on Windows XP that is shipped with Git for Windows. The command window's title shows MINGW32, and the error message contains Cygwin. This is the command that I run and the ...
1
vote
1answer
15 views

How do I create a shortcut on Windows to launch Urxvt w/ Cygwin bash but also with certain options beforehand?

Confusing title, I know. Here's the problem: To launch Urxvt in such a way that my extensions work, I'd open up Cygwin and use export DISPLAY=:0 and then urxvt. If I launch urxvt just with urxvt then ...
0
votes
0answers
6 views

How to diagnose command-line hang if looking at it with Process Explorer makes the hang stop?

It's a command-line hang, so you'd think it would be easy to diagnose. But I just can't figure out why 1 out of 25 times, certain scripts of mine hang. I'm sure it's something I've done. Typically, ...
1
vote
1answer
238 views

How to use Pdflatex with Pandoc?

I'm using Pandoc to convert my markdown files to different formats including html and docx. With PDF though, I get the message pdflatex not found even though it was installed and I can even call it ...
0
votes
0answers
16 views

cygwin ssh connection OK via localhost, but not via 127.0.0.1

I've installed Cygwin and OpenSSH server on it. Cygwin version is 2.2.1(0.289/5/3) and OpenSSH version is 7.0p1-1 After some configuration, I can connect on my SSH server with: $ ssh ...
0
votes
1answer
149 views

Running .bat files from PATH in Cygwin

Running .bat files in Cygwin (bash or zsh) works when calling directly. However, if I'm located at a different folder and I call the .bat file by relying on PATH variable, it will say command not ...
0
votes
1answer
707 views

CygWin: grep command shows some “binary file coincidence” message

I have been googling about this, but, maybe due to my spanish version of CygWin/Windows, I have not been able to find a solution. I have latest (December 2014) CygWin 32 bits installed, and it seems ...
0
votes
1answer
26 views

SSH asking for passphrase when none used

I am trying to ssh into a server from cygwin on Windows 7. I created public/private keys using ssh-keygen, and didn't add a passphrase. I then added them to the authorized_keys on the server. When I ...
0
votes
0answers
6 views

Connecting Pidgin to ZNC (Windows)

I'm on Windows 7, and have installed ZNC through Cygwin. I've created a server configuration, and I'm trying to connect a pidgin account to it via these instructions. I keep getting the "SSL ...
1
vote
2answers
28 views

Cygwin shell add context menu item

There's this question on SO: http://stackoverflow.com/questions/9637601/open-cygwin-at-a-specific-folder I want to do something opposite. When using terminal I want to right click and have context ...
4
votes
5answers
1k views

Cygwin Terminal backspace and arrow keys not working

The arrow keys returns A,B,C,D and my backspace key are not working properly . This problem happens only with the vi editor.Is there any way to solve this issue on Cygwin ? I did find possible ...
43
votes
1answer
44k views

Installing Cygwin packages from the command-line [duplicate]

Possible Duplicate: upgrading and installing packages through the cygwin command line? I'm looking for a "yum"-link method to install additional Cygwin packages from the command-line. Let's ...
91
votes
8answers
40k views

Upgrading and installing packages through the Cygwin command line?

I'm a blind computer user that uses Cygwin. The installation program isn't very accessible: upgrading, installing, and removing specific packages is quite hard to do since you have to use simulated ...
1
vote
0answers
12 views

Stop Jenkins from Converting Paths on Windows

I am attempting to run a Windows 8.1 machine as a "dumb slave". I am using Cygwin and SSHD to provide a working environment that functions great when I SSH into this machine. However, I am having ...
0
votes
1answer
27 views

Intellij - Open directory of selected file in Cygwin

In Eclipse, I could use Easy Shell and have a command to open the directory of the selected file in Cygwin. I wonder if it is possible for Intellij. The best I could do so far is use Terminal plugin ...
0
votes
1answer
389 views

Cygwin: alias to Program Files (x86) directory

Using cygwin, I'm trying to create the following alias: alias write="/cygdrive/c/Program Files (x86)/Notepad++/notepad++.exe" When I execute the command to launch notepad++ directly, I have no ...
2
votes
3answers
5k views

Git clone does not work in using cygwin to run git

I was able to 'git clone a repository using 'git clone' in my MS Terminal (the one start by using 'cmd'). git clone git+ssh://michael@103.116.29.18/~/Src/Test But when I do the SAME command under ...
1
vote
5answers
2k views

How do I mount an NTFS image created by GNU NTFSclone on Windows?

How do I mount an NTFS image created by GNU NTFSclone on Windows? Neither the gnuwin32 version of NTFSclone nor Cygwin’s mount seem to be capable.
0
votes
0answers
26 views

Cygwin SFTP server works fine with WinSCP, but Linux client shows “connection reset by peer”

Using Cygwin, I configured an SFTP server on a Windows 7 machine. I can use WinSCP for file transferring from another Windows machine, but when I try to log in to the machine from a Linux machine it ...
2
votes
2answers
419 views

How to exit Windows Python in Cygwin

I have installed Python with the Windows binaries, so I need to type python -i to start Python in Cygwin. And when I exit it I need to write exit(). It is just a minor issue, but I still would like to ...
3
votes
4answers
2k views

How to copy and paste between cygwin's vi/emacs and windows clipboard?

I tried to paste what I copied in windows clipboard into cygwin's vi or emacs, and it doesn't seem to work with yy (vi) or M-w (emacs). Is there a way to do it? I learned that /etc/clipboard has the ...
0
votes
1answer
237 views

Where does Cygwin set the locale ($LANG env var)?

I know that I can use the locale tool and the export LANG=... to set my locale on Cygwin. However, even I don't have %LANG% defined on Windows, when I run bash --login, I notice $LANG is already ...
3
votes
1answer
21 views

How does `chmod +x` work in cygwin?

I just downloaded an executable via cygwin's wget and found I cannot execute it. In cygwin I get $ ./clink_0.4.4_setup.exe -bash: ./clink_0.4.4_setup.exe: Permission denied and when I try to ...
2
votes
2answers
4k 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 ...
0
votes
2answers
7k views

How to move files to hdfs in hadoop using unix command

I have 2 directories "dft" and "hdfs" in the unpacked Hadoop folder. I am trying to copy the file(StartUnit.txt) in dft into hdfs. The corresponding command and exception are as shown below ...
0
votes
1answer
128 views

Changing the HOME for Cygwin

I'm trying to change the home directory for Cygwin on a computer at work. Our home directories mapped to a network share by default. This seems to cause some confusion for Cygwin, as it created a ...
1
vote
1answer
101 views

Installation Root (Cern) v6.00.02 with Cygwin

I have installed Root (Cern). Before calling "root" it is necessary starting the X server (by Cygwin, typing "startx"), to allow Root to use Windows. By "setup-x86_64.exe" I installed Cygwin ...
58
votes
5answers
91k views

How to install new packages on Cygwin?

I installed the latest version of Cygwin with a number of packages. I soon realised that I need more packages (such as wget, etc) and I couldn't find a way to install the new packages without running ...
18
votes
5answers
11k views

“Bad owner or permissions” error using Cygwin's ssh.exe

I'm trying to use ssh.exe in Cygwin (in Windows 7). I copied a config file into c:\cygwin\home\[USERNAME]\.ssh. When I run ssh (for example, ssh -vT git@bitbucket.org) I get the following error: ...
0
votes
2answers
115 views

How do I install Inkscape for use by Cygwin?

I'd like to know if it is possible to install Inkscape for use from the Cygwin command line. I already have Inkscape installed as a program in Windows 7 (64 bit) but Cygwin isn't recognizing inkscape ...
4
votes
6answers
5k views

Setting up SSH/Git on Cygwin yields “Bad permissions on ~/.ssh/config”

I'm attempting to setup Git with OpenSSH under Cygwin. I almost got everything setup. I have the agent and public key and all that.. but now I get this really weird error: $ git pull -u origin master ...
1
vote
1answer
5k 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
34 views

Install older version of gfortran on windows (cygwin x64)

I'm using cygwin 64bit for windows. It offers all the packages you could want in the setup, but I can't find a way to get an older version of a package (gcc fortran compiler in my case). I have ...
7
votes
1answer
1k views

Default permission for new file cygwin on Windows 7

I am using cygwin on Windows 7 professional. When I create new files such as MyNewFile.java it seems to get default permission set to 755. This is not what I want. I want it to be 644 for regular ...
0
votes
1answer
32 views

Windows 7: Introduce commands for the run-command

Given Windows 7, you can press Win+R to open the command prompt. How I introduce short cuts to execute commands? For example, I use Cygwin and would like to open a Cygwin terminal simpy by writing ...
0
votes
0answers
189 views

Vagrant VM mysteriously disappearing after rebooting host

I am running Vagrant on Windows 7. I use cygwin to run Vagrant up and halt, etc... I noticed that if I do a vagrant halt, and then restart my host computer (the physical box), my vagrant VM ...
8
votes
8answers
7k views

How to change the title of the mintty window?

MinTTY is the new default Console for Cygwin. What's a shell command (something I can put in .bashrc, or even better, in .zshrc) to change the title of the MinTTY window ? I'd like the title of the ...
1
vote
3answers
48 views

Unable to delete a file using cygwin shell

I'm trying to delete the file ~$bgka.mod from my current directory in Cygwin shell. When I list all my files in that directory it shows up: $ ls ~$bgka.mod CaBK.mod hcdist.hoc mcdist.hoc ...
0
votes
1answer
31 views

How to use echo in shell command from Makefile?

I have a GNU makefile. It runs fine on Linux, Solaris and OS X. However, under Cygwin-32, Cygwin-64 and MinGW, it produces: /bin/sh: -c: line 0: syntax error near unexpected token `(' /bin/sh: -c: ...
0
votes
1answer
33 views

zip extractor reading archives from stdin

As follows from UNZIP(1L) man page Archives read from standard input are not yet supported Are there another CLI programs running under Linux/cygwin which can extract from zip archives reading ...
1
vote
1answer
21 views

Cygwin, emacs and associate it with a file type on Windows

I want to use Emacs as and editor and shell. On Windows 7 I installed cygwin , X11 and emacs. In terminal I added to /etc/profile file these lines: XWin -multiwindow 2> /dev/null& export ...
0
votes
1answer
375 views

How to install a font onto cygwin terminal

I really like Dejavu font. And I want to make it available on cygwin terminal. But I don't know how to install this font. Can anyone help?
0
votes
0answers
9 views

How to I make the parallels shared folders visible under cygwin ssh sessions?

I do have Windows VM with Cygwin ssh server installed and configured and I am trying to access the host shared folders from ssh sessions. Somehow it seems that even if these folders are mapped in the ...
1
vote
1answer
79 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 ...
0
votes
1answer
85 views

Changed cygwin home location, now the terminal can't find my .minttyrc config file

I had to change the HOME location for Cygwin by setting it to pick up the directory I set in /etc/passwd (following the solution from here). It seems to not be a problem for the majority of my ...
0
votes
0answers
37 views

Accessing rsync folder after windows re-install

I am using cygwin to backup my Debian VPS to my Windows PC. All is fine, but if I re-install Windows I can't access the backup folder until I change the owner of the folder and all its children. ...
1
vote
1answer
57 views

Why doesn't Apache start up automatically?

I have Apache2 running on Cygwin on my Windows 7 computer. It doesn't do much, it just hosts some HTML documentation for my local (firewalled) LAN. Oddly, it doesn't seem to start automatically even ...
0
votes
1answer
18 views

How to force Cygwin's .bash_history to be in custom HOME?

I am using Cygwin (CYGWIN_NT-6.3 2.0.4(0.287/5/3)) with a custom /etc/profile which I use to set the HOME to a personalized path, also, /etc/passwd sets that same path for the [only] user. If I load ...
1
vote
2answers
26 views

How to setup background image on Cygwin?

I am looking for a way to setup a background image on Cygwin. In the options of Cygwin shell Mintty there is no settings available to setup background image. Is there any other way to setup ...
1
vote
3answers
4k views

Color in Cygwin terminal

I've installed cygwin because I'm a bit fed up with the Windows terminal not being great. The only problem I'm having is the lack of colours. You can see the problem in the following 2 screenshots ...