This command configures the use and emulation of the terminal's hardstatus line. The first form toggles whether
screenwill use the hardware status line to display messages. If the flag is set to ‘off’, these messages are overlaid in reverse video mode at the display line. The default setting is ‘on’.
The second form tells screen what to do if the terminal doesn't have a hardstatus line (i.e. the termcap/terminfo capabilities "hs", "ts", "fs" and "ds" are not set). If the type
lastlineis used, screen will reserve the last line of the display for the hardstatus.
screen's message mechanism and
screennever to display the hardstatus. If you prepend the word
alwaysto the type (e.g.,
screenwill use the type even if the terminal supports a hardstatus line.
The third form specifies the contents of the hardstatus line.
%his used as default string, i.e., the stored hardstatus of the current window (settable via ‘ESC]0;^G’ or ‘ESC_\\’) is displayed. You can customize this to any string you like including string escapes (see String Escapes). If you leave out the argument string, the current string is displayed.
You can mix the second and third form by providing the string as additional argument.