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

learn more… | top users | synonyms

1
vote
2answers
67 views

Run a command in another cygwin window and not exit

From current cygwin shell, I want to run a command(say, pwd) in another cygwin window, I use: cygstart /bin/bash pwd It did spawn a new cygwin window but close immediately. I want the window is ...
0
votes
0answers
7 views

Cygwin fish mutiline prompt

I've got a multiline prompt in fish which works fine on Ubuntu, but not on Cygwin. Each time I press a button the prompt is reprinted except for the last line. My guess is that cygwin deletes the ...
2
votes
0answers
33 views

Windows 7, repetition of audio tick.wav, like those Unix guys can do, from other application.

At org-pomodoro_resources at master · lolownia_org-pomodoro · GitHub / resources, there is a tick.wav file, to be played repetitively, from Emacs. I have tried start, wmplayer, vlc, play (sox), and ...
0
votes
0answers
33 views

Windows - can't get Unison to run on Windows (bash: unison: command not found)

Windows 7 64 bit Hi, I installed cygwin and ssh and some other packages along with it. I also downloaded Unison and copied it to folders in c:\Program Files\Unison and added that path to the ...
0
votes
0answers
88 views

vim (7.4) command line does not display on win8.1 64 bit

The vim (7.4) command line does not display on win8.1 64 bit in mintty, rxvt, or command prompt windows. I am using the same config files on win8.1 as on win7, where vim displays correctly (same ...
1
vote
1answer
26 views

How can I tell if my script is being run in elevated mode?

This is mainly to change the prompt for elevated shells in Cygwin. I need to know a fast command of either Windows or Cygwin that tells me whether i'm elevated in Windows 7.
0
votes
1answer
127 views

“mkdir: cannot create directory '/cygdrive/c/WINDOWS/system32/config' [..] Setting HOME to /tmp” when starting Cygwin's terminal

Suddenly I've been getting the following error when starting up Cygwin's terminal: mkdir: cannot create directory '/cygdrive/c/WINDOWS/system32/config': Permission denied ...
2
votes
1answer
53 views

Windows lpr implementation not finding printer

I'm trying to port a linux program to windows 7, that receives an lpr command from a websocket and sends the command to a local vinyl cutter. The windows lpr implementation is different and there is ...
4
votes
0answers
52 views

Does Cygwin support hard links in Windows 8?

I'm working on a backup script that behaves like TimeMachine and uses RSync with --link-dest to create hardlinks to unchanged files. If I run this on a *Nix-based system, of course it works as ...
-1
votes
1answer
162 views

Cygwin grep, no such file or directory

This is the first time I'm using Cygwin and I have not so much experience with scripts. I'm trying to grep words out of a XML document and need to get them counted. When I press enter I get a ...
0
votes
2answers
65 views

cmd cannot execute file inside of /cygdrive/c/

I am running a Ruby on Rails application - inside the app there is a Ruby Gem I've loaded which determines the location of an executable file called pngcrush. The way it does this is that it runs the ...
0
votes
1answer
525 views

Mounting NFS in Cygwin

I successfully managed to mount an NSF export at a local folder as a mount point. I can type ls and see the remote content. However, I do not see any remote files in Explorer - It is blank. What am I ...
0
votes
0answers
31 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
432 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
37 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
34 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
128 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
55 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
19 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
40 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 ...
1
vote
2answers
566 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
37 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
135 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
25 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
99 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
154 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
926 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
105 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
35 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
25 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
99 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
77 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
26 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
264 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
106 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
31 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
50 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
26 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
29 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
272 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
75 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
74 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
44 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
80 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
26 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
32 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
143 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
45 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
132 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 ...