Installing Cygwin
I did this with the current stable version of Cygwin (1.5.x). I installed only a minimal number of packages, including Python and gcc, but *not* including Mercurial (since the version in Cygwin is old).
Once Cygwin was installed, I created users and groups:
mkpasswd -l > /etc/passwd
mkpasswd -d -u user1 >> /etc/passwd
mkpasswd -d -u user2 >> /etc/passwd
mkgroup -l > /etc/group Then created home directories:
cd /
mkdir /home
cd /home
ln -s /c/ken user1
mkdir user2
chown user2 user2I also installed a minimal profile and kshrc for myself. The only thing unusual in the profile was that I learned about this pdksh option:
set -o vi-tabcomplete
It configures shell autocompletion using tab in addition to the usual <ESC>-\ combination.