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

learn more… | top users | synonyms

0
votes
0answers
4 views

Should I use Cygwin Terminal and Cygwin Bash Shell?

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 ...
-3
votes
0answers
22 views

Why does windows not come with a Bash shell? [on hold]

A bash shell is a pretty standard feature of a modern operating system but it is not part of Windows? Missing this is like missing a internet browser and makes a huge portion of work impossible. I ...
0
votes
1answer
5 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
20 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
29 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
10 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
8 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
9 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
25 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
13 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
15 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
9 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
18 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
9 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
25 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
27 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
16 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
1answer
35 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
16 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
44 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
30 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
20 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
16 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
70 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
17 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
11 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
20 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 ...
1
vote
1answer
56 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
42 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
18 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
47 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
28 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
19 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
35 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
25 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
17 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
35 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
61 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
75 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
37 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... ...
0
votes
0answers
62 views

android.bat is not recognized as an internal or external command

I have setup up the environment for cocos2d-x. I have edited the create-android-project.bat file according to my Cygwin, SDK and NDK locations. Now when I try to create a new cocos2d-x project double ...
0
votes
0answers
49 views

Virt-manager on Windows Desktop

I have a KVM host and would like to manage guest via the virtual machine manager on a Windows machine. I have been looking around on the Internet and some suggestions include using Xming and Putty ...
0
votes
1answer
45 views

ssh between cygwin and debian wheezy

I am trying to connect desktop(win7 x64) and note (debian wheezy x32). Made standard install of ssh cygwin and debian. Created pub-key and moved via usbflash it to ~/.ssh/authorizwd_keys and to ...
0
votes
0answers
32 views

Slow screen redrawing in terminal emulator

I use a modified PuTTY (PuTTY Tray, derived from PuTTYcyg) to connect to my Cygwin's login shell (zsh), on Windows 7 (64-bit). This works, but the screen refreshing is very slow. For example, when I ...
0
votes
1answer
53 views

Windows Vim symlink config file persistent error

I'm trying to configure the native Windows Vim/gVim and the Cygwin Vim/gVim to behave nicely together. To this end, I created symlinks, ~/.vimrc and C:\Users\<myusername>\_vimrc, that both point ...
0
votes
0answers
17 views

What are the filesystem implications of using the SYSTEM account and cygwin in Windows?

I have found something very peculiar while working with the SYSTEM user session. For cygwin some files are there, for Windows, some of them are not. What I find most interesting is that "touch" will ...
1
vote
1answer
21 views

less command is unable to show pdf file in cygwin/mingw

I use less to read pdf in linux. While either in mingw or cygwin, less is unable to show pdf in the right way. looks encoding issue. Any help? thank you!
0
votes
1answer
35 views

Is there a way to show windows processes in Cygwin constantly

I would like to monitor processes from a cygwin shell, using top or a variant. The reason for this is its realtime reporting and constant updates. However under cygwin, top will not report on windows ...
0
votes
0answers
18 views

Cygwin broke something when trying to install new software

I was trying to install some OpenGL libraries and something strange happened so I stopped the update. Now, when I use cygwin, ls doesn't work and whenever I open up a new terminal window I get my ...