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

learn more… | top users | synonyms

0
votes
1answer
112 views

Connect to shared drive from Emacs on Windows 7

I am using emacs-w32.exe, invoked from Cygwin, on a Windows 7 machine. I'm trying to connect to a shared drive that I can otherwise access and write to (e.g., by using the Windows explorer), but I am ...
1
vote
0answers
59 views

What are potential problems of running cygwin programs outside of cygwin? [closed]

So, silly question: I want to use Taskwarrior (a commandline todo-list manager), but on windows it looks like my only option is Cygwin. No big deal, but I don't really want to switch back and forth ...
0
votes
1answer
149 views

Running Cygwin Screen as a standalone program?

Would it be possible to separate Screen from Cygwin, and run it without running Cygwin first? If not, are there any alternatives to screen on Windows?
0
votes
1answer
466 views

Tool(s) “patch” is(are) missed, please install it(them)

I am using xampp in Windows 8. I want to install magento security patches in local magetno. To run command I have install Cvgdrive but when I run the following command I am getting an error. bash ...
-1
votes
1answer
22 views

Cygwin Bash Script?

I have no real clue about linux, but need a simple script to copy what I manually do 1. Open Cygwin 2. Type a directory name (micros) 3. Type a command (reload) That's it...I just can't get it to ...
0
votes
1answer
99 views

Run .sh in cygwin script from cmd

I have a .bat script that calls some .exe to generate text files: generate.bat: ... ResGen main.txt Main.resources /str:c# ... After that, I want to use vim's commandline search/replace on the ...
2
votes
4answers
4k 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 ...
3
votes
1answer
1k 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.
2
votes
2answers
56 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
2k 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 ...
8
votes
2answers
7k 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
747 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
362 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
1answer
479 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
249 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
1answer
196 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 ...
1
vote
1answer
129 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 ...
5
votes
3answers
4k 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 ...
3
votes
1answer
1k 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
409 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
124 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
19 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 ...
3
votes
2answers
4k 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
425 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
83 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
245 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
27 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 ...
1
vote
0answers
156 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 ...
2
votes
0answers
546 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 ...
0
votes
1answer
591 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
230 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
1answer
579 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
12 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
171 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 = ...
1
vote
1answer
164 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
2answers
2k 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
34 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 ...
4
votes
2answers
700 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
314 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
2answers
347 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
646 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
64 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
71 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 ...
2
votes
0answers
184 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
1answer
1k 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 ...
2
votes
2answers
273 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
134 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
2answers
415 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 ...
1
vote
1answer
264 views

Failing to compile Putty for Windows on Ubuntu

I am trying to compile putty for windows on ubuntu 14.04. got the source from here: http://the.earth.li/~sgtatham/putty/latest/putty-0.63.tar.gz This is what I did until I got the error: ...
0
votes
1answer
274 views

How to run X/Cygwin without first running cygwin.bat?

To run any GUI program, I need first run a startxwin, which has no EXE extension. So I need first run cygwin.bat. startxwin only starts GUI terminal by default, so I am obliged to run 2 intermediate ...