Table of Contents

Add status line to screen

Add the following to your ~/.screenrc and you'll see a status line down the bottom, showing in inverted text the date, time and system load. More escape codes found in man page link below.

Look 1

hardstatus alwayslastline
hardstatus string '%{= wb} You are in screen %n @ %H %S %{-}||| %Y-%m-%d %c | %l ' 

Look 2

caption always # activates window caption
caption string '%{= wk}[ %{k}%H %{k}][%= %{= wk}%?%-Lw%?%{r}(%{r}%n*%f%t%?(%u)%?%{r})%{k}%?%+Lw%?%?%= %{k}][%{b} %d/%m %{k}%c %{k}]' # good looking window bar
bindkey -k k5 prev # F5 for previous window
bindkey -k k6 next # F6 for next window

Tested on

See also

References