# no annoying audible bell, please
vbell on

# detach on hangup
autodetach on

# don't display the copyright page
startup_message off

# emulate .logout message
pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."

# set every new windows hardstatus line to somenthing descriptive
#defhstatus "screen: ^En (^Et)"

#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

#escape "^Ww"

# Previous version:
#hardstatus alwayslastline "| [%{r}%n %t%{d.}] %W | [%l] | [%0c] | [%Y-%m-%d] |"
# Taken from a post by jdub to slug and modified.
hardstatus on
hardstatus alwayslastline
hardstatus string "%{.kW}%-w%{.GW}%n %t%{-}%+w %=%{..w} [%H] %{..W} %y-%m-%d %C%a"
#hardstatus alwayslastline '%-w%{.wB}%n %t%{-}%+w %=%{.w} %H: %l %{-}%d/%m %c'

# use caption to show window list:
# caption always "%{= kc}%?%-Lw%?%{= kY}%n*%f %t%?(%u)%?%{= kc}%?%+Lw%?"