You'll quickly find out that the default shell provided is a crappy windows console. It isn't too hard to create something decent as a replacement though, if you know how.
First you need to download and install the rxvt package if you haven't done that already. Run the cygwin installer and select rxvt from the shell tab, and download it. rxvt is a vt102 terminal emulator btw.
After you've done this, right click your desktop and create a new shortcut, name it rxvt or something. Rightclick on the shortcut so you can edit the properties. In the properties menu select the shortcut tab, and enter the following text in the target field: C:\cygwin\bin\rxvt.exe -sl 1000 -name rxvt -title rxvt -iconName rxvt -bg 0 -fg 15 -cr 2 -fn "courier-15" -fb "courier-15" +sb -tn xterm -e /usr/bin/bash --login -i
In the start in field enter: C:\cygwin\bin
Save the changes, double click the short cut, and voila, a pretty terminal at your service.
-- contributed by Scandum
Add the following to ~/.bash_profile to prevent the â character encoding issues while using rxvt.
LANG=en_US; export LANG
Save the session as something meaningful, e.g. "cygwin". Then you can create a shortcut to the executable and session name, for a good rxvt/terminal replacement:
"C:\Program Files\puttycyg\puttycyg.exe" -load cygwin
Make sure "Start In" is set to "C:\Program Files\puttycyg".
In your .inputrc file add
set completion-ignore-case on "\t":menu-complete
Create an rxvt.bat file in the Cygwin directory and created a desktop shortcut to it.
The CYGWIN error_start directive is used to run a program when something crashes. dumper.exe creates a .core file and gdb.exe will attach an the debugger to the process. The default is to produce a stack trace .stackdump. The Cygwin codepage:oem sets the font set to the original PC-DOS hardware set. This is handy when running Midnight Commander, CTetris and other curses based programs which use the drawing characters.
@echo off SET CYGWIN=error_start=c:\cygwin\bin\dumper.exe codepage:oem rem SET CYGWIN=error_start=c:\cygwin\bin\gdb.exe codepage:oem rem SET CYGWIN=codepage:oem SET HOME= SET TERM="rxvt-cygwin-native" SET DISPLAY= C: chdir C:\cygwin\bin rxvt -geometry 100x50 -sl 1000 -bg black -fg 15 -cr 2 -fn "courier-15" -fb "courier-15" +sb -e bash --login