Next: , Previous: , Up: Window Settings   [Contents][Index]


10.8 Hardstatus

Screen maintains a hardstatus line for every window. If a window gets selected, the display’s hardstatus will be updated to match the window’s hardstatus line. The hardstatus line can be changed with the ANSI Application Program Command (APC): ‘ESC_<string>ESC\’. As a convenience for xterm users the sequence ‘ESC]0..2;<string>^G’ is also accepted.

Command: defhstatus [status]

(none)
The hardstatus line that all new windows will get is set to status. This command is useful to make the hardstatus of every window display the window number or title or the like. status may contain the same directives as in the window messages, but the directive escape character is ‘^E’ (octal 005) instead of ‘%’. This was done to make a misinterpretation of program generated hardstatus lines impossible. If the parameter status is omitted, the current default string is displayed. Per default the hardstatus line of new windows is empty.

Command: hstatus status

(none)
Changes the current window’s hardstatus line to status.