X-Git-Url: https://code.delx.au/dotfiles/blobdiff_plain/7db1a43dd04390e5942c0767a19b11c3338d7924..fcab17b7b07e0b7874da79b90c51a448488b5525:/.screenrc diff --git a/.screenrc b/.screenrc index 942b673..1f4c2d4 100644 --- a/.screenrc +++ b/.screenrc @@ -1,8 +1,19 @@ startup_message off altscreen on +defbce on shelltitle "$ |bash" -hardstatus alwayslastline -hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]' +term 'screen-s' +vbell off +defscrollback 10000 -# Uncomment this line on Debian systems to make backspace work correctly -#bindkey -k kb stuff ^? +# 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 ^? + +# 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 + +# Fix alternate screen support, for some reason this doesn't get read from terminfo correctly +termcapinfo xterm* ti=\E[?1049h:te=\E[?1049l