Use rxvt instead of dos command prompt
Change your cygwin.bat to@echo off
C:
chdir C:\cygwin\bin
rxvt -e bash --login -i
Customize rxvt
Create a file in your home directory named.Xdefaults
rxvt*foreground:whiteOther rxvt options can be found here.
rxvt*background:black
rxvt*font: Lucida Console-14
rxvt*scrollBar_right: true
Fix Home, End, Delete, and Insert keys
Put this into~/.inputrc
# Home Key
"\e[7~":beginning-of-line
# End Key
"\e[8~":end-of-line
# Delete Key
"\e[3~":delete-char
# Insert Key
"\e[2~":paste-from-clipboard
Then add this to
~/.bashrc
export INPUTRC=$HOME/.inputrc