An example .screenrc filePosted Nov 10, 2005 @ 21:09 EDT |
||
|
|
Put this in ~/.screenrc and enjoy. It was inspired by many other online examples, so thanks to everyone for making their .screenrc's available. vbell off
autodetach on
startup_message off
pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
defscrollback 1000
caption always "%{= bC}%-Lw%{= bW}%50>%n%f* %t%{-}%+Lw%>%=%{= bW}| %M %d %c"
# use xterm title as hardstatus line
terminfo xterm 'hs:ts=\E]0;:fs=\007:ds=\E]0;screen\007'
terminfo Eterm 'hs:ts=\E]0;:fs=\007:ds=\E]0;screen\007'
#remove some stupid / dangerous key bindings
bind k
bind ^k
bind .
bind ^\
bind \
bind ^h
bind h
#make them better
bind 'K' kill
bind 'I' login on
bind 'O' login off
bind '}' history
# bind = resize =
# bind + resize +1
# bind - resize -1
# bind _ resize max
| |