chiark / gitweb /
dot/screenrc: Add tracking of activity in other windows.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 24 Mar 2016 11:06:41 +0000 (11:06 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 25 Mar 2016 13:00:36 +0000 (13:00 +0000)
dot/screenrc

index 2ff931770fa25adacb13e68ba506cc8beabc0011..c4e779280bc77173d05169ceae76f9390970166c 100644 (file)
@@ -11,6 +11,12 @@ 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
@@ -38,7 +44,10 @@ 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