The preferred Cygwin terminal emulator.
http://cygwin.com/ml/cygwin/2009-01/msg00300.html, http://code.google.com/p/mintty/wiki/Tips
Add this to .inputrc
:
# Ctrl+Left/Right to move by whole words "\e[1;5C": forward-word "\e[1;5D": backward-word # Ctrl+Backspace/Delete to delete whole words "\e[3;5~": kill-word "\C-_": backward-kill-word
The problem that I was using StExBar to get around seems to be solved. Use chere instead:
chere -i -t mintty -e "Open Cygwin terminal here"
Unfortunately Thankfully StExBar provides a nice easy way to get custom directory commands. If not using the toolbar, you can access it from the right-click submenu, or assign it a shortcut (e.g. chere
only works when right-clicking directories, but usually I'm already in the directory, so I have to go up one first, which is incredibly annoying.Ctrl+T
).
These directions assume Cygwin is in E:\cygwin
:
E:\cygwin\bin\mintty.exe
E:\cygwin\bin\mintty.exe /bin/env CHERE_INVOKING=1 /bin/bash -l
The command line comes from http://code.google.com/p/mintty/wiki/Tips.
General information: https://cygwin.com/cygwin-ug-net/ntsec.html
Cygwin doesn't require /etc/passwd
or /etc/group
anymore, but it will read them if they are there. To generate entries, run mkpasswd
/mkgroup
. You can also include only some users/group (e.g. if you want to change the Cygwin username to be different from the Windows username, include the entry for your user and change the name and home directory).
I was having an issue where files would have group permission but not user permission, or would get the execute bit set when edited outside Cygwin.
This seems to be fixed by using the Windows directory properties, setting it to have permissions for my user, then replacing permissions recursively.
I was experiencing errors when trying to install Python packages. I picked a unique-looking error ("died waiting for dll loading, errno 11") and Googled. First result is http://www.garethhunt.com/2008/02/11/cygwin-died-waiting-for-dll-loading/ (no mention of Python, but it fixed the errors):
C:\path\to\cygwin\bin\ash.exe
/bin/rebaseall
Alternative installer with some extras - http://babun.github.io/