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

learn more… | top users | synonyms

1
vote
1answer
44 views

Speeding up explorer.exe global shortcuts [duplicate]

I'm running Cygwin on windows with cmder as a terminal for zsh. The way I got it to be a bit similar to what my linux setup has is I placed a shotcut (.lnk) on my desktop with a keyboard shortcut ...
0
votes
0answers
56 views

Unable to connect to Cygwin from Mac OS X by ssh

I've started ssh server on Windows 7 using Cywgin and I'm trying to connect to it by ssh from Mac OS X Mavericks. It fails with next error: ./ssh username@hostname -v OpenSSH_6.6, OpenSSL ...
2
votes
2answers
155 views

How can I run msiexec from cygwin to unpack a msi?

I need to unpack (not execute, unpack) a msi in a cygwin makefile. If I invoke from the windows command prompt the following msiexec /a package.msi /qn TARGETDIR=C:\foo The package is correctly ...
0
votes
1answer
89 views

How to open multiple Mintty windows in Windows 8? [duplicate]

When I click Mintty's shortcut, it opens, if I click it again, it just returns focus to the window it had opened earlier. This is the shortcut's command I am using (I came to use it because it avoids ...
0
votes
1answer
28 views

cygwin basic command trouble

I'm using Cygwin to simulate Linux environment on my Windows 7 machine for learning some basic commands and functions. Right now, I am just practicing moving through directories and different file ...
1
vote
1answer
79 views

Can I use Cygwin as a replacement for Ubuntu, for bash script testing?

Next wednesday i'm having an exam on Operating Systems. In this exam there will also be a part bash-scripting. The teacher itself will test the scripts in a Virtual Machine running Ubuntu. Myself, ...
0
votes
1answer
388 views

Using Cygwin to run nginx on Windows

Is it possible to run a Linux installation of nginx from Cygwin? Or should I run the Windows version? Basically I want to be able to restart Cygwin from command prompt instead of having to end the ...
0
votes
1answer
106 views

Cygwin vim doesn't load files in runtimepath

I created a custom syntax file, and but none of the files in $VIMRUNTIME seem to load. I followed these pieces of the documentation: http://vimdoc.sourceforge.net/htmldoc/filetype.html#new-filetype ...
7
votes
5answers
2k views

Cygwin tmux: “failed to connect to server: No error”

Just as the title says, whenever I try to start tmux in Cygwin 64-bit (Win7), with any or no arguments besides --help, I get the following error: $ tmux failed to connect to server: No error I ...
-1
votes
1answer
116 views

Chocolatey install of Cygwin keeps looping through sites?

So I have been trying to install Cygwin via chocolatey here, using: cinst Cygwin However, I get this screen which just goes through different sites, and keeps 'failing'. Now I am concerned... ...
0
votes
0answers
229 views

android.bat is not recognized as an internal or external command

I have setup up the environment for cocos2d-x. I have edited the create-android-project.bat file according to my Cygwin, SDK and NDK locations. Now when I try to create a new cocos2d-x project double ...
0
votes
0answers
344 views

Virt-manager on Windows Desktop

I have a KVM host and would like to manage guest via the virtual machine manager on a Windows machine. I have been looking around on the Internet and some suggestions include using Xming and Putty ...
0
votes
1answer
80 views

ssh between cygwin and debian wheezy

I am trying to connect desktop(win7 x64) and note (debian wheezy x32). Made standard install of ssh cygwin and debian. Created pub-key and moved via usbflash it to ~/.ssh/authorizwd_keys and to ...
1
vote
0answers
99 views

Slow screen redrawing in terminal emulator

I use a modified PuTTY (PuTTY Tray, derived from PuTTYcyg) to connect to my Cygwin's login shell (zsh), on Windows 7 (64-bit). This works, but the screen refreshing is very slow. For example, when I ...
0
votes
1answer
130 views

Windows Vim symlink config file persistent error

I'm trying to configure the native Windows Vim/gVim and the Cygwin Vim/gVim to behave nicely together. To this end, I created symlinks, ~/.vimrc and C:\Users\<myusername>\_vimrc, that both point ...
0
votes
0answers
19 views

What are the filesystem implications of using the SYSTEM account and cygwin in Windows?

I have found something very peculiar while working with the SYSTEM user session. For cygwin some files are there, for Windows, some of them are not. What I find most interesting is that "touch" will ...
1
vote
1answer
43 views

less command is unable to show pdf file in cygwin/mingw

I use less to read pdf in linux. While either in mingw or cygwin, less is unable to show pdf in the right way. looks encoding issue. Any help? thank you!
0
votes
1answer
559 views

Is there a way to show windows processes in Cygwin constantly

I would like to monitor processes from a cygwin shell, using top or a variant. The reason for this is its realtime reporting and constant updates. However under cygwin, top will not report on windows ...
0
votes
0answers
36 views

Cygwin broke something when trying to install new software

I was trying to install some OpenGL libraries and something strange happened so I stopped the update. Now, when I use cygwin, ls doesn't work and whenever I open up a new terminal window I get my ...
0
votes
2answers
66 views

Where is chmod in cygwin?

The only chmod showing up is way deep under a strange location: C:\apps\OpenSSH\bin>dir /s \cygwin\chmod Volume in drive C is Windows7_OS Volume Serial Number is AC58-16CE Directory of ...
1
vote
3answers
802 views

I am having trouble trying to authenticate Google SDK using cygwin

I am trying to install SDK using Cygwin as instructed here https://developers.google.com/cloud/sdk/#Quick_Start after Cygwin is installed I follow the guide and then try to authenticate using the ...
0
votes
0answers
23 views

XWin: Specify coordinates for new windows

I use cygwin's XWin server to display a UNIX CAD application remotely. I have two monitors. The CAD application opens new windows on every possible opportunity and new windows are always created (0,0) ...
0
votes
1answer
101 views

How can I setup an X Server to run in the background on Windows?

I have grown tired of the (visual) problems I get when using the combination of not-so-great terminal emulation+CygWin on Windows. Now I just run a forwarded gnome-terminal from my server when working ...
0
votes
0answers
18 views

How to avoid mounting all drivers in cygwin?

On my system, I have two drivers, C: and D:. I do not want D: to be mounted at /cygdrive/d. I tried to modify /etc/fstab, but no matter I remove the default line, or explicitly set up for C: only, ...
0
votes
0answers
558 views

ssh connection refused error on cygwin on windows 8

I set up sshd on cygwin (via the openssh package), and started up the ssh daemon on port 7000. I opened up the port 7000 on my modem as well as windows firewall. From the cygwin prompt, when I connect ...
0
votes
1answer
32 views

Problems installing JSCover 0.2.0 on Windows 7

I am trying to install JSCover 0.2.0 on Windows 7. I was using this guide, but failed on step 2 where I need to run the example-server.sh Do I need to run it from windows command line, or cygwin ...
0
votes
0answers
2k views

Windows 7 cygwin xterm: Xt error: Can't open display

There is no display available when I try to ssh from a Windows 7 system to Ubuntu. When I do this: ssh -X -c blowfish-cbc username@IP xterm I get this error: xterm Xt error: Can't open display: ...
0
votes
1answer
91 views

How can I have Emacs window(s) and cygwin shell running simultaneously on Windows?

I have Cygwin working with Emacs 24.3.1 on windows 8.1 with Emacs downloaded from the Cygwin installation, however I can't use Emacs and the Cygwin shell at the same time or open up multiple Emacs ...
0
votes
1answer
791 views

How to fix Windows 8 Anaconda “can't open file” errors in cygwin when using absolute paths?

I'm having troubles getting Anaconda to run python scripts on cygwin. My configuration. Windows 8.1 $ echo $PATH ...
1
vote
1answer
357 views

ssh-host-config script still finds the user account cyg_server when it's deleted

I removed sshd service and deleted the privilegded user account created by the script. Now I want to re-install sshd, and am having trouble with the ssh-host-config script. It still finds the user ...
3
votes
1answer
53 views

Copying folders with cygwin

The folder produced by cp -r myfolder myfolder2 is marked shared as reported by "It is shared with other people. Are you sure that you want to delete it?" dialog in windows when I try to delete the ...
1
vote
1answer
170 views

what cygwin packages do I need to install to be able to run commands from cmd.exe on windows?

I am trying to install JSCover, I snooped around and figured that to run .sh files on windows, the easiest option is to install cygwin. Which cygwin packages do I need to install to be able to run ...
0
votes
0answers
20 views

replace shift > generated tab with spaces in emacs win32

I am using emacs win32 on cygwin. and I encountered this commonly seen 'replace tab with space ' issue on emacs. but slightly different. I have configured like this: (setq tab-width 4) (setq ...
0
votes
1answer
221 views

Choosing shell for xterm in Cygwin

Basically my question is closely related to this one: http://stackoverflow.com/questions/21905380/how-do-i-get-cygwin-xterm-to-use-bash-and-not-sh I also want to set bash as the default shell for ...
0
votes
0answers
57 views

How to set my special keys keycodes in Cygwin (ctrl+right etc…)?

Most of the convenient key combinations are not working with on cygwin, unless the program I am using bind it in a configuration file (CTRL+<direction>, SHIFT+<direction>, CTRL+Home, ...
2
votes
0answers
36 views

CygWin: How can I know what packages need (are pending) to be upgraded?

If I do on the installer directory of CygWin: setup-x86.exe --root c:\CygWin --upgrade-also -q I get all (or so it seems) the packages upgraded from the last internet repository I used ...
0
votes
0answers
83 views

compile lftp with different openssl version in cygwin

am trying to compile lftp with a different openssl version on cygwin but it does not compile in the one i want when configuring openssl i used ./config --prefix=/usr/local/apps/openssl-0.9.8t when ...
3
votes
1answer
131 views

What does Shift+Enter do in a terminal, and can I disable it in Vim?

Everyone once in a while while in insert mode in Vim, I'd be happily typing along, when all of a sudden I'd be thrown out of insert mode and my last edit undone after hitting a certain key ...
0
votes
2answers
905 views

Cygwin: Run a script in mintty/bash

Initially asked on SO.com, but I closed it. I think it better fits SU.com. Please tell me if it is also not the right place. I want to add a context menu to a .sh file to run it in cygwin. I tried ...
4
votes
2answers
576 views

Practical (closer to the classical Linux one) way to use (automate) SUDO for CygWin

Being able to use sudo commands in CygWin is useful, and faster than opening an elevated shell: Luis@Kenobi /cygdrive/c/Users/Luis $ net user /add TestUser System error 5. Access denied. Luis@Kenobi ...
-1
votes
1answer
156 views

Problems in CygWin accessing /dev/nul as non-privileged user

NOTE: This question is originally a simple typographic mistake (nulinstead of null) for the questioner. Anyway, the details could be useful for anyone having the same error and arriving here ...
0
votes
0answers
33 views

Why does CygWin shell uses TAB completion for .DLL files?

If I type in a CygWin Bash shell forma TAB, the result expands to format.com. But if I type modeTABTAB, the results expands to: $ mode mode.com modemui.dll As long as .DLL files are not ...
0
votes
1answer
270 views

ConEmu + bash CTRL+L no longer working

I set up the following task in ConEmu in order to run bash: C:\cygwin\bin\bash.exe --login -i -cur_console:d:C:\cygwin\bin Up until today, it ran wonderfully. However, I updated cygwin today, and ...
5
votes
4answers
2k views

locale.exe and tzset.exe trojans in Cygwin

I was updating wget this morning and Symantec notified me of trojans detected in locale.exe and tzset.exe Does this mean my cygwin installation is infected?
3
votes
0answers
208 views

Running fsck from cygwin shell?

I need to be able to check / fix file system errors on SD cards from a win7 box. I had hoped to use e2fsck from cygwin but am having some issues getting this to work. (SD cards are used to boot ...
0
votes
1answer
245 views

How to install Cygserver

I'm programming in UNIX, so I'm using Cygwin. But functions of IPC does not work on it, just in Cygserver. How can I install it? I'm looked in google and did not find any concrete information. Thanks ...
1
vote
1answer
756 views

How to delete a file with invalid characters in Windows 8.1 (not even Cygwin helps)

After a problem I've encountered with the Windows 8 Store I had to delete a system folder. Unfortunately, inside it there's a file with invalid characters (filename as it's displayed via ls or dir): ...
6
votes
2answers
2k views

Enable 256 colors for cygwin under mintty?

I am using cygwin via mintty, which is the default. I installed ncurses. I then run these commands to see what my color pallet is for this terminal session: $ tput colors 8 I have googled but so ...
1
vote
1answer
72 views

How can I make cygwin commands a priority over built in windows commands?

If I run ls in powershell the windows built in ls function is run. how can I make cygwin ls run instead? I've tried moving cygwin/bin to top begin system path variable, but that didn't work. is ...
1
vote
0answers
110 views

Unable to use vim-fugitive when running Windows gvim from Cygwin

I'm running Windows version gvim from Cygwin which I have set up an alias in my bashrc based on this answer: alias gvim="HOME=/c/Users/user cygstart /c/Program\ Files\ \(x86\)/vim/vim74/gvim.exe" My ...