]> code.delx.au - dotfiles/blobdiff - .screenrc
xmonad: change restart key
[dotfiles] / .screenrc
index ec3428fa75a833e7378a234320a14647af25ebab..1f4c2d4ce4b8b878578ef0d1586454667aa7346c 100644 (file)
--- a/.screenrc
+++ b/.screenrc
@@ -4,7 +4,7 @@ defbce on
 shelltitle "$ |bash"
 term 'screen-s'
 vbell off
-defscrollback 1024
+defscrollback 10000
 
 # 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}]'
@@ -12,10 +12,8 @@ caption always '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?
 # 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%?"
 
+# Fix alternate screen support, for some reason this doesn't get read from terminfo correctly
+termcapinfo xterm* ti=\E[?1049h:te=\E[?1049l