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

learn more… | top users | synonyms

0
votes
0answers
10 views

Problems with locale on cygwin

Trying to mess around with locale in a program. GCC - or rather g++ being the compiler I use - throws an exception. One problem I see is that locale -a lists the suitable locale to use as ...
0
votes
1answer
737 views

SFTP connection is getting closed after password

We have set up Cygwin on Windows 2012 and the services related to the tool are running fine on the server. During installation we have created a local user cyg_server, we tried to create home folder ...
1
vote
2answers
223 views

Why does cygwin sha512 create different checksums depending on terminal?

I'm using Windows 7 and have both Cygwin and the ming-based Git command line tool. When I issue the command: c:\>echo -n hello | e:\cygwin\bin\sha512sum from the Windows cmd, it generates ...
1
vote
3answers
90 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 ...
1
vote
2answers
256 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 ...
0
votes
1answer
228 views

Failing to compile Putty for Windows on Ubuntu

I am trying to compile putty for windows on ubuntu 14.04. got the source from here: http://the.earth.li/~sgtatham/putty/latest/putty-0.63.tar.gz This is what I did until I got the error: ...
0
votes
1answer
191 views

How to run X/Cygwin without first running cygwin.bat?

To run any GUI program, I need first run a startxwin, which has no EXE extension. So I need first run cygwin.bat. startxwin only starts GUI terminal by default, so I am obliged to run 2 intermediate ...
0
votes
0answers
21 views

Bash/Cygwin synchronize two directories

I have small problem with synchronization of two git repositories. In first directory for example localRepo is only two subdirectories: localRepo/ dirA/ dirA1/ ...
0
votes
1answer
111 views

cygwin on win7 x64 takes long time to respond

I recently got a new PC(laptop) and installed cygwin on it, latest version as of today. For some reason cygwin behaves strangely. When i open the cygwin console or when i type commands in regular ...
0
votes
0answers
257 views

Windows 10 Technical Preview: running custom commands

I have recently installed the Windows 10 Technical Preview and like using unix in my terminal. When I had Windows 8 I used a very lightweight application called gow that installed a few unix commands ...
0
votes
1answer
63 views

Bash Scrolling Output Cygwin

My apologies if this has been asked before but I did my best to find it beforehand. I have a bash script like so: #!/bin/sh <Appropriate variables here> lftp -c "open -p $port -u $login,$pass ...
2
votes
1answer
2k views

Cygwin from Windows very slow/ laggy

Suddenly all Cygwin commands I start from the Windows command line have a ~10-20 second lag before they execute. So that Cygwin becomes totally unusable, I already tried to reinstall without success. ...
2
votes
2answers
323 views

How can I install pygame on python with cygwin? [duplicate]

I cannot install pygame on cygwin properly. I tried to follow that old doc , http://msdl.cs.mcgill.ca/people/tfeng/svmsccdoc/node49.html, but it doesn't work. Worse issue is SDL not be able to ...
0
votes
2answers
240 views

How can I install pygame on python with cygwin?

I cannot install pygame on cygwin properly. I tried to follow this old doc http://msdl.cs.mcgill.ca/people/tfeng/svmsccdoc/node49.html but it doesn't work.
1
vote
1answer
216 views

Can't connect with OpenSSH sftp with custom port

I am using Cygwin on Windows 7. I have installed OpenSSH client and i am using it connect to Ubuntu server installed on virtualbox through localhost. I am connecting through ssh with this command: ...
0
votes
2answers
200 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 ...
2
votes
0answers
188 views

Tmux copy the selection to /dev/clipboard wiithout key-mapping

Many answers related to this topic suggest to map Ctrl+y to a command that pipes tmux show-buffer to xclip. In the specific case of cygwin, the correct way to interract with the Windows clipboard is ...
2
votes
1answer
39 views

cygwin does not use $HOME as home [closed]

On my Windows system, I have set the HOME environment to %USERPROFILE% which is my current Windows user home directory. After I started the cygwin terminal, I can see my cygwin HOME is ...
2
votes
0answers
334 views

OpenSSH without password does not work Cygwin Windows 7

I've tried several ways to install openssh without password but it does not work. With password it works fine! (Cygwin, Windows7 32Bit) First I did it like execute ssh command without password? ...
1
vote
1answer
2k views

SSH client not found on cygwin64?

I startup the cygwin bash prompt using the batch script but there is no ssh command. How do I setup an SSH client in cygwin64?
0
votes
0answers
36 views

openssh slower in windows 7 than linux

I can acces to a ssh server. My client ssh is on a dual-boot machine: windows 7 and ubuntu 14.10 With ubuntu, I can download at the speed of 190 ko/s in average (my connection is 2 Mb). Even better, ...
0
votes
2answers
260 views

cwRsync permissions on external drive

I'm having problem using cwrsync to backup my data to an external drive as no data can't be opened on other computers because of permissions cwrsync sets. This is my backup batch script: @ECHO OFF ...
1
vote
0answers
460 views

Jenkins failed to locate Cygwin

my Jenkins job fails as it gives this error message: hudson.util.IOException2: Failed to locate Cygwin installation. Is Cygwin installed? at ...
0
votes
1answer
32 views

Cygwin uses Windows commands

I'd like to build a a library with Cygwin. I've installed Cygwin on Windows 8.1 and added it to the windows's path. I still get this error: Cygwin still want to start Windows' FIND command ...
0
votes
1answer
148 views

Is there a way to create a /dev/clipboard like in Cygwin?

This answer says, that Cygwin features a /dev/clipboard device, that's in sync with the default Windows clipboard. Is there any way to have that same feature in Linux for the Primary clipboard? ...
1
vote
1answer
670 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 ...
0
votes
1answer
52 views

Can SSD boost the speed of Cygwin?

Anyone knows if installing a SSD drive can speed up Cygwin in Windows? Cygwin is essential to my daily work and for some reason I cannot switch to Linux. But the slowness of Cygwin really bugs me. ...
0
votes
2answers
81 views

malformed file name on disk to be deleted

In my desktop folder I do have a directory called 'final_year_project_cd'. Inside that directory I do have this file with following file name. ...
0
votes
0answers
45 views

appying dos2unix on all files under folder

I am trying to appply dos2unix on all files. find $WORKSPACE/itrp-sr -type f -exec unix2dos.exe {} \; but is resulting in an error 1 [main] find 3468 fork: child -1 - forked process 4524 died ...
0
votes
1answer
64 views

Is there any way to have Cygwin tools in PATH without them replacing Windows commands?

I would like to be able to use GDB, GCC and such straight out of a windows command prompt, so I put my Cygwin bin directory in my Windows path. Problem is that Cygwin programs now take priority over ...
-3
votes
2answers
239 views

CYGWIN on windows 2008R2

we have configured CYGWIN on windows 2008R2 and the services are started when we try to connect from outside to the server it is giving the below error. $ sftp 501226742@tnwp010457.psamer.ps.ge.com ...
1
vote
0answers
38 views

Console window needs to be resized before launching VIM in SSH session [closed]

So I installed git-scm and am using the bundled cygwin ssh (as far as I can tell) program that comes with it. The maximum height of my VIM window is limited to the height of my console window PRIOR to ...
0
votes
3answers
203 views

What's the Bash equivalent of “cmd /c”

I'm trying to launch a Bash Shell window that should immediately start a Windows Application. It's the Bash Equivalent of "cmd /c MyApplication.exe". MyApplication is a Windows Console application. I ...
1
vote
1answer
777 views

wget missing from cygwin install

I was trying to install oh-my-zsh and found an article requiring 'wget' to do that. My install of cygwin64 on Windows 7 did not contain 'wget' -- I searched for it in the search filter of the setup ...
0
votes
1answer
498 views

How to set up a working ssh server on Windows 7 that accepts public keys

What I actually wants it to make it possible to use rsync from an Unix server to backup files on a Windows 7 Ultimate computer. It need to use public keys unattended and I want Unix-style directory ...
0
votes
2answers
598 views

Exit code 127 in cygwin64

After years without problems, suddenly several programs in my installation of cygwin64 on 64-bit Windows 7 Professional are failing to run, and instead appear to exit immediately with code 127, which ...
1
vote
1answer
235 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
93 views

connection to cygwin sshd auto connection after log in

I install the sshd service in cygwin successfully, but when I log in to the ssh server, the connection is auto closed. I tried to execute the date command and it didn't output the result. I also ...
2
votes
1answer
359 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
0answers
54 views

need to start GUI program in Windows through ssh [closed]

I need to start a GUI application in windows machine via ssh. But the problem is when I am using some ssh server this application is running in background. I used freesshd server, which running in ...
0
votes
1answer
288 views

conemu multiple bash cygwin ssh

I just want to know how to have multiple tabs logged in to a server via ssh to for example ssh user1@1.1.1.1 for a tab named server1 (to some particular folder location) and ssh user2@2.2.2.2 for a ...
0
votes
0answers
31 views

How can I transplant my Cygwin installation to another machine/architectureI?

The specific problem I have is this: I have an old (but up-to-date) Cygwin 32-bit installation that has evolved over the past ten years or so. I want to move to a 64-bit Cygwin, with the same ...
0
votes
1answer
855 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 ...
0
votes
0answers
118 views

32bit and 64bit Cygwin sshd services on the same machine

I have Windows 7 station and I would like to have two running sshd services: ssh daemon for 32bit Cygwin ssh daemon for 64bit Cygwin I installed 32bit Cygwin sshd using setup script ...
1
vote
0answers
99 views

Cygwin (and Putty) special keys not working

TL;DR: Cygwin sends like 3D instead of alt+arrow and such. I've been using Cygwin for years now to ssh into my server. I'm always struggling with GNU Screen's uncomfortable window handling and a few ...
0
votes
1answer
650 views

Jenkins SSH Windows node bash error

I have Jenkins server for continuous integration and I want to add another node. Node is Win 7 station which runs Bitvise SSH server. On that Win 7 station is installed Cygwin 32 AND 64 bit (for ...
0
votes
1answer
1k 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 ...
1
vote
1answer
3k views

Can CygWin 64 bits compile 32 bits sources?

I am trying to compile on CygWin 64 bits the (presumed) 32 bits wake on lan tool here created by Thomas Krennwallner, supposed to compile on Unix and Windows under CygWin. After download I did: ...
7
votes
5answers
3k 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 ...
0
votes
1answer
21 views

accessing EC2 instance from cygwin

I should follow these instruction to connect to my EC2 instance with cygwin : $ cd ~ $ cp /cygdrive/c/Users/JohnSmith/Downloads/cs184-john-stanford-edu.pem . $ chgrp Users ...