Tuesday, 28 May 2013

How do I supress date/time display in GNU Screen vertical splits?

How do I supress date/time display in GNU Screen vertical splits?

I am using a copy of GNU Screen packaged for Fedora 18.
I copied these neat lines over onto my .screenrc, to show me the host/date-time/windows:
# Neat status bar on the bottom of the screen
caption string "%?%F%{= Bk}%? %C%A %D %d-%m-%Y %{= kB} %t%= %?%F%{= Bk}%:%{= wk}%? %n "
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}]'
Occasionally, I fire up a vertical split (Ctrl a - |), and this causes another status bar stacked on top of the window status bar I've got. This new status bar shows the date-time/window-name/window-number for each split. Now the date-time is a useless distraction. I would rather just see the window identification and nothing else for each vertical split.
How can I supress display of the date-time on the vertical split statuses?
If you want to see what I mean, here is a screenshot. Look at line#2 from the bottom of the screen:

No comments:

Post a Comment