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

learn more… | top users | synonyms

-2
votes
0answers
8 views

error while executing .sh file on cygwin

when I run the following command sh orizon.sh It throws following error which: no reset in (/usr/local/bin:/usr/bin:/cygdrive/c/Perl64/site/bin:/cygdriv ...
0
votes
0answers
4 views

Cygwin nano syntax highlighting

I want to have basic syntax highlighting in a cygwin implementation of nano. This comment confirms for me that it's possible, but I can't find any information on how to actually make it happen.
0
votes
2answers
35 views

Firewalling VirtualBox: restrict host inbound connections to guests only

I have Windows7 + Cygwin and VirtualBox. I would open a listening port on the host accepting only inbound connections from the VMs. Note: In many case the server services running on the host can be ...
0
votes
0answers
7 views

How to use cygstart when using run.exe in Cygwin

I'd prefer to use emacs as a shortcut directly by using run.exe, but when I open it that way, I lose access to cygstart when I try to do things like open web links (etc). Is there some way to get ...
0
votes
0answers
6 views

CygWin shortcut to launch server, connect and start a program

I have miraculously only spent about 20 minutes getting an installation of cygwin to communicate with a remote box that I use for controlling my CNC machine. At this point, to get everything running ...
0
votes
0answers
16 views

Cygwin Mount error

I am not able to access nfs mounted directory. It shows 'No such file or directory'. Administrator@ipsl11 / $ mount //10.142.201.76:/user/ims/testshare /shiva Administrator@ipsl11 / $ mount ...
1
vote
1answer
4 views

How do I go to the bottom of cygwin terminal?

I have a very simple problem. When running scripts in cygwin I often go higher to see some first results of the script. The script itself is still running and is giving output too. To get down ...
0
votes
0answers
23 views

Bypass the $Recycle Bin in CygWin?

I'm using a CygWin session to find a large number of directories at a certain level in the file system tree in a loop, compress each directory into 1 archive, then delete the directory This ...
1
vote
2answers
25 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
2 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
24 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
17 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
31 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
21 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
39 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
33 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 ...
3
votes
0answers
26 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
59 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
40 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
69 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
21 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
155 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
27 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
26 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
35 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
28 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 ...
0
votes
0answers
17 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
24 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 ...
0
votes
2answers
164 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
19 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
49 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
20 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
52 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
87 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
704 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
79 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
28 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
17 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
56 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
46 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
17 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
124 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
47 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
29 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
43 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
20 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
23 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
14 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
172 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
34 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 ...