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

learn more… | top users | synonyms

90
votes
8answers
38k views

Upgrading and installing packages through the Cygwin command line?

I'm a blind computer user that uses Cygwin. The installation program isn't very accessible: upgrading, installing, and removing specific packages is quite hard to do since you have to use simulated ...
57
votes
7answers
23k views

Using Cygwin in Windows 8, chmod 600 does not work as expected?

I'm trying to change the the permissions to my key file key.pem in Cygwin 1.7.11. It has the permissions flags: -rw-rw---- chmod -c 600 key.pem Reports: mode of 'key.pem' changed from 0660 ...
55
votes
5answers
84k views

How to install new packages on Cygwin?

I installed the latest version of Cygwin with a number of packages. I soon realised that I need more packages (such as wget, etc) and I couldn't find a way to install the new packages without running ...
47
votes
6answers
29k views

How to update Cygwin from Cygwin's command line?

To search and download a package missed from Cygwin I need to run setup.exe GUI each time, click many times and do other boring things. Is there a way to do the same from Cygwin's command line ...
43
votes
1answer
43k views

Installing Cygwin packages from the command-line [duplicate]

Possible Duplicate: upgrading and installing packages through the cygwin command line? I'm looking for a "yum"-link method to install additional Cygwin packages from the command-line. Let's ...
34
votes
4answers
4k views

How do I make ctrl-arrow keys move forward/backward a word at a time in Cygwin bash?

In the default Cygwin installation, using CTRL-LEFTARROW or CTRL-RIGHTARROW simply prints 5C or 5D instead of skipping a word at a time as expected. Home/End keys work properly, so remapping should ...
29
votes
4answers
17k views

Cygwin fatal error unable to remap.. What does it mean?

0 [main] python 6140 C:\cygwin\bin\python.exe: *** fatal error - unable to remap \\?\C:\cygwin\lib\python2.6\lib-dynload\time.dll to same address as parent: 0x2B0000 != 0x360000 Stack trace: Frame ...
29
votes
3answers
17k views

How to go to remote directory in Cygwin?

I'm using the latest version of Cygwin to try to cd into a network drive on Windows XP Pro Service Pack 3. The path in Windows Explorer to this directory is something like: \\myserver\photos\original ...
28
votes
4answers
32k views

There's no 'sudo' command in Cygwin

Because there's no sudo command in Cygwin, scripts that I want to run fail with ./install.sh: line N: sudo: command not found What's the standard way for getting around this? Editing the scripts ...
24
votes
5answers
13k views

How do I configure ConEmu to run Cygwin Bash?

I created a new task {Bash} passed my home directory /dir "C:\Users\TMB\" and added bash as an application C:\cygwin\bin\bash.exe When I open Bash, it is unable to use the basic ...
22
votes
4answers
15k views

zsh with Cygwin

How can I configure zsh to be the default shell under Cygwin?
22
votes
8answers
106k views

How to completely uninstall/remove cygwin from Windows 7

How can I completely uninstall/remove cygwin? I don't think it is as simple as deleting C:\cygwin. Maybe alter registry?
19
votes
7answers
22k views

“unable to get setup.ini” error during Cygwin installation

While installing cygwin I'm getting the following error unable to get setup.ini What is the reason? I'm newly studying Unix. So Please guide me in this.
19
votes
3answers
6k views

C-x C-c not working in Emacs 23.1

I am using Emacs 23.1 with Cygwin but when I try to exit by pressing C-x C-c it says C-x C-g is undefined and I am not able to exit.
18
votes
2answers
50k views

Where do I get make for cygwin?

I need binary file.
18
votes
4answers
20k views

Is there a multi-tab terminal replacement for Cygwin's terminal? [duplicate]

Is there a multi-tab terminal replacement for Cygwin's terminal?
17
votes
8answers
13k views

Backspace does not work in Cygwin

I just installed Cygwin and the BACKSPACE functionality is not there, i.e. when I hit the Backspace key, I get a space. I've been trying to research this issue on Google, but did not find anything ...
16
votes
5answers
7k views

Cygwin bash prompt is wrapping lines on the same line

I'm using Cygwin bash prompt, and for long commands the text will wrap around on the same line as opposed to going to the next line despite setting my PS1 to simply ' $'. Here's a screenshot,
15
votes
5answers
10k views

“Bad owner or permissions” error using Cygwin's ssh.exe

I'm trying to use ssh.exe in Cygwin (in Windows 7). I copied a config file into c:\cygwin\home\[USERNAME]\.ssh. When I run ssh (for example, ssh -vT git@bitbucket.org) I get the following error: ...
15
votes
5answers
10k views

Using git through cygwin on windows 8

I've got a windows 8 dev preview (not sure if it's relevant, but I never had this hassle on w7) machine and I'm trying to clone a git repo from github. The problem is that my ~/.ssh/id_rsa has 440 ...
15
votes
3answers
9k views

How do I change the unreadable dark blue color Cygwin uses for directories?

I'd like to change the blue color that Cygwin uses for directories. It is too dark to read on most screens.
15
votes
5answers
13k views

Writing “tail -f” output to another file

As a continuation from my last post where I have used grep & tail -f to find occurences of "rare" events. I would like to record this in another file. I've tried turning tail -f log.txt | ...
14
votes
4answers
6k views

How to make Cygwin shortcut stick to Windows 7 dock

I have recently installed Cygwin on a Windows 7 beta machine. Everything works great, except one little annoyance: The Cygwin shortcut (Start->All Programs->Cygwin->Cygwin Bash Shell) cannot be ...
14
votes
4answers
13k views

How do I change the default startup directory in Cygwin?

Whenever I start cygwin, I need to cd several levels down to the only directory that I care about when using cygwin. How can I get cygwin to start in this particular directory by default...i.e., ...
14
votes
5answers
7k views

alternatives to Gnu screen under Cygwin

Are there any terminal multiplexers for Cygwin/Windows other than Gnu's screen? I know of 2 alternatives to the Gnu's screen application: Byobu and TMux. However, neither of these run under Windows ...
13
votes
3answers
5k views

Virtual Machines vs Cygwin

With the arrival of virtual machine software like VirtualBox, VMWare, Parallels etc., is Cygwin any useful on the Windows platform to give a linux like environment?
13
votes
9answers
4k views

Cygwin/Git Bizarre Terminal Issue

Alright, this is weird. First off, this is mintty running on up-to-date cygwin, with git pulled from cygwin's setup.exe. I am running zsh. $ git clone ...
13
votes
2answers
23k views

How can I access volume levels from the command line on Windows 7?

What I need I'm looking for a tool or a script that allows me to access the Windows volume levels from the command line. Ideally it would allow me to get and set all volumes including application ...
13
votes
2answers
5k views

tmux/screen alternative for powershell

Is there an alternative to tmux/screen that would work on Windows with Powershell? I'm aware of Powerscreen, but it seems dead for a long time. Cygwin wouldn't work with Powershell, would it? Console2 ...
12
votes
3answers
4k views

cygwin + mintty + vim backspace problem

I have installed vim, mintty via cywin on XP. The problem is when I try to hit backspace in VIM edit mode, the cursor move back a character instead of wiping the previous char. How can I tweak this ...
12
votes
7answers
2k views

Cygwin alternate for windows? [closed]

I would like to have some of the most frequent commands which I use in Linux environment in my windows box , I know there is program called Cygwin. But I don't want to use such a heavy one . All I ...
12
votes
7answers
12k views

Use Notepad++ from Cygwin without having the shell wait for an exit code

I'm running Cygwin and would like to use Notepad++ as the main shell editor, kind of like what I have on my Mac, where I can type mate whatever to open up an instance of TextMate. In my ~/.bashrc file ...
12
votes
2answers
12k views

Change Cygwin Prompt

The default cygwin prompt of "user@computer path \n $" is too long for me. I would like to keep the path. I want it to become: path $ Is there a config file I can modify to do this?
12
votes
6answers
9k views

How to use Cygwin to copy an image from an SD memory card

Long story short, I'm working on a Windows 7 machine and I'd like to strip the image off an SD card (backing up the card from a Raspberry Pi). I'm trying to use Cygwin, but not having much success. ...
11
votes
7answers
5k views

Good Alternative to Cygwin with Copy/Paste?

I am annoyed that I can't copy and paste into Cygwin... is there a good alternative to Cygwin that will let me do this?
11
votes
4answers
5k views

How do I prevent Cygwin's XWin Server automatically starting xterm?

Whenever I start Cygwin's X server using the "XWin Server" link in my Start menu, or by running startxwin from a Cygwin shell, I automatically get an xterm window appearing, which I neither want nor ...
11
votes
4answers
7k views

Going to directory using bash variables doesn't work when directory names have spaces

Let's say I want to store the following command in a variable cd "/cygdrive/c/Program Files/" So I do this dir="cd \"/cygdrive/c/Program Files/\"" That should store the command to navigate to ...
11
votes
3answers
3k views

How to use fish shell in cygwin?

Is it possible to use the fish shell with cygwin? I wasn't able to compile the source in cygwin, and I didn't find any precompiled packages. Is there a good reason for not having fish in cygwin?
11
votes
3answers
10k views

Cygwin ssh server is not accepting connections

I've just set up an SSH server (OpenSSH) on a Windows 7 machine using cygwin and I'm trying to connect to it using PuTTY on a Windows Vista machine but I keep getting Connection timed out. I've ...
11
votes
2answers
11k views

Is there an equivalent of apt-get in Cygwin? [duplicate]

Possible Duplicate: upgrading and installing packages through the cygwin command line? Is there an equivalent of apt-get in Cygwin?
10
votes
3answers
10k views

“tty” option detected in CYGWIN environment variable

I recently reinstalled cygwin on my windows 7 machine, and added the cygwin directory to my path so that it works seamlessly with the windows command line. Every time I execute a command, I get the ...
10
votes
5answers
7k views

Cygwin - cd in bash script

I'm new to using Cygwin, so apologies if this is a very newbie question. I have a bash script where I "cd" to a directory then do something in that directory. However, the cd command fails with "No ...
10
votes
4answers
18k views

SSH key asking me for a passphrase?

I have a public/private key pair. Neither of them have any sort of passphrase associated with them. Whenever I try to ssh using either the private or public(and I'm pretty sure I should only be ...
10
votes
1answer
2k views

Why is java.exe not visible from cygwin, but is visible from command-prompt?

Why can't I see java.exe from Cygwin?
10
votes
3answers
2k views

Cygwin bash sed locks my files

When I change files in cygwin bash with the sed command, the file gets locked. Reproduce: Open cmd and cd to non-user directory (f.e. temp) echo aaa > test.txt Open in texteditor, add line, try ...
10
votes
3answers
2k views

How long should it take Cygwin to load?

I recently downloaded Cygwin so I could easily use gcc. It installed correctly, and gcc compiles programs and reports errors as expected... but I can't help but notice that it appears to be taking an ...
10
votes
2answers
8k views

Running cmd.exe from within Cygwin

I'd like to use Cygwin for my main shell at work, but my group uses batch files for several processes. I've been told that I can just do cmd /c batch.bat to run the batch file from Cygwin. This works ...
9
votes
4answers
9k views

How to get vim color mode to work in vim under cygwin

I have installed vim 7.3 under cygwin. And I have this in my ~/.vimrc $ cat .vimrc colorscheme wombat And then I have this file wombat.vim under '.vim/colors'. $ ls -la .vim/colors/ total 8.0K ...
9
votes
4answers
14k views

how to access different directories outside cygwin home dir

I have installed dropbox in my computer, but it is located outside my cygwin directory. The probably easiest way would probably just move the dropbox directory to cygwin's home dir. Anyway I wonder if ...
9
votes
2answers
4k 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 ...