Questions tagged [cygwin]

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

What it doesn't provide is "a way to run native Linux apps on Windows. You must rebuild your application from source if you want it to run on Windows."

Cygwin home page
Cygwin on Wikipedia

1773 questions
204
votes
9 answers

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 the set up again and reinstall everything from…
Mulone
  • 2,213
  • 3
  • 15
  • 10
126
votes
5 answers

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 be possible.
Tom
  • 3,654
123
votes
10 answers

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 mouse keystrokes to click and scroll. Is there a…
Jared
  • 2,313
84
votes
10 answers

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 directly? Like apt-get tools do.
Pavel Vlasov
  • 1,931
82
votes
10 answers

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?
79
votes
7 answers

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

I'm trying to change 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 (rw-rw----) to 0600 (rw-------) However: ls -l key.pem…
Castaa
  • 980
  • 3
  • 9
  • 11
70
votes
6 answers

How can I use SSH with a SOCKS 5 proxy?

I have a SOCKS5 proxy set up through PuTTY with port 7777 configured as a dynamic port. I can use firefox/filezilla/etc by configuring them to use a SOCKS proxy with localhost and port 7777. But I can't figure out how to ssh (through Cygwin) to a…
65
votes
7 answers

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,
wting
  • 1,162
64
votes
2 answers

What is the difference between Windows Subsystem for Linux (WSL), Cooperative Linux (coLinux), and Cygwin?

Did anybody still remember coLinux? I remember it is used for SpeedLinux and Portable Ubuntu some years ago. It's pretty clear what is coLinux doing, running Linux on top of Windows somehow, but can use real linux partition. Meanwhile cygwin is…
64
votes
4 answers

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 I tried mounting it to a drive letter ('X') in…
daveslab
  • 1,015
60
votes
5 answers

How can I get a block cursor in Vim in the Cygwin terminal?

I am used to having a block cursor in normal mode in Vim. This makes sense with the Vim paradigm; when you press x, it is clear which character will be deleted. I've installed Cygwin on a Windows computer, but when I use Vim in its terminal, I get…
Kazark
  • 3,509
48
votes
1 answer

Installing Cygwin packages from the command-line

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 say I want to add the package "Math/bc", then ideally…
knorv
  • 3,512
48
votes
7 answers

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 is very poors man solution. Any other thought?
sumek
  • 717
46
votes
9 answers

How to change the title of the mintty window?

MinTTY is the new default Console for Cygwin. What's a shell command (something I can put in .bashrc, or even better, in .zshrc) to change the title of the MinTTY window ? I'd like the title of the window to be the path to the current directory, and…
Leonel
  • 861
46
votes
13 answers

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 using the public key), I get queried for a…
llaskin
  • 633
1
2 3
99 100