defflow auto
defscrollback 5000
altscreen on
autodetach on
msgwait 2 # 1 second messages
#change the hardstatus settings to
#give an window list at the bottom of the
#screen, with the time and date and with the current window highlighted
# term screen-256color

# Unbreak scrollback in xterm-like things
termcapinfo xterm*|rxvt*|kterm*|Eterm* ti@:te@

defutf8 on
hardstatus alwayslastline
hardstatus string '%{gk}[ %{G}%H %{g}][%= %{wk}%?%-Lw%?%{=b kR}(%{W}%n*%f %t%?(%u)%?%{=b kR})%{= kw}%?%+Lw%?%?%= %{g}] %{=b C}[ %m/%d %c ]%{W}'

vbell_msg "[[[ ding ]]]"
vbell off
startup_message off

# remove some stupid / dangerous key bindings
bind k
bind W
bind ^k
bind .
bind ^\
bind \\
bind ^h
bind h
#make them better
bind 'K' kill
bind 'W' windowlist
#f1 and f2, forward and back
bindkey -k k1 prev
bindkey -k k2 next

screen 0
screen 1
screen 2
screen 3
screen 4
screen 5
screen 6
screen 7
screen 8
screen 9