]> code.delx.au - dotfiles/blobdiff - .screenrc
Mutt: xtitle displays Mutt at end rather than beginning
[dotfiles] / .screenrc
index df0bd73e57a40a8cfa1cec9ff872904db45b7ab0..d8db0be39a2eabddf0f224d98e85f6c6a960ed4b 100644 (file)
--- a/.screenrc
+++ b/.screenrc
@@ -1,5 +1,15 @@
 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'
+
+# Screen needs to be told how to set the xterm titlebar
+termcapinfo xterm*|rxvt*|kterm*|Eterm* 'hs:ts=\E]0;:fs=\007:ds=\E]0;\007'
+
+# 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} %d/%m %{W}%c %{g}]'
+
+# Always send backspace as ^?, which is consistent with the bundled terminfo
+bindkey -k kb stuff ^?
+