### vim:ft=screen:fdm=marker
### screen(1) setup
###
### Frank Terbeck <ft@bewatermyfriend.org>
### Last-Modified: Wed Jan 30 21:41:21 2008
###
### URI: <http://ft.bewatermyfriend.org/comp/screen.html>
###
### i do not need that message
startup_message off
### no visual bell
vbell off
### don't write anything to utmp wtmp or whatsoever
deflogin off
### default shell to start
shell zsh
### show activity in bg windows
activity 'Activity in window %h'
### fix the cut and paste problem
#defbce on
#term screen-bce
### statusline
### these are taken from http://www.strcat.de
#hardstatus alwayslastline "%?%{yk}%-Lw%?%{wk}%n*%f %t%?(%u)%?%?%{yk}%+Lw%? %=%t %c"
#hardstatus alwayslastline "%{rk}[Time:%c] %{gb} %w %{= dd}"
#hardstatus alwayslastline "%{= kG} %w %{= dd} %=%t %{rk}[Time:%c]"
#hardstatus alwayslastline "%{kr}[Time: %c:%s]%{gk} %{+b } %w %{= dd} %=%t"
#hardstatus alwayslastline "%?%{yk}%-Lw%?%{wb}%n*%f %t%?(%u)%?%?%{yk}%+Lw%?"
#hardstatus alwayslastline "%{kr}[%H@$LOGNAME]%{wk} %?%-Lw%?%{gk}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?"
#hardstatus alwayslastline "%{kr}[%M %d :: %c]%{wk} %?%-Lw%?%{gk}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?"
#hardstatus alwayslastline "%{= kY}%c%{dd} %{= kc}windows: %?%-Lw%?%{= kY}%n*%f %t%?(%u)%?%{= kc}%?%+Lw%?"
hardstatus alwayslastline "%{= kR}[%M %d :: %c]%{dd} %{= kc}%?%-Lw%?%{= kY}%n*%f %t%?(%u)%?%{= kc}%?%+Lw%?"
#hardstatus alwayslastline "%{kr}[Time: %c:%s]%{wk} %?%-Lw%?%{gk}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?"
#hardstatus alwayslastline "%{bw}%1`%= %{+b ky}| %c:%s |%{+b rw} ip: %2` | vpn: %3`"
#hardstatus alwayslastline "%?%{yk}%-Lw%?%{wb}%n*%f %t%?(%u)%?%?%{yk}%+Lw%?"
#hardstatus alwayslastline "%{kr}[Time: %c:%s]%{gk} %{+b } %w %{= dd} %=%t"
#hardstatus alwayslastline "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<"
#hardstatus alwayslastline "\033[m\033[42;30m %m%d \033[m \033[42;30m%c\033[m\033[42;30m %w \033[m"
#hardstatus alwayslastline " %m%d \033[42;30m%c\033[m \033[42;30m %w \033[m"
#hardstatus alwayslastline " %m%d %c \033[42;30m %w \033[m"
#hardstatus alwayslastline " [%{b}fnord%{d}] | %n [%{r}%t%{d}] %W | %m/%d/%Y | %c"
#hardstatus alwayslastline "%?%{yk}%-Lw%?%{wb}%n*%f %t%?(%u)%?%?%{yk}%+Lw%?"
#hardstatus alwayslastline "%?%F%{.R.}%?%3n %t%? [%h]%?"
### screensaver, use cmatrix
### turned off by default.
blankerprg cmatrix -u 6 -b -s
idle 0
### keybindings
###
bind M screen -t 'mutt' mutt
bind R screen -t 'abook' abook
bind E screen -t 'slrn' slrn -h localhost
bind I screen -t 'w3m' w3m -B
bind O screen -t 'irssi' irssi
bind o screen -t 'irssi' irssi --noconnect
bind S screen -t 'cmus' cmus
bind T screen -t 'wyrd' wyrd
bind P paste .
bind l windowlist -b
### programm starts
screen -t 'slrn' 3 slrn -h localhost
screen -t 'mutt' 2 mutt
screen -t 'wyrd' 1 wyrd
screen -t 'cmus' 0 cmus
select 2