nethack off # makes error messages cryptic
pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
autodetach on
-term xterm-256color
+term screen # $TERM="screen"
# use UTF-8
defutf8 on
# -------------------------------------------------------------------
# allow 256 colors
-attrcolor b ".I" # allow bold colors
+attrcolor b ".I" # use bright colors for bold text
termcapinfo xterm* 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' # tell screen how to set colors. AB = background, AF=foreground
defbce on # erase background with current bg color
bind \\
bind ^\
-# add some useful key bindings
+# easier windowlist
bind ' ' windowlist -b
+# shift+0-9 to select screens 10-19
bind ')' select 10
bind '!' select 11
bind '@' select 12