screenwill automatically detach upon hangup, which saves all your running programs until they are resumed with a
screen -rcommand. When turned off, a hangup signal will terminate
screenand all the processes it contains. Autodetach is on by default.
(C-a d, C-a C-d)
screensession (disconnect it from the terminal and put it into the background). A detached
screencan be resumed by invoking
-roption (see Invoking Screen). The
-hoption tells screen to immediately close the connection to the terminal (‘hangup’).
Present a crypted password in your .screenrc file and screen will ask for it, whenever someone attempts to resume a detached session. This is useful, if you have privileged programs running under
screenand you want to protect your session from reattach attempts by users that managed to assume your uid. (I.e. any superuser.) If no crypted password is specified, screen prompts twice a password and places its encryption in the paste buffer. Default is `none', which disables password checking.