Ajout : rule_user_configure : bash, screen, etckeeper .
[lhc/ateliers.git] / etc / screenrc
diff --git a/etc/screenrc b/etc/screenrc
new file mode 100644 (file)
index 0000000..f3194ef
--- /dev/null
@@ -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