User Tools

Site Tools




The preferred Cygwin terminal emulator.


Ctrl-Arrow Keys, Ctrl-Backspace, Ctrl-Delete,

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

Open Cygwin Terminal (Mintty) Here

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 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. 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. Ctrl+T).

These directions assume Cygwin is in E:\cygwin:

  1. Go to the StExBar options
  2. Add a new custom command
    1. Icon: E:\cygwin\bin\mintty.exe
    2. Command Line: E:\cygwin\bin\mintty.exe /bin/env CHERE_INVOKING=1 /bin/bash -l
    3. Uncheck "Enabled when showing system folders"

The command line comes from



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).

Bad permissions set by non-Cygwin programs

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.


Died waiting for dll loading

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 (no mention of Python, but it fixed the errors):

  1. Close any running Cygwin processes and services
  2. Start→Run C:\path\to\cygwin\bin\ash.exe
  3. /bin/rebaseall



Alternative installer with some extras -

info/cygwin.txt · Last modified: 2016-02-11 16:38 by sam