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

learn more… | top users | synonyms

0
votes
0answers
7 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
0answers
15 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
29 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, ...
0
votes
0answers
6 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
21 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
54 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
1answer
17 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
63 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
21 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
9 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
34 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 ...
3
votes
3answers
653 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?
0
votes
0answers
11 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
0answers
33 views

what are the pros/cons of cygwin x86_64 vs x86 version on win7 64b?

So far I have always used the 32b version of cygwin in all my machines (3 that I use frequently, all 64b win7). Now I am going to get a new desktop, another win7 64b, and I was wondering whether it ...
0
votes
0answers
35 views

Tunneling rdesktop through ssh. Linux to Windows. Error

I'm trying to get rdesktop working on my linux machine, and the system I wan't to connect to is Windows. I followed these instructions but get an error when connecting. The Windows system is Windows ...
0
votes
1answer
22 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
69 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): ...
1
vote
2answers
29 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
0answers
21 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
21 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
26 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 behvaior with pwd. Observe this: ...
0
votes
1answer
35 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
24 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 ...
0
votes
1answer
68 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
33 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
24 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
67 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
53 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
19 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 ...
0
votes
0answers
34 views

cygwin-x applications not starting

After installing Cygxin-X, X applications won't run: $ xman /usr/bin/xman.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory $ xcalc ...
0
votes
0answers
20 views

Running script and restarting it when folder changes

The software I'm currently developing in is using Python and a windows binary that needs to be restarted everytime I change the Python code. Basic flow: Folder changed? Yes: Stop the command, ...
0
votes
0answers
26 views

how can I connect from Linux to windows with ssh without password?

I have a Linux server(CentOS) an some windows clients with shared folders. I want to connect to windows with ssh. I already install cygwin on windows and openssh on it. I can connect from windows to ...
0
votes
2answers
25 views

Running cygwin chere in mintty

Whenever I use chere's "Bash Prompt Here", the bash prompt runs in Window's cmd.exe. Is there a way to have it directly run mintty in the directory, instead of just cmd.exe with bash?
0
votes
1answer
27 views

remove 'Starting /bin/bash.exe' on cygwin chere

Is there a away to remove Starting /bin/bash.exe when right clicking Bash Prompt Here.
0
votes
1answer
26 views

Cygwin: man no longer works

I have cygwin installed in the default folder (C:\cygwin) on Windows 7 Pro. Up until a few months ago (not sure how long), man pages worked fine. Then came an update, and now man anything displays ...
2
votes
1answer
45 views

Cygwin: Does it peacefully coexist with normal Windows operation?

I would like to install cygwin, primarily to run gcc and associated tool chain, but before doing so, I'd like to have a heads-up on ways in which installing Cygwin changes the operation of Windows (or ...
3
votes
3answers
312 views

What is the `[` command? [duplicate]

I have seen both in Cygwin and in Linux the [ command under /bin. Whenever I run it I get an error saying: missing ]. I never understood what this command does, I just one day found it wanted to ...
1
vote
1answer
27 views

How can I maintain ssh connection from my Windows laptop to Ubuntu desktop

I need to ssh from Windows laptop to my Ubuntu desktop. So at work I in cygwin , I ssh to Ubuntu desktop. But at home, I need to login to VPN and I need to re-ssh to ubuntu desktop. And some times at ...
0
votes
1answer
39 views

Find & du to calculate total size vs xargs

Can someone confirm that the following one liner will produce the total human readable size of all the directories which FIND locates as having log in the name? find -type d -name *log* | du -hcs
0
votes
0answers
22 views

Reverse SSH between putty and cygwin to RDP

I realize that many different iterations of this question have been asked before, but I couldn't find something exact and my attempts didn't work. My setup: I'm trying to RDP from Machine B to ...
0
votes
0answers
33 views

Rsync incredibly slow in Cygwin - am I doing something wrong?

I am trying to back up my C: and D: drives (each 1 TB, C: has around 210 GB of data on it, D: has around 345 GB on it) onto a 3 TB external HDD using Cygwin in Windows 8. I am doing this with ...
1
vote
1answer
49 views

Are there any drawbacks when replacing Windows' functions with Cygwin's in the PATH?

Cygwin allows executing shell scripts on Windows and many more. Some functions conflict with the Windows Shell's functions. Does the following hint lead to any disadvantages when using Windows ...
1
vote
1answer
46 views

How can I run a Cygwin command (not a Windows native command) as privileged?

If I open a (elevated via UAC) Bash Shell in CygWin: Luis@Kenobi /cygdrive/c/Windows/system32 $ crontab.exe -l -u Luisito must be privileged to use -u Tested on WinXP-SP3 and Win7-SP1. Same results ...
0
votes
1answer
35 views

How can I select what user account will run a Windows service (run as) from command-line?

As one of the steps for installing CRON daemon for CygWin in Windows, it is worthful (not mandatory on WinXP, but seems to be greatly adviced since Win7) to change (along with some others ...
1
vote
1answer
38 views

Odd Cygwin issue when having an alias in my .inputrc file

When adding some aliass to .inputrc I noticed my 'a' key wasn't working on my keyboard when using Cygwin Bash. Took out all my alias and my 'a' key started working again. For testing I stripped down ...
0
votes
0answers
24 views

Cygwin “find” returns nothing

This command returns nothing in Cygwin running on Windows Server 2008 r2: /usr/bin/find / I get a slight pause, but no text is returned. No error, no results, etc. I've tried with different search ...
0
votes
2answers
30 views

Can I use Cygwin via ssh without logging into Windows account for first time?

When creating a new Windows 8.1 user account, you normally have to logout your current account and log back in as the new user. When this happens Windows start setting up your home directory and does ...
0
votes
1answer
15 views

Building gstreamer 0.10 under Win32 via Cygwin

There is no more installer for GStreamer 0.10 available on GStreamer website (only versions 1.x). I really need to work with this version so I tried to build it from source. I found this laconic page ...
1
vote
0answers
41 views

Can I use a password ssh login on a passwordless windows 8.1 account? (Cygwin)

I recently installed Cygwin + OpenSSH (package) on Windows 8.1. However, I'm only using one passwordless Windows account on that machine, but I would like to login with SSH remotely with password (for ...
0
votes
0answers
38 views

Why ssh connection fails if `id_rsa.pub` file exists in local `.ssh` directory?

I just noticed if id_rsa.pub exists in local ~/.ssh directory, I can't connect my remote server with ssh command. But I have no idea why is that. Is it dangerous for security if public key exists at ...