blu3ness /.screenrc

Screen, the goodness :P Basic setup, with some good shortcuts, F1, F2 to switch, F8 F9 to toggle status bar etc.
# Bo's configs
# Credits to Gigamo :P
defflow auto
defscrollback 10000
altscreen on
autodetach on
msgwait 2 # 1 second messages
shell /bin/zsh

# caption always "%{= kb}[ %{G}%H::$USER %{b}][ %=%{w}%?%-Lw%?%{b}(%{W}%n*%f %t%?(%u)%?%{b})%{w}%?%+Lw%?%= %{b}][%{kB} %Y.%m.%d %{kW}%0c %{kb}]"
# hardstatus alwayslastline "%{=b W}%{k} %= %w %=" 
hardstatus alwayslastline "%{= dR} %-Lw%50>%{= dG}%n%f* %{= dW}%t%{= dR}%+Lw%<"
# use F8 to turn the status bar off at the bottom of the screen
bindkey -k k8 hardstatus alwayslastline
# use F9 to turn the status bar on the bottom back on
bindkey -k k9 hardstatus alwaysignore

vbell_msg "[[[ ding ]]]"
vbell on
startup_message off
setenv LC_CTYPE en_US.UTF-8

#screen -t 'htop' htop
# screen -t 'torrent' rtorrent
#screen -t 'ftp' ncftp
screen -t 'rss' snownews -u
# screen -t 'irc' irssi
screen -t 'music' ncmpc
#screen -t 'web' 
screen -t 'log'	sudo tail -f /var/log/messages.log
screen -t 'zsh'

bind r screen -t 'torrent' rtorrent
bind i screen -t 'irc' irssi
bind u screen -t 'ssh' ssh 10.0.0.1 -l blu2
bind k
bind W
bind ^k
bind .
bind ^\
bind \\
bind ^h
bind h
bind 'K' kill
bind 'W' windowlist
      
bindkey -k k1 prev
bindkey -k k2 next  
pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
# caption always "%{=}%?%{r}%H %L=%{+b}%?%{b}%-Lw%47L>%?%{w}%n*%f %t %?%{b}%+Lw%?%{g}%-31=%c %l %Y-%m-%d"