Wednesday, March 21, 2007

Cygwin tips

All tips assume you installed Cygwin at C:\cygwin

Use rxvt instead of dos command prompt

Change your cygwin.bat to
@echo off

chdir C:\cygwin\bin

rxvt -e bash --login -i

Customize rxvt

Create a file in your home directory named .Xdefaults
rxvt*font: Lucida Console-14
rxvt*scrollBar_right: true
Other rxvt options can be found here.

Fix Home, End, Delete, and Insert keys

Put this into ~/.inputrc
# Home Key

# End Key

# Delete Key

# Insert Key

Then add this to ~/.bashrc
export INPUTRC=$HOME/.inputrc