Effective Cygwin is a collection of configurations and instructions designed to set up Cygwin to closely mimic a linux bash shell by puttying into your local cygwin environment to get the benefits of a putty terminal. Keep in mind this is still far from a true linux terminal and you will likely run into some compatibility issues.
Download Puttycyg. When you start puttycyg create a new saved session called
Cygtermas the connection type and save.
Set up your session shortcut. Create a shortcut to your putty.exe and add the following command line paramters to your target field
C:\tools\puttycyg-20101029\putty.exe -load local. Here
localrepresents the name of the saved session we created in step 1 to be loaded automatically when the shortcut is selected. In the shortcut settings you can also supply a shortcut key command to open puttycyg. Personally I like to use
Ctrl + Alt + T.
Configure Cygwin HOME. First make sure to set the Windows HOME variable e.g.
HOME=C:\Users\MY_USER. Then execute the following command:
mkpasswd -l -p "$(cygpath -H)" > /etc/passwd
This will set the home dir of each user to be that users directory. important - remember that ssh (e.g. if you are using git) explicitly ignores the HOME variable.
OPTIONAL install effective-cygwin configuration files. If you've followed the above steps correctly your C:\Users\MY_USER directory is now the home directory of your cygwin installation. As such putting a
.vimrcconfiguration files here like the ones included in this repo will ensure it is executed by the cygwin terminal.
Non-cygwin interactive prompts often do not work in cygwin. See this google code issue.
Do not install python port through cygwin. Version 2.6 is OLD. Install through windows installer. To fix the interactive prompt start using:
No known way of making MongoDb interactive prompt work in cygwin :(