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

learn more… | top users | synonyms

-1
votes
1answer
77 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
155 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
220 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
69 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 ...
0
votes
0answers
81 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
90 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
18 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
35 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
137 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
29 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
50 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
1answer
460 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
19 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
47 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
15 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
412 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
24 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
909 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
75 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
594 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
237 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
38 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
121 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
16 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
138 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
52 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
27 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
60 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
100 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
534 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 ...
3
votes
2answers
419 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
91 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
28 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
182 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
1k 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?
2
votes
0answers
151 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
162 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
490 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): ...
4
votes
2answers
937 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
63 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
91 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 ...
0
votes
1answer
316 views

cygwin not recognizing paths with spaces in them

This is really strange. cgypath is returning paths with spaces in them, and when I try to cd to them, they fail as not being able to be found. I also notice this strange behavior with pwd. Observe ...
1
vote
1answer
918 views

SSH could not create directory /home/USERNAME/.ssh

My script is executing the below command: command = os.system('rdiff-backup --exclude "**.dropbox**" --exclude "**.ini**" --remote-schema "ssh -o ...
1
vote
1answer
407 views

What is the difference between CygWin Ports and CygWin?

I have been using CygWin for a few weeks, and I love it. Now I have found CygWin Ports and, even after reading its main page, I am not sure about the differences: Is CygWin Ports a collection of ...
1
vote
1answer
815 views

SSH error. Error installing a service: CreateService: Win32 error 1057

ssh-host-config is not working, I get this error at creating sshd as a service. I'm running Windows 7 32 bit with cygwin installed. It was working at first, after installing cygwin. I did ...
0
votes
0answers
116 views

Running exe generated with GCC using cygwin without admin rights

So this awesome company that I work for has a picky IT department that doesn't allow developers to have admin rights. What is the best way to go about running a .exe generated from Cygwin GCC without ...
2
votes
1answer
43 views

How do I reverse the text in a file / stream in UNIX / Cygwin?

I have a block of text that I want to put in reverse-characer order (backmasking). Is there a simple way to do that via a Unix / Cygwin command-line?
1
vote
1answer
77 views

What exactly does Cygwin do?

I understand that it "looks like" Linux by giving me forward slashes and providing a directory structure similar to Linux. I also know that a lot of apps have been ported to Cygwin, but if the source ...
0
votes
2answers
755 views

Configuring Public Key Authentication with SSHD under Cygwin

I am trying to configure SSHD to allow public key authentication under Cygwin on Windows Server 2012. Currently my problem is access being denied. I have confirmed that my public key is saved as a ...
0
votes
0answers
26 views

Connecting to Windows with OpenSSH using External IP

HELP I have been working on this issue for a few days now and its really getting frustrating, any help would be greatly appreciated. I will start with my setup. I have AT&T U-verse which comes ...