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

learn more… | top users | synonyms

0
votes
0answers
43 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 ...
1
vote
2answers
840 views

Locking down SFTP user in cygwin

I set up a user to ssh to Windows Server 2008 R2. I was able to change de default directory. The only piece I could not figure out is how to restrict user to just that directory. In other word I ...
-1
votes
1answer
48 views

Creating a shell script to compress files using Cygwin [closed]

I've got a minor project wherein I'm to create a few shell scripts in Windows and run them through Cygwin for Linux files. At least that's how it was described to me. Any suggestions would be great.
0
votes
0answers
40 views

My Fortran files are not executing in Cygwin terminal command

I could able to exe fortran file in CYGWIN TERMINAL COMMAND.It's showing the following error. 1.$ cd d: 2.$ cd workspace/practice 3.$ ls Debug first.f90 4.$ gfortran first.f90 -o fir Assembler ...
0
votes
0answers
146 views

Sublime Text 3 - Use Cygwin instead of cmd for build systems

I just installed Cygwin and would like to use that for ST3's build system instead of CMD. I can't seem to find good documentation about it. Anyone have any ideas?
0
votes
1answer
67 views

How can I keep my gpg private key on removable media in Windows?

I use GPG through Cygwin on Windows. I don't want to store my key on my laptop as a convenient file for a casual tech-savvy thief to grab if they steal the machine, so I'd like to keep it on a USB ...
1
vote
0answers
21 views

How to refer to absolute paths in fish?

I'm trying to get fish to recognize an absolute path, either when changing directories or when giving an input to a program. I'm used to typing an absolute path as "C:/..." but in fish the only way I ...
0
votes
1answer
56 views

Set up Cygwin with Python executables

I have a Windows 8 laptop on which I have used Python for some time. I have both 3.3 and 2.7 installed, along with several libraries. I recently installed Cygwin, and am enjoying it immensely. I ...
2
votes
2answers
1k views

Can't vagrant install a plugin: gem dependency fails despite being installed

I am attempting to install the vagrant-vbguest plugin in Windows 7 from within cygwin 64. $ vagrant plugin install vagrant-vbguest Installing the 'vagrant-vbguest' plugin. This can take a few ...
0
votes
0answers
43 views

Default permissions on a Samba share from Cygwin not respected

I have a samba share on a Linux machine (Ubuntu 12.04) set up with the following config: [share] comment = Share read only = no browsable = yes writable = yes path = /mnt/hdd/share ...
1
vote
1answer
211 views

How to make the cygwin fontconfig package inherit Windows fonts?

I'm using a cygwin64 build of ffmpeg (1, 2) to burn subtitles into a video file as follows: $ ffmpeg -i file.mp4 -vf subtitles=file.srt file.ts ffmpeg version 1.2.3 Copyright (c) 2000-2013 the FFmpeg ...
0
votes
0answers
30 views

cygwin programs returning errorcode -1073741819 on Windows 7 cmd

Sometime in the last week or so none of my cygwin programs are running from the cmd shell of Windows 7 64-bit. Tried rebooting and reinstalling fresh, but with same results. After further analysis, ...
0
votes
1answer
131 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
3answers
198 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 ...
5
votes
2answers
1k 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
108 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: ➜ ...
2
votes
1answer
42 views

Math extension in mediawiki on windows

I want to put some mathematical formulas in a mediawiki install on a local WAMP server. I'm currently trying to install the math extension but I can't get it to work. I've followed the instructions ...
0
votes
0answers
31 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 ...
1
vote
0answers
113 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 ...
1
vote
2answers
120 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 ...
0
votes
0answers
31 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
402 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
139 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
34 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
52 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
29 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
32 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
15 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
309 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
133 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
116 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
62 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
102 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
33 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 ...
0
votes
1answer
207 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
1answer
67 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
163 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
81 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
78 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
290 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 ...
1
vote
0answers
114 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
40 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 ...
1
vote
2answers
416 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
22 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
29 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
32 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
2answers
485 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
88 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 ...
3
votes
1answer
148 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
80 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 ...