.screenrc and .Xdefaults (for rxvt)
Use SHIFT+PGUP and SHIFT+PGDOWN to scroll in rxvt. Here are my .Xdefaults and .screenrc config files. A lot of the .screenrc stuff is from Mark Pilgrim. I don't use his "nowplaying" script, but the caption seems to still work.
! ~/.Xdefaults
Rxvt*background: #000033
Rxvt*foreground: #ffffcc
Rxvt*font: 14
Rxvt*geometry: 80x40
Rxvt*jumpScroll: True
Rxvt*scrollBar: False
Rxvt*scrollTtyOutput: False
Rxvt*scrollTtyKeypress: True
Rxvt*background: #000033
Rxvt*foreground: #ffffcc
Rxvt*font: 14
Rxvt*geometry: 80x40
Rxvt*jumpScroll: True
Rxvt*scrollBar: False
Rxvt*scrollTtyOutput: False
Rxvt*scrollTtyKeypress: True
# ~/.screenrc
shell $SHELL
# scrollback
defscrollback 5000
defscrollback 5000
# Window numbering starts at 1
bind c screen 1
bind 0 select 10
screen 1
bind c screen 1
bind 0 select 10
screen 1
# Set the caption on the bottom line:
# window-list <nowplaying> <mm/dd/yy> <HH:MM>am/pm
# from http://diveintomark.org/public/2007/03/screenrc
caption always "%{= kw}%-w%{= BW}%n %t%{-}%+w %-= %1` %m/%d/%y %C:%s%a"
# window-list <nowplaying> <mm/dd/yy> <HH:MM>am/pm
# from http://diveintomark.org/public/2007/03/screenrc
caption always "%{= kw}%-w%{= BW}%n %t%{-}%+w %-= %1` %m/%d/%y %C:%s%a"
# use backtick for prefix key instead of Ctrl-A
escape ``
escape ``
# use regular audible bell
vbell off
vbell off
# skip intro
startup_message off
startup_message off
# detach on disconnect
autodetach on
autodetach on
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
(5)
-
aws
(9)
-
blogproject
(20)
-
c_cplusplus
(12)
-
cardstore
(8)
-
colinux
(2)
-
concurrency
(13)
-
conkeror
(2)
-
core
(2)
-
cygwin
(17)
-
datastructures
(14)
-
datetime
(4)
-
decorators
(4)
-
django
(40)
-
emacs
(22)
-
files_directories
(11)
-
git
(5)
-
hardware
(5)
-
install_setup
(8)
-
javascript
(3)
-
keyboard
(9)
-
matplotlib
(5)
-
mercurial
(4)
-
nginx
(2)
-
persistence
(5)
-
preferences
(7)
-
processes
(4)
-
pyqt
(18)
-
python
(144)
-
ratpoison
(3)
-
regexes
(6)
-
rsync
(3)
-
softwaretools
(17)
-
sql
(14)
-
ssh
(10)
-
subversion
(6)
-
twisted
(7)
-
ubuntu
(65)
-
urxvt
(5)
-
vxworks
(25)
-
webdev
(5)
-
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
- Marty Alchin
- Matt Harrison
- Nikolay Kolev
- Parand Darugar
- Peter Baumgartner
- Peter Bengtsson
- Rob Hudson
- Simon Willison
- Will McGugan