Merge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile
[profile] / dot / screenrc
index 9231eff..2ff9317 100644 (file)
@@ -15,6 +15,10 @@ defscrollback 1000
 ## host's alternate-screen switching unless nobbled.)
 altscreen on
 
+## Don't try to do flow control using XON/XOFF characters.  It messes stuff
+## up and is generally annoying.
+defflow off
+
 ## Force UTF-8 now.  Screen can cope with sorting out the mess.
 defencoding utf8
 setenv LC_CTYPE en_GB.utf8
@@ -30,3 +34,13 @@ bindkey -d -a -k fe stuff ^M
 
 ## Copyright message is now boring.
 startup_message off
+
+## Caption and status lines.
+shelltitle ]|bash:
+caption splitonly "%{=br Cb}%?%F%{Yr}%?%3n %t%=%? [%h]%?"
+hardstatus alwayslastline "%{=r Cb}%-Lw%{+b Y}%n%F %t%{-}%+Lw%=%H %Y-%m-%d %c:%s"
+
+## Arrange for windows whose processes fail to hang around so I can see what
+## happened to them.  The manual says I should use `defzombie' here, but
+## screen doesn't seem to understand that.
+zombie qr onerror