- ####### STYLE #######
- # write screen-content to xterm buffer -> enable scrolling!
- termcapinfo xterm* ti@:te@
- # last line -> stats
- hardstatus alwayslastline "%{+b kr}$USER@%{kw}%H | %3` %{ky}(load: %l) %-21=%{kw}%D %d.%m.%Y %0c"
- # above line -> screen tabs
- caption always "%{rw}%n%f %t %{wk} | %?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%? %{wk}"
- # detach automatically if session closses
- autodetach on
- # nethack-styles ;-)
- nethack on
- ####### MESSAGING #######
- vbell on
- vbell_msg " *beep* "
- # log 10000 lines
- defscrollback 10000
- # no default-msg on startup
- startup_message off
- msgminwait 3 # default: 1
- silencewait 15 # default: 30
- activity "activity in %n (%t) [%w:%s]~"
- bell "bell in %n (%t) [%w:%s]~"
- pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
- msgwait 1
- version
- msgwait 2
- ####### ENV #######
- # copy all visible data to a file
- hardcopy_append on
- # must exists
- hardcopydir $HOME/.screen-hardcopy