startup_message off
## Caption and status lines.
-shelltitle ]|bash:
caption splitonly "%{=br Cb}%?%F%{Yr}%?%3n %t%=%? [%h]%?"
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
+## Don't adjust the widths of terminal windows when starting up.
+terminfo xterm-256color is="\E[!p\E[?4l\E[4l\E>"
+
## 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.