X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fscreenrc;fp=etc%2Fscreenrc;h=f3194ef097b943822f56928a1da9066d2ec8bb4c;hb=00ea00be6fb08da29d2443f0e423419f82b44f57;hp=0000000000000000000000000000000000000000;hpb=f6488dca3163e1ca5870485351fdec671bec000f;p=lhc%2Fateliers.git diff --git a/etc/screenrc b/etc/screenrc new file mode 100644 index 0000000..f3194ef --- /dev/null +++ b/etc/screenrc @@ -0,0 +1,39 @@ +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 0 hostname +backtick 2 0 84600 date '+%b' +hardstatus on +hardstatus alwayslastline "%{= kb} %-w%{kw}%n %t%{-}%+w %=%{..m} %{= kr}%1` %{kw}%D %d %2` %0c %{= dd}" +caption splitonly "%?%F%{= .bw}%:%{= .kw}%? %=%{..C}%n%{-} %t%= " + +sorendition wk