Tuesday 17 November 2009

Configuring Console 2 and bash with cygwin on Windows XP

One of my biggest issues with Windows XP has always been with cmd.exe. To make Windows XP much more enjoyable to use (from a command-line perspective), two excellent applications can be installed:

Cygwin: http://www.cygwin.com
Console 2: http://sourceforge.net/projects/console/files/

Once cygwin is set up and you've installed any other necessary applications (e.g. vim etc), open Console 2 and select Settings > Tabs. Create a new tab (e.g. "Bash") and for the Shell: input set the following:


You should now be able to use Console 2 to create new bash sessions by going to: File > New Tab > Bash

For a great file manager replacement, I'd also recommend installing KDE 4 for Windows:
http://windows.kde.org/
And using Dolphin.

8 comments:

Unknown said...

Sweet!

Windows becomes one step less painless...

Unknown said...

I also had to check the box "Save settings to user directory". Other than that, it worked splendidly.

Krishna Rajagopal said...

This is Awsome.Just what I was looking for.
-Krishna

Unknown said...

This is great, however, the arrow keys do not navigate in "vim" and sort of seem to freeze up the terminal.

Unknown said...

And, of course, as soon as I mentioned it, I figured out a solution. In .bashrc, export TERM=cygwin and the arrow keys behave properly.

Satish Goda said...

Very useful.. Thank you .

MJ Moquin said...
This comment has been removed by the author.
Unknown said...

Just what I was looking for. Thanks :)