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

learn more… | top users | synonyms

-1
votes
0answers
13 views

Cygwin sshd: Could not load host key

This is my first install of the cygwin in windows xp. How can I solve this problem? cat /var/log/sshd.log Could not load host key: /etc/ssh_host_key Could not load host key: /etc/ssh_host_rsa_key ...
0
votes
1answer
16 views

How can I get more information from Curl regarding a FTP 425 “Cannot open data connection” error?

I am trying to upload a file with the following line: curl -3 --ftp-pasv --ftp-ssl-control -v -i -T ./mybigfile.gz ftp://lawrence@mecloud.xxxxxxx.co.uk:21/OnlineBackup/Lawrence/ --insecure -u ...
0
votes
2answers
25 views

CygWin rSync can't access file folder on Windows 7 with Vagrant

Facts- Machine is connected to domain User is a domain user Windows 7 running Cygwin with SSH / Rsync set up multiple times Running the rsync command from Cygwin finds the directory "c:\code" just ...
4
votes
2answers
590 views

How can I remove or deactivate the Windows system32/find.exe?

I am trying to make my Windows System as compatible with existing Makefiles as possible. One great step that is missing is replacing the windows "find" (which is the same as grep) with the GNU find ...
0
votes
1answer
18 views

Trouble Installing SSH with Cygwin

I'm using Cygwin (or more specifically zsh installed via Cygwin) and I've installed all of the ssh packages including Net/openssh, but when I try to run ssh (or things like ssh-host-config) I get: ➜ ...
0
votes
0answers
8 views

Error in Creating Android Project Using Cocos2d

When i am trying to create the project using cocos2dx i am getting this error of cygwin.Even though my path is correct for cygwin which is C:\cygwin\bin.My project is created but it is missing few ...
0
votes
0answers
14 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
1answer
21 views

Cygwin to execute windows shortcut files (.LNK)

I use Cygwin as my cmd replacement on Windows and I am in the process of cleaning up my system PATH variable. I now have a folder containing exe's and shortcuts (.LNK) files which is in PATH ...
-1
votes
0answers
13 views

Grace for windows XP to display the results of BEAMnrc

i have downloaded the cygwin and when I want open the link in desktop of this program, a black screen appears, but any information appears just the name of my computer. therefor I have download ...
0
votes
0answers
8 views

surface errors when trying to install cairo

I should say that i am just starting to learn to use the command line so probably iam just doing something wrong. I was trying to compile the cairo lib from source, and did everything very carefully: ...
2
votes
2answers
67 views

Should I use Cygwin Terminal and Cygwin Bash Shell or cygwin.bat?

I want to use Cygwin as a replacement to cmd.exe on Windows. When I search my Windows PC for Cygwin, I see two Cygwin programs that I can use... Cygwin Terminal runs C:\cygwin\bin\mintty.exe ...
0
votes
1answer
21 views

Tried Installing ZSH through cygwin and then trying to use zsh through Cmder

I tried to install Cygwin (64 bit version) on my computer, and it went through hunky-dory until at the very end, autorebase.bat failed with exit code 1. I read through the logs and they weren't too ...
0
votes
0answers
25 views

How to grep diacritics with pdfgrep

I just install pdfgrep on my win server 2012 using cgywin and it's work fine except for special chars with diacritics, when I type: pdfgrep -i -H -c -r "confirme" ...
1
vote
0answers
34 views

popd and pushd behavior with “-n” option

I've been experimenting with pushd and popd in bash (Cygwin, man page says "GNU bash 4.1") and the man page doesn't quite seem to match the behavior. For pushd, the command % pushd +1 both ...
0
votes
1answer
17 views

cygwin USER and USERNAME are different

I changed an account on a Windows 7 machine from 'user' to my own name, and after rebooting, my name is the value of the environment variable USERNAME. But USER is still set to 'user'. How do I ...
0
votes
0answers
15 views

Cygwin “boxes” command reports “bad address”

I've recently installed Cygwin (1.7.30) on Windows 7 (both 64 bit). Seems all ok, except for this: $ echo test | boxes boxes: Bad address How can I fix this?
0
votes
0answers
11 views

Supply ssh key without querying agent

In my ssh_config, I set IdentityFile and IdentitiesOnly yes and ForwardAgent no. ssh uses this key but it still queries the agent! But it shouldn't do that; I explicitely supply the key I want. The ...
2
votes
0answers
49 views

Error message while connecting to EC2 instance via Cygwin

I am trying to connect my EC2 instance using the directions my instructor provided below: "To connect to EC2 via Cygwin on Windows, you need to handle two key idiosyncrasies. First, the Windows ...
1
vote
1answer
21 views

Trouble creating real NTFS links using Cygwin

I have administrator privileges and would like Cygwin's ln -s to make NTFS links instead of the fake !<symlink> files that only Cygwin understands. I tried the following, based on Cygwin ...
0
votes
1answer
27 views

how come git bash can call java tools (xjc.exe) with unix paths but not cygwin?

From CMD.exe, I can run xjc as follows: xjc "c:/schema.xsd" -p abc -d "temp" From git Bash, I can run xjc as follows: xjc "/c/schema.xsd" -p abc -d "temp" As far as Cygwin goes, I can get it ...
1
vote
0answers
21 views

tmux: Page Up/Down in Cygwin

Unfortunately it seems like the normal C-b > PgUp or C-b > ctrl+arrows aren't working; instead, I'm just seeing the characters 5~ be printed whenever I C-b and then try to use PgUp. Even mouse mode ...
0
votes
0answers
27 views

chgrp and chmod not working in cygwin (windows 8)

I work in "C:\Users\leyou.ssh" I need to chmod id_rsa to 600 as it's currently 644, but it has no effect. Hence I tried "chgrp Users id_rsa" but it doesn't work neither and the group remains as ...
0
votes
0answers
11 views

cygwin's chmod behaves as working, but it does not work

My Cygwin installation is behaving strangely: chmod does not work. [09:45 Administrator@DellIns14 ~] > ls -ls /usr/bin/chmod 64K -rwxr-xr-x 1 Administrator None 38K Feb 6 2012 /usr/bin/chmod ...
1
vote
0answers
27 views

Starting with python [closed]

I have been an open-source user for many years. I am trying to get up to speed with python. Most open-source tools are like the Borg - massive, complex, and impenetrable to the outsider, but seem to ...
0
votes
1answer
44 views

Do I have to manually update my PATH in Cygwin shells?

I use Cygwin on Windows 7. I'm not really a Windows user, so it's already a little inconvenient for me to have to have this extra layer in between my OS and Zsh, my shell of choice. Now, I frequently ...
0
votes
0answers
21 views

curl bails on download in cygwin but not os x

I'm trying to download a copy of a postgresql db from Amazon S3 in cygwin. But it yields zero's across the board yielding a useless file. This is my curl command: curl `heroku.bat pgbackups:url` -o ...
0
votes
2answers
56 views

Windows 7 and CYGWIN ssh login trouble

I have two PC's both running Windows 7 (64 bit). I installed CYGWIN (64 bit) on them today simply for the SSH functionality. (I want to use a file sync program called Unison and Unison recommends the ...
0
votes
0answers
22 views

How to run an script using cron in Windows 7 using cygwin?

I have installed all the dependencies in cron. My scripts are working properly, and also I have tested cron which I think works properly as well. However, I would like to set up a task to run a script ...
0
votes
2answers
51 views

SSH'd (via Cygwin) vim to write to local file

Okay, so I'm trying to solve the problem of getting the contents of a yanked register from a SSH'd session in Vim, to go to the Windows clipboard. Here's the scenario: SSH into development ...
0
votes
1answer
43 views

how to verify the validity of the binary using the public key?

I want to install Cygwin-64 ,when i go to download page ,some information tells me: Run setup-x86_64.exe any time you want to update or install a Cygwin package for 64-bit windows. The signature for ...
0
votes
0answers
31 views

Windows exe, bat, cmd not launching under cygwin /MobaXterm unless extension explicitly provided

I am using a preconfigured cygwin that is packaged into the MobaXterm product. Following is an example of the issue I am facing: $ sbt package /usr/bin/bash: /drives/c/apps/sbt/bin/sbt: No such ...
0
votes
1answer
21 views

MSysGit is adding a cygwin prefix to non-cygwin paths and then failing to find its current directory

I've had Cygwin's git installed on my Windows 7 64 bit machine and it's been working fine. However, I've found myself wanting to be able to use git from non-Cygwin programs (in particular, Windows ...
0
votes
1answer
108 views

How to use Console2 with tmux

I am able to start tmux using the mintty terminal included with cygwin. However, when using Console2 (running on 64-bit windows 7 and using C:\cygwin64\bin\bash.exe as the shell), I get the following ...
-2
votes
1answer
19 views

Could you please run the following code and suggest how to get rid of the error occurring? I'm running the code on cygwin [closed]

#!/bin/bash/ lpd_factor=1 beam_radius=.01 defocus=0 power=1000 weld_speed=1.5 while [ `echo "$beam_radius<=.05"|bc -l` == 1 ] do lpd_factor=1 while [ `echo "$lpd_factor<=3"|bc -l` == 1 ] ...
0
votes
0answers
16 views

Cygwin layout properties not saving

Every time I try to set the column width or font size in cygwin terminal it tells me that it is Unable to modify the shortcut: . Check to make sure it has not been deleted or renamed. It is a ...
0
votes
1answer
22 views

Transfer to a remote machine, trouble with hostname

I'm connected to a remote host via SSH, I've read the rsync page and I understood that to transfer a file from my local machine to the remote host I have to do rsync myHostname:path/to/file ...
2
votes
1answer
109 views

Cannot install matplotlib in cygwin (freetype issue)

It would be really nice to have matplotlib in my cygwin environment. I have 64-bit Windows 8 with 64-bit cygwin. When I type: pip install matplotlib I get whe following error message: * The ...
0
votes
0answers
56 views

Enable ssh connection on windows server 2008

I am trying to ssh in windows to some windows server 2008 using cygwin but I got following error: $ ssh -v works780@172.26.33.203 OpenSSH_6.6.1, OpenSSL 1.0.1h 5 Jun 2014 debug1: Reading ...
1
vote
1answer
24 views

Wildcard argument to cygwin utility

Command ls "myfolder" does its job, listing csv files inside the folder. Yet ls "myfolder/*.csv" -> No such file or directory because ls "myfolder/*" -> No such file or directory and ls ...
0
votes
1answer
49 views

Lowercase L key does not work in cygwin terminal

This is probably the weirdest software problem I have ever come across. When I press L key in cygwin command line I see no reaction whatsoever. All other buttons on the keyboard work perfectly. In ...
1
vote
1answer
35 views

Speeding up explorer.exe global shortcuts [duplicate]

I'm running Cygwin on windows with cmder as a terminal for zsh. The way I got it to be a bit similar to what my linux setup has is I placed a shotcut (.lnk) on my desktop with a keyboard shortcut ...
0
votes
0answers
24 views

Unable to connect to Cygwin from Mac OS X by ssh

I've started ssh server on Windows 7 using Cywgin and I'm trying to connect to it by ssh from Mac OS X Mavericks. It fails with next error: ./ssh username@hostname -v OpenSSH_6.6, OpenSSL ...
1
vote
2answers
51 views

How can I run msiexec from cygwin to unpack a msi?

I need to unpack (not execute, unpack) a msi in a cygwin makefile. If I invoke from the windows command prompt the following msiexec /a package.msi /qn TARGETDIR=C:\foo The package is correctly ...
0
votes
1answer
31 views

How to open multiple Mintty windows in Windows 8? [duplicate]

When I click Mintty's shortcut, it opens, if I click it again, it just returns focus to the window it had opened earlier. This is the shortcut's command I am using (I came to use it because it avoids ...
0
votes
1answer
20 views

cygwin basic command trouble

I'm using Cygwin to simulate Linux environment on my Windows 7 machine for learning some basic commands and functions. Right now, I am just practicing moving through directories and different file ...
1
vote
1answer
39 views

Can I use Cygwin as a replacement for Ubuntu, for bash script testing?

Next wednesday i'm having an exam on Operating Systems. In this exam there will also be a part bash-scripting. The teacher itself will test the scripts in a Virtual Machine running Ubuntu. Myself, ...
0
votes
1answer
119 views

Using Cygwin to run nginx on Windows

Is it possible to run a Linux installation of nginx from Cygwin? Or should I run the Windows version? Basically I want to be able to restart Cygwin from command prompt instead of having to end the ...
0
votes
1answer
76 views

Cygwin vim doesn't load files in runtimepath

I created a custom syntax file, and but none of the files in $VIMRUNTIME seem to load. I followed these pieces of the documentation: http://vimdoc.sourceforge.net/htmldoc/filetype.html#new-filetype ...
7
votes
5answers
1k views

Cygwin tmux: “failed to connect to server: No error”

Just as the title says, whenever I try to start tmux in Cygwin 64-bit (Win7), with any or no arguments besides --help, I get the following error: $ tmux failed to connect to server: No error I ...
-1
votes
1answer
45 views

Chocolatey install of Cygwin keeps looping through sites?

So I have been trying to install Cygwin via chocolatey here, using: cinst Cygwin However, I get this screen which just goes through different sites, and keeps 'failing'. Now I am concerned... ...