rxvt, GNU screen and bash
rxvt is a better alternative to the default Cygwin cmd.exe setup. GNU screen is a full-screen window manager that, among other things, allows you to quickly switch between shell sessions. I had some trouble figuring out how to use them together along with bash, so here are my notes on how I did it.
In your Cygwin Windows shortcut put:
Target: C:\cygwin\bin\rxvt.exe -e bash --login -iStart in: c:\cygwin\bin
At the end of your ~/.bash_profile, put the following line:
screen bash
Also, in your ~/.screenrc file (if you have one), make sure your shell command does not have a dash "-" in front. The dash in front will make screen treat the shell as a login shell, executing your "screen" command in your .bash_profile recursively. (see this thread on the zsh mailing list).
As a side note, I'm also trying out rsync. After only a small amout of use, I tend to agree with others that it rocks.
Post a comment
About
I'm Eliot and this is my notepad for programming topics such as Python, Django, Ubuntu, Emacs, etc... more »
Search Blog
Tags
-
algorithms
(4)
-
aws
(8)
-
blogproject
(20)
-
c_cplusplus
(12)
-
cardstore
(8)
-
colinux
(2)
-
concurrency
(9)
-
conkeror
(2)
-
cygwin
(18)
-
datastructures
(15)
-
datetime
(3)
-
dell
(3)
-
django
(39)
-
emacs
(20)
-
files_directories
(10)
-
install_setup
(7)
-
javascript
(3)
-
keyboard
(6)
-
matplotlib
(5)
-
mercurial
(4)
-
nginx
(2)
-
preferences
(8)
-
processes
(3)
-
pyqt
(18)
-
python
(122)
-
ratpoison
(3)
-
regexes
(5)
-
rsync
(3)
-
softwaretools
(17)
-
sql
(13)
-
ssh
(7)
-
subversion
(6)
-
twisted
(6)
-
ubuntu
(60)
-
urxvt
(5)
-
vxworks
(25)
-
webservices
(4)
-
wmii
(7)
Blogroll
- Adam Gomaa
- Alex Clemesha
- Amir Salihefendic
- Armin Ronacher
- David Beazley
- David Ziegler
- Duncan McGreggor
- Gareth Rushgrave
- Glyph Lefkowitz
- Guido van Rossum
- Ian Bicking
- Jacob Kaplan-Moss
- James Bennett
- James Tauber
- Jesper Noehr
- Matt Harrison
- Nikolay Kolev
- Parand Darugar
- Peter Baumgartner
- Peter Bengtsson
- Rob Hudson
- Simon Willison
- Will McGugan