Adds or removes the entry in the utmp database file for the current
window. This controls if the window is “logged in”. When no parameter is
given, the login state of the window is toggled. Additionally to that
toggle, it is convenient having a “log in” and a “log out” key. E.g.
bind I login on” and ”
bind O login off”
will map these keys to be
C-a I and
C-a O. The default setting
(in config.h.in) should be “on” for a screen that runs under suidroot.
deflogin command to change the default login
state for new windows. Both commands are only present when screen has
been compiled with utmp support.