rndm_luser /.screenrc

# .screenrc
#
# $Id$
#
# TIPS:
#   dump entire scrollback buffer       :   C-a [ g SPACE G $ >]
#   source file from running session    :   C-a :/path/to/file
#   change window number/position       :   C-a :number [#]
#   rename session for `session -list`  :   C-a :session [name]

source /etc/screenrc

screen -t $SHELL -l $SHELL

activity "%"
altscreen on
autodetach on
#blankerprg vlock
bufferfile "$HOME/.screen/exchange"
# The following directory must be be created.
hardcopydir "$HOME/.screen/hardcopy"
crlf off
debug off
deflogin on
defmonitor on
defscrollback 1000
defutf8 on
# Lock screen after N seconds of idleness. Don't rely on this for security.
idle 360 lockscreen
# Prepend `!' to window-status display upon activity.
monitor on
msgminwait 0
msgwait 0
nonblock on
#printcmd "lpr"
printcmd "cat > $HOME/.screen/print.$$"
shell -${SHELL}
shelltitle "$ | $SHELL"
startup_message off
vbell off

# Reverse colors with hostname, load averages, and date.
hardstatus on
caption always "%?%F%{-}%h%{+r} %= %{-} %n "
hardstatus alwayslastline "%{-}%-Lw%{+r} %n%f %t %{-}%+Lw %=%{+r} %H%?  %l  %C %a %D %M %d %Y"

# Microsoft menu key (between R_Alt and R_Ctl)
bindkey [29~ windowlist -b

# Number current window to zero.
bind \# number 0

bind ~ screen -t mc mc -b $HOME

bind + resize +5
bind - resize -5
bind = resize =

bind , source "$HOME/.screenrc"

bind j focus down
bind k focus up
bind g focus top
bind G focus bottom

bindkey -k k1 screen -t "help" man screen
bindkey "\024" mapdefault

#bind  meta

bind E screen -t "vim (root)" sudo vim
bind e screen -t vim vim
bind % screen -t top top
bind i screen -t irc irssi
bind m screen -t mail mutt -y
bind n screen -t news slrn --create
bind r screen -t rss snownews
bind t screen -t torrent rtorrent
bind v screen -t mixer alsamixer
bind w screen -t www w3m http://www.google.com
bind y screen -t music mocp