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

learn more… | top users | synonyms

76
votes
7answers
26k 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 ...
42
votes
3answers
12k 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 ...
39
votes
4answers
19k 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 ...
37
votes
1answer
39k 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 ...
27
votes
4answers
15k 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 ...
27
votes
4answers
25k 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 ...
25
votes
5answers
37k 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 ...
23
votes
3answers
11k 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 ...
21
votes
4answers
2k 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 ...
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.
17
votes
7answers
18k 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.
15
votes
1answer
9k views

zsh with Cygwin

How can I configure zsh to be the default shell under Cygwin?
15
votes
4answers
13k views

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

Is there a multi-tab terminal replacement for Cygwin's terminal?
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
2answers
33k views

Where do I get make for cygwin?

I need binary file.
13
votes
6answers
70k 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?
13
votes
9answers
3k 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
4answers
4k 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,
12
votes
7answers
1k 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
5answers
9k 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 | ...
12
votes
3answers
4k 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?
12
votes
6answers
8k 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 ...
12
votes
5answers
6k 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 ...
12
votes
2answers
14k 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 ...
11
votes
4answers
7k 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 ...
11
votes
4answers
4k 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
2answers
10k 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
7answers
4k 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?
10
votes
2answers
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 ...
10
votes
3answers
9k 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
2answers
9k 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?
10
votes
2answers
4k 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 ...
9
votes
3answers
8k 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
7answers
9k 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 ...
9
votes
3answers
2k 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?
9
votes
1answer
1k views

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

Why can't I see java.exe from Cygwin?
9
votes
2answers
6k 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 ...
8
votes
2answers
4k 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: ...
8
votes
2answers
17k views

How to uninstall/reinstall cygwin to use the sshd?

I installed cygwin/sshd without good results. I removed the c:\cygwin directory to reinstall. I removed the sshd Administrator user by hand. I reinstalled the cygwin again, then run the ...
8
votes
2answers
6k views

Running rebaseall on Cygwin

I tried building node.js on Cygwin and that caused errors, so someone in #node.js on freenode told me to run rebaseall on Cygwin to clean it up. So I tried that and I got the following message: $ ...
8
votes
5answers
8k views

Installing Cygwin on Windows XP without having the admin rights?

Is it possible to install Cygwin on a Windows XP system without having the admin rights?
8
votes
3answers
6k 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 ...
8
votes
3answers
32k views

How do I install the vi text editor ONLY on my Cygwin installation?

I have managed to install the Cygwin on my Windows Vista machine. I installed using the default settings. When I try to do vi in the Bash shell, Bash tells me command not found. I believe I need to ...
8
votes
3answers
1k 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 ...
8
votes
2answers
3k views

Spawn New Cygwin Window from Within Cygwin

I can't figure out how to launch a new Cygwin session from within Cygwin, similar to launching a new terminal from within bash with: gnome-terminal It's probably easy but I am missing something. ...
8
votes
3answers
5k 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 ...
7
votes
3answers
6k 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.
7
votes
7answers
12k views

Cygwin offline installer?

I've tried downloading it several times from several different computers and networks. When I attempt to download it the download gets stuck mid way though. Where can I find a reliable offline ...
7
votes
2answers
2k 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 ...
7
votes
2answers
18k views

Install Vim in Cygwin

I have installed Cygwin on my Windows machine and I have also selected some additional packages as part of my installation (like GCC etc). Now I want to add Vim also to my existing Cygwin setup. What ...