# UTF-8 defutf8 on # disable Ctrl-S/Ctrl-Q "flow control" defflow off nonblock on # kill startup message startup_message off vbell off # detach on hangup autodetach on # a "-" in front of $SHELL makes every window use a login shell shell $SHELL # connect windows to the display so programs like mplayer can find it when # we're inside a screen in a terminal application in a graphical environment setenv DISPLAY ':0' # print wackier status messages nethack off # restore window contents after using (e.g.) vi altscreen on # define a bigger scrollback, default is 100 lines defscrollback 1024 # an alternative hardstatus to display a bar at the bottom listing the # windownames and highlighting the current windowname in blue. (This is only # enabled if there is no hardstatus setting for your terminal) #hardstatus on #hardstatus alwayslastline #hardstatus string \"%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a \" #activity "active: %n (%t) [%w:%s]" termcapinfo xterm* 'hs:ts=\E]0;:fs=\007:ds=\E]0;\007' termcapinfo xterm*|rxvt* 'hs:ts=\E]2;:fs=07:ds=\E]2;screen07' #termcapinfo xterm*|rxvt*|urxvt*|kterm*|Eterm* hs:ts=\E]0;:fs=\007:ds=\E]0;\007 #termcapinfo xterm*|linux*|rxvt*|urxvt*|Eterm* OP # change x term title defhstatus "screen ^E (^Et) | $USER@^EH" hardstatus off # Set the caption on the bottom line: # window-list am/pm caption always "%{= kw}%-w%{= BW}%n %t%{-}%+w %-= %1` %Y/%m/%d" # default screens to start up #screen -S admin -t admin 0 su - #screen -S irc -t irc 1 irssi #screen -S xmpp -t xmpp 2 irxmpp #screen -S mail -t mail 3 sup