Wednesday, September 8, 2010

Better Cygwin Terminal

It's been a while since my last post. I still don't have time to do it properly, but here goes a tip for those of us who use Cygwin:

Make sure rxvt is part of your Cygwin install, and update your C:\cygwin\cygwin.bat to this:

@echo off
 C:
 chdir \cygwin\bin
 start rxvt -sr -sl 10000 -fg white -bg black -fn fixedsys -fb fixedsys -tn cygwin -e /bin/bash --login -i

(If you don't want the first window hanging around)
@echo off
 C:
 chdir C:\cygwin\bin
 set EDITOR=vi
 set VISUAL=vi
 set CYGWIN=codepage:oem tty binmode title
 rxvt -sr -sl 10000 -fg white -bg black -fn fixedsys -fb fixedsys -tn cygwin -e bash --login -i


Check out this site for more info.