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

learn more… | top users | synonyms

0
votes
0answers
2 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
0answers
23 views

SFTP connection is getting closed after password

We have setup 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
votes
0answers
16 views

How to include header file in cygwin [migrated]

I have a base class,A, (in C++) and want to have another class, B, that inherits class A. class A{ public: int n; A(){n=0;} void Test(int m); }; class B:public A{ public: int func(); }; I have ...
-1
votes
0answers
15 views

Is there a plugin for VIM to popup the html in a Browser quickly? [on hold]

Is there a plugin for VIM to popup the HTML in a browser quickly? If there is a similar thing for cygwin, that would be useful too.
0
votes
0answers
7 views

Open windows gui applications through ssh with x forwarding

I have a cygwin sshd server set up on a windows computer and want to start a windows application (like notepad.exe) through ssh using x11 forwarding, i.e. I want to connect from windows computer a to ...
0
votes
1answer
15 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
24 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
1answer
21 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
26 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
17 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 ...
-1
votes
0answers
39 views

Command not found in a remote SSH terminal, but works in a local cygwin terminal

I am trying to execute a batch command on a XP machine from Windows 7 using PuTTY. If I am on the XP machine everything works fine using the Cygwin terminal. The batch executes. Using PuTTY I get a ...
0
votes
0answers
8 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
27 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 ...
-2
votes
0answers
19 views

Windows 8.1: move/rename online-only files in OneDrive from a Cygwin shell

I'm trying to batch rename some online-only files in OneDrive from a Cygwin shell (with a beefed-up version of Larry Wall's rename script, in case you're interested). That won't work; I figured that ...
0
votes
0answers
48 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
48 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 ...
1
vote
1answer
62 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
3answers
24 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
46 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
24 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
27 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 ...
0
votes
0answers
21 views

CygWin SSHD: Administrators have no permissions/ownership over new files

I have CygWin 64 bits (updated to January 2015) with SSHD installed. If I create a new file in Windows 7 SP1 shell: cmd echo "Test" > Test.txt Those are the permissions for Test.txt file: But ...
0
votes
0answers
9 views

How to compile predictive mode using Gow instead of Cygwin on Windows?

I want to install the predictive mode for latex in Emacs editor. Since I have windows so I should have the make utility available. I don't want to install the fussy Cygwin (over 100MB), but the much ...
0
votes
0answers
13 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 ...
-1
votes
0answers
41 views

OpenSSH for windows using /cygdrive/g/.ssh as home folder

My problem is simple. I just installed OpenSSH ( I also have cygwin, but I need to have the windows command line ssh.exe working ) . When doing ssh -T git@github.com I see that ssh.exe is trying to ...
2
votes
1answer
15 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 ...
0
votes
0answers
26 views

copying files from one server to another windows

I have a script where I login to a windows 7 machine(Let's call it A) using SSH. In my SSH session, I am trying to copy files from a share(Let's call it B) to A. I've used cygwin on machine A for ssh ...
1
vote
0answers
52 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? ...
0
votes
0answers
22 views

Installing programs downloaded via wget in Cygwin

I've just gained the ability to download files on my PC using wget running in Cygwin on my Windows 7 PC. The problem is that whenever I go to C:\cygwin64\home\Brenton where these saved files are ...
0
votes
1answer
34 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
15 views

Cygwin Alt-x not working… but other Alt- keys are fine

I like to use alt-x in tmux for copy-mode. This is fine on my Linux machine, but in Windows' Cygwin's xterm the Alt-x key does nothing. I used AutoHotkey to check that other Windows applications can ...
0
votes
0answers
26 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
42 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
63 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
22 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
31 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? ...
0
votes
1answer
29 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
21 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
38 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
26 views

I have created a symbolic link I can't delete (command line OS X, windows share)

By accidental use of the ln command I have created a symbolic link file which I can't delete. It's on a Samba share I have access to. I have tried deleting it in various ways, command line, mouse ...
0
votes
0answers
15 views

Cygwin's timestamps are all off

My system time is set for CST, America/Chicago. It is currently 11:38 AM CST, 17:38 UTC, on 2014-01-08. It also affects ls, and any other program. I believe am running into time zone conversion ...
0
votes
0answers
29 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
30 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 ...
-1
votes
1answer
33 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
27 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
56 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 ...
0
votes
0answers
43 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 ...
1
vote
1answer
32 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
0answers
16 views

TIME of process not listed in ps on Cygwin

I am trying to find the TIME of a process which you would normally find in ps on a Unix based system but instead on Cygwin there is STIME which surely is not the same thing; I've tried to google for ...
0
votes
1answer
98 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 ...