This works great. Stolen from here.
Cygwin + Rxvt
I’ve been playing around with Cygwin since I’m forced to run WinXP on my work laptop. Cygwin’s great, I’ve used it on and off since when it was GNU-Win32 by Cygnus, but there’s a lot of improvements to it in the last year or two.
One of the things that’s irritated me is that the default console uses the cmd.exe shell as a base – makes it hard to copy + paste with the mouse, among other things. After some effort, I found the right combination of tweaks to get Rxvt working as a decent console in Cygwin.
[You’ll of course have to install Rxvt from your favorite Cygwin mirror. – Lee]
Step 1: Edit ~/.Xdefaults – the settings below create an 80×80 terminal window with a deep-blue-black background and yellow-white text (looks nice, easy on the eyes) and assign VIM-style color codes:
(see comment 6. A change might be needed to this code. I haven’t tested it yet but you might need it. Tell me if it works for you please)
! ~/.Xdefaults - X default resource settings
Rxvt*font: Lucida Console-12
! VIM-like colors
Step 2: Modify your c:cygwincygwin.bat to invoke your shiny new Rxvt instead of cmd.exe:
set CYGWIN=codepage:oem tty binmode title
rxvt -e bash --login -i