startup_message off defutf8 on # NOTE: utile pour les connexions SSH fragiles. defnonblock 5 nonblock on autodetach on defscrollback 5000 bind ^k bind ^\ bind \\ quit bind i focus top bind k focus bottom bind j focus up bind l focus down bind K kill bind I login on bind O login off bind } history bind ^B eval "hardcopy_append off" "hardcopy -h $HOME/var/cache/screen/urlview" "screen urlview $HOME/var/cache/screen/urlview" bind ^U eval "split -v" "focus bottom" select # NOTE: add lines to xterm's scrollback buffer. termcapinfo xterm*|*rxvt* ti@:te@ # NOTE: add stuff to xterm (and cousins) title bars. termcapinfo * 'hs:ts=\E]0;:fs=\007:ds=\E]0;\007' # NOTE: terminal understands special xterm sequences (OSC, mouse tracking). termcapinfo xterm*|*rxvt* "" XT # NOTE: set these terminals up to be 'optimal' instead of vt100. termcapinfo xterm*|*rxvt*|Eterm* OP backtick 1 0 60 sh -c 'users=$(who -u | cut -d " " -f 1 | sort -u); test "$(printf "%s\n" $users | wc -l)" -lt 2 || { users=$(printf "%s&" $users); printf "%s@" "${users%&}"; }' # NOTE: show logged in users when not alone. backtick 2 0 0 hostname backtick 3 0 84600 date '+%b' hardstatus on hardstatus alwayslastline "%{= db} %-w%{dd}%n %t%{-}%+w %=%{..m} %{= dy}%1`%{= dr}%2` %{dd}%D %d %3` %0c %{= dd}" caption splitonly "%?%F%{= .bw}%:%{= .kw}%? %=%{..C}%n%{-} %t%= " sorendition wk