chiark / gitweb /
dot/inputrc: Make C-u delete the whole line.
[profile] / dot / screenrc
index e1dac2a8504ada78bfc030736f884e9bd7494a1d..e4f4652f4544cde8a74906f3c8bc7c4363786770 100644 (file)
@@ -11,10 +11,20 @@ vbell off
 ## Maintain a decent amount of scrool.
 defscrollback 1000
 
+## Snooping.
+defmonitor on
+defsilence on
+activity ""
+bell_msg ""
+
 ## Do alternate-screen switching as requested.  (Screen always uses its
 ## 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
@@ -32,6 +42,13 @@ bindkey -d -a -k fe stuff ^M
 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"
+hardstatus alwayslastline "%{= bC}%-Lw%{+b .Y}%n %t%{-}%+Lw%=%?%E* %?%?%P[] %?%H %Y-%m-%d %c:%s"
+rendition monitor + .R
+rendition bell +b .R
+rendition silence + .g
+
+## 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