rendered paste body#!/home/.screenrc
vbell off
autodetach on
startup_message off
pow_detach_msg "RESISTANCE IS FUTILE. YOU WILL BE ASSIMILATED"
defscrollback 8000
# keybindings
#remove some stupid / dangerous key bindings
bind k
bind ^k
bind .
bind ^\
bind \\
bind ^h
bind h
bind ^1
#make them better
bind 'K' kill
bind 'I' login on
bind 'O' login off
bind '}' history
bindkey "\033\033\133\104" prev # using octals, recommended for bash...
bindkey "\033\033\133\103" next # get 'em with showkeys -a
bindkey "\247" copy
bindkey "\033\133\064\176" paste
defencoding ISO8859-1
#defencoding UTF-8
defc1 off
defgr off
bindkey -k k1 select 0
bindkey -k k2 select 1
bindkey -k k3 select 2
bindkey -k k4 select 3
bindkey -k k5 select 4
bindkey -k k6 select 5
bindkey -k k7 select 6
bindkey -k k8 select 7
bindkey -k k9 select 8
#bindkey -k F2 next
#bindkey -k F1 prev
hardstatus on
defmonitor on
hardstatus alwayslastline
activity "%t"
#activity "Activity in window %n"
backtick 1 0 0 read -e -d ' ' # Have to read user input myself.
shelltitle '> |' #$SCREENTITLE takes care of the title here.
#caption always "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<"
caption always "%{yK}%-w%50>%{Ky}%1`%t%{-}%+w%<%{- Wk}%=%{.r}"
#caption always "%{yK}%-w%50>%{Ky}%1`%t%{-}%+w%<%{- Wk}%=%{.r}load: %l"
#hardstatus string '%{= .c}%h%=%{.g}%D %Y-%m-%d '
#hardstatus string '[%H]%{= .c}%h%=%{.g}%D %Y-%m-%d '