caption always '%{gk}[%= %{wk}%?%-Lw%?%{=b kR}(%{w}%n*%f %t%?(%u)%?%{=b kR})%{= kw}%?%+Lw%?%?%= %{g}][%{Y}%l%{g}]%{W}'
vbell off
autodetach on
nethack on
startup_message off
defscrollback 5000
altscreen on
shell -$SHELL
#putty
bindkey ^[[D prev
bindkey ^[[C next
#konsole
bindkey ^[[1;5D prev
bindkey ^[[1;5C next
#term xterm
# terminfo and termcap for nice 256 color terminal
# allow bold colors - necessary for some reason
attrcolor b ".I"
# tell screen how to set colors. AB = background, AF=foreground
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
# erase background with current bg color
defbce "on"