Friday, February 24, 2012

Configuring GNU Screen: adding the caption




The above gnu screen session has the caption enabled.  This provides the bottom line which contains a clock, the date and all the shells in your screen session.  To add the same caption to your screen session:

Open your screen configuration file for editing. (ie. vim ~/.screenrc)
Add the appropriate caption line.

# Caption
caption always "%?%F%{= kw}[%{= g}%c%{+b g}%D%{= kw}] %{= c}%Y%{+b c}%M%{= c}%d%{= w} -*-%?%F%? %L=%-Lw%45>%{+r} %n%f* %t %{-}%+Lw%-0<"

§