]> code.delx.au - dotfiles/blobdiff - .screenrc
bash: pre-exec xterm titlebar
[dotfiles] / .screenrc
index e31e34c48f68e323bdbbd901a8721df3b4d88a4d..e57db7030e9a35923f31857d106afa80e635831a 100644 (file)
--- a/.screenrc
+++ b/.screenrc
@@ -1,20 +1,15 @@
-startup_message off
 altscreen on
 defbce on
-shelltitle "$ |bash"
-term 'screen-s'
+defscrollback 10000
+escape ^Zz
+shelltitle "> |bash"
+startup_message off
 vbell off
 
-# Display a line at the bottom with hostname, window titles & time
-caption always '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%? %?%= %{g}][%{B} %l %{W}%c %{g}]'
-
-# Always send backspace as ^?, which is consistent with the bundled terminfo
-bindkey -k kb stuff ^?
-
-# turn sending of screen messages to hardstatus off
-hardstatus off
-# Set the hardstatus prop on gui terms to set the titlebar/icon title
-termcapinfo xterm*|rxvt*|kterm*|Eterm* hs:ts=\E]0;:fs=\007:ds=\E]0;\007
-# use this for the hard status string
-hardstatus string "%h%? users: %u%?"
+caption always '%{= kW}%Lw %{R}| %{kG}%h %= %?%{R}| %{kM}%Ppaste %?%?%{R}| %{kM}%EC-z %?%{R}| %{kB}%0c'
 
+# Start from window 1
+bind c screen 1
+bind ^c screen 1
+bind 0 select 10
+screen 1