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

learn more… | top users | synonyms

1
vote
2answers
27 views

Run .sh file on double click on Windows with Cygwin

I created a .sh script file on my Windows machine. I'd like to run it on double click. If I open up the Cygwin Terminal and start it manually with the “sh” command it runs without problems. When I ...
1
vote
1answer
29 views

Installing GNU Parallel on Cygwin [closed]

Is this possible? I have googled and searched at length and found no answer to this question. How can I install GNU Parallel on Cygwin? I wish to run a command similar to this : Link Thanks.
1
vote
1answer
9 views

Cygwin shell add context menu item

There's this question on SO: http://stackoverflow.com/questions/9637601/open-cygwin-at-a-specific-folder I want to do something opposite. When using terminal I want to right click and have context ...
0
votes
1answer
28 views

Shortcut to run mintty.exe with ConEmu

I'm trying to create a shortcut to start Cygwin's mintty.exe (logged in with default config) in ConEmu. The only way I was able to start mintty inside ConEmu via shortcut was by defining the ...
5
votes
2answers
186 views

Mounting a directory from the host in boot2docker for Windows

I'm running docker 1.6 and boot2docker on a Windows 8.1 box. When I use the Boot2Docker Start shortcut, it takes me to a cygwin bash prompt where I can run docker commands natively. I'm having ...
0
votes
1answer
40 views

Modifying wget permissions and download directories on Cygwin

I have Cygwin installed on my Windows 7 64 bit PC and I often download large files using wget. wget, however, saves all files with permissions that forbid me from executing the files when they're ...
1
vote
1answer
24 views

Can't find the good Cygwin shell executable

I am working on Windows 7 and I need Cygwin for my project. I am trying to launch the Cygwin terminal from a Java programm and then write command lines but my problem is that I can't find the right ...
1
vote
0answers
43 views

Libpcap on Cygwin

I recently installed Cygwin, and while trying to get Reaver onto it I got the following error: pcap library not found!. Although I think Cygwin is a terrifically useful tool, I'm still not used to not ...
1
vote
0answers
30 views

Is it possible to install llvmlite Python package on Cygwin?

When trying to install llvmlite Python package on cygwin, I get the following errors: $ pip install llvmlite Downloading/unpacking llvmlite Downloading llvmlite-0.4.0.tar.gz (69kB): 69kB downloaded ...
0
votes
0answers
9 views

How can I change audio volume from cygwin? [duplicate]

I have a media box running Windows 7 (with cygwin ssh) playing some random music, and I'm in the other room with another laptop. Is there any way I can ssh there to adjust the volume, or do I need to ...
0
votes
1answer
56 views

Cygwin not reading config file

I have a fresh installation of Cygwin and I created a config file (just as I had in my old installation) with the info to connect to ssh to some hosts. Now in this new fresh installation I have to ...
0
votes
1answer
19 views

Undo setfacl changes

Using Cygwin in a virtual machine, I ran this command setfacl --remove-all /cygdrive/c After that I noticed this message: C:\ is not accessible. Access is denied. I undid this change by ...
0
votes
0answers
12 views

rsync created directory permissions (Windows to Linux)

I am trying to rsync a directory from Windows (cygwin) to a Linux server. After googling a bit, I found out how to properly set the file permission of the remote files. However, the directory that is ...
1
vote
1answer
68 views

Putty->Cygwin X11 Forwarding “Can't open display” Error

I am using Putty on a Windows machine to ssh into another server. Once there, I am trying to use X11 forwarding to pop windows onto my computer. The remote system is not the issue since it is a large ...
1
vote
1answer
31 views

Clear console buffer in ConEmu with Cygwin

I've recently switched from using iterm in OSX to using Cygwin in ConEmu on Windows. One thing I'm really missing is the ability to completely clear the terminal buffer at any time using Alt+k. I've ...
0
votes
1answer
34 views

Mapping drive through ssh tunnel between Windows computers?

I have a Windows 7 computer that I use to acquire data and I want to be able to map it's C drive (or a folder in C and it's subfolders) in another Windows PC (using windows 8 now) to access it in ...
0
votes
1answer
28 views

Why is grep missing missing matches when searching multiple directories?

Trying to grep the files in several child directories, grep returns nothing. ~/box/raw $ grep ":2259\"" f*/hh*.adt ~/box/raw $ But when I descend into one of the child directories, grep finds a ...
1
vote
1answer
8 views

Cygwin: during sed operation changes are not save

While I'm using sed I'm able to see correct results in terminal but in file changes are not visible. I used following comand: sed -e 's/MN2/MN9/g' 01_valid.txt on terminal screen I see changes in ...
1
vote
1answer
824 views

apt-cyg install return md5sum error

Since the last time I reinstall windows, and then cygwin, apt-cyg stops working. It keeps telling me "md5sum: standard input: no properly formatted MD5 checksum lines found". What could cause the ...
0
votes
1answer
50 views

“cannot create hard link X to Y: Operation not permitted” on ext2 drive from cygwin cp -al

/cygdrive/d/ is a USB hard disk formatted as ext2 and mounted with ext2fsd. When I try cp -al /cygdrive/d/X /cygdrive/d/Y where X is a file, I get the error in the title. Things I've Tried/Verified ...
0
votes
1answer
12 views

how to change order of system includes in mingw under cygwin?

I am trying to use mingw32 under cygwin32 to crosscompile. However, I get an error involving float.h In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/winnt.h:16:0, ...
0
votes
3answers
40 views

Cygwin: Get process state

When I run top in Cygwin I get: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND I would like to extract these columns for all processes: PID PPID S COMMAND ps gives PID, PPID, ...
1
vote
0answers
20 views

Making file's mode 000 on cygwin - does not work

Seems cygwin is unable to cancel a file readability mode, viz.: $ echo "123" > ttt $ cat ttt 123 $ ls -ls ttt 1 -rw-r--r-- 1 Administrator None 4 Mar 22 10:19 ttt $ chmod 000 ttt $ ls -ls ttt ...
0
votes
0answers
32 views

Unable to set permissions using Cygwin on Windows 7

I have Cygwin 1.7.34(0.285/5/3) installed on a 64-bit Windows 7 machine and I've found that I'm unable to control the permissions of files/directories on my computer with it (through chmod). Most ...
0
votes
0answers
49 views

How to do a nightly Rsync from Windows Client to Ubuntu Server with Cygwin and Task Scheduler?

I do this with the OS X machines in the office but I wish to do this with the Windows PC too. On OS X, I created SSH keys and cron jobs to rsync certain folders to specific user folders on our Ubuntu ...
2
votes
0answers
46 views

Password required when trying to ssh into a server using Cygwin on Windows 7

I'm trying to set up a server at our company, and one of the things I'd like to be able to do is host public Git repositories on it which I can access over ssh. Both the server and the workstation I'm ...
-2
votes
1answer
32 views

is there a gzip like tool with password protection for windows? [closed]

I want to encrypt some text files on a server that could be unencrypted on the fly when needed for searches (I would use it with cygwin). I was thinking of something like gzip and gunzip type of a a ...
0
votes
1answer
50 views

Cygwin's MinTTY takes about a minute to start up

When I open MinTTY from outside an existing MinTTY, the new terminal window takes about a minute to show up. My Windows shortcut is set to run C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico -. The ...
1
vote
0answers
37 views

Cygwin and Cygwin64 missing prompt in terminal

I tried to install and reinstall cygwin and cygwin64. I also tried different mirror sites. Instead of seeing a line like user@PC~ $, I see a blank screen with a blinking cursor. The properties of ...
1
vote
0answers
23 views

Starting Zsh in ConEmu in specified directory

ConEmu runs zsh under CygWin fine. I want to add a right click option to explorer to "Start ConEmu With CygWin Zsh In This Diretory" ConEmu provides an Integration settings page to set explorer ...
0
votes
0answers
11 views

How to force windows to delete a directory that is in use? [duplicate]

I have a directory under C:\Users\myuser\.ssh and I need to delete it but Windows won't let me. From Windows explorer: From a Cygwin shell: myuser@mymachine /cygdrive/c/Users/myuser/.ssh $ rm -rf ...
0
votes
1answer
49 views

I added a simple socket perl server script under Cygwin Xinetd to echo client input but it reads blank instead

I installed a x32 version 1.7.33 of Cygwin on my x64 Windows7 machine. I added a new service under /etc/xinetd.d/ccapi. $ cat ccapi-stream service ccapi { id = ccapi-stream disable = ...
0
votes
0answers
50 views

Strange Vagrant X11 Forwarding Issue

I'm running Ubuntu 14.04 in a Vagrant VM. I'm also running Cygwin on the host machine. When I ssh -Y into various servers, I have no problem launching a remote X11 application. But....when I vagrant ...
1
vote
1answer
56 views

Compiling ffmpeg for windows with WebM libraries using Cygwin

I'm trying to compile FFmpeg with the following configure command, however I'm getting an error saying that it cannot locate one of the libraries I'm trying to enable. ./configure \ --disable-doc \ ...
0
votes
0answers
20 views

“unable to remap to same address as parent”, can't get rebaseall to fix the issue

I posted this question on the Cygwin mailing list with no response, so I'm trying here. I keep getting this same unable to remap error and rebaseall does not fix the problem. Specifics: On running ...
0
votes
1answer
40 views

How to install a font onto cygwin terminal

I really like Dejavu font. And I want to make it available on cygwin terminal. But I don't know how to install this font. Can anyone help?
1
vote
1answer
25 views

Find text and replace with index

I need to find a string and replace it with a moving index (in this case find pattern is "replaceThis") For example: id=replaceThis ...... id=replaceThis ...... id=replaceThis should become id=0 ...
1
vote
2answers
68 views

Midnigh Commander rendering fail in CygWin, Windows 8 and ConEmu (or Console)

I am trying to use alternate terminal emulator for CygWin in Windows 8.1 x64. I am trying to use [ConEmu] and [Console], but both of them fails in rendering of mc program. Is it fixable?
0
votes
1answer
71 views

Cygwin install error: Package file libxxx has a corrupt local copy, please remove and retry

When attempting to install certain packages to Cygwin, I received one of the following errors: Package file libgcc1 has a corrupt local copy, please remove and retry. Package file libssp0 has ...
1
vote
1answer
17 views

Cygwin convert windows path to unix then change dir

I am usually trying to use the cygwin terminal to move to a nested directory. The problem is the windows directory are not immediately interpreted. So I had to do two step: $ cygpath -u ...
0
votes
0answers
240 views

Permission Denied (Public Key,password,keyboard-interactive)

I have installed CYGWIn and then run SSH-HOST-CONFIG There I have disabled the stric mode and created a privileged user for SSH. Now when I do ssh cyg_server@localhost , I am getting the password ...
1
vote
0answers
27 views

How to connect remotely from Windows to a Vagrant instance?

Is there a way to connect from my windows pc to a vagrant instance running on my mac which is on the same network? Ideally I would like to use cygwin or something equivalent
0
votes
1answer
25 views

Running the command “bochs -q” from Cygwin fails

I'm having troubles to execute the command "bochs -q" from Cygwin. I have installed the XV6 operation system in my C drive. I'm using Cygwin in order to compile the XV6 files, that is execute the ...
1
vote
0answers
33 views

Tmux 1.9a - variable #{pane_current_command} doesn't work as expected

I'm trying to get vim-tmux-navigator to work on my my Cygwin (Win7 x64) + Tmux 1.9a but it doesn't. The reason is the variable #{pane_current_command} always returns bash instead of vim, so the ...
0
votes
0answers
3 views

Problems with locale on cygwin

Trying to mess around with locale in a program. GCC - or rather g++ being the compiler I use - throws an exception. One problem I see is that locale -a lists the suitable locale to use as ...
0
votes
1answer
64 views

SFTP connection is getting closed after password

We have set up Cygwin on Windows 2012 and the services related to the tool are running fine on the server. During installation we have created a local user cyg_server, we tried to create home folder ...
0
votes
0answers
21 views

Open windows gui applications through ssh with x forwarding

I have a cygwin sshd server set up on a windows computer and want to start a windows application (like notepad.exe) through ssh using x11 forwarding, i.e. I want to connect from windows computer a to ...
0
votes
1answer
47 views

Why does cygwin sha512 create different checksums depending on terminal?

I'm using Windows 7 and have both Cygwin and the ming-based Git command line tool. When I issue the command: c:\>echo -n hello | e:\cygwin\bin\sha512sum from the Windows cmd, it generates ...
1
vote
3answers
26 views

Unable to delete a file using cygwin shell

I'm trying to delete the file ~$bgka.mod from my current directory in Cygwin shell. When I list all my files in that directory it shows up: $ ls ~$bgka.mod CaBK.mod hcdist.hoc mcdist.hoc ...
1
vote
1answer
43 views

What is the minimal packages list for Cygwin?

The Cygwin FAQ mentions that one the first install, the setup exe will download “a minimal subset of all available packages.” Which packages are part of this subset? I’m installing Cygwin on a ...