Screen is really great, but if you don't use it every day, you can quickly lose track of the commands. Screen is used to keep a session open, possibly with an application running in it. When you exit the window and come back later, your application is still running and you can completely take control of it again.
I want to warn you, as I have seen many people do this, but screen is not equivalent to nohup!
We need to configure screen to use multiuser mode and change privileges for the guest. Put the following commands into ~/.screenrc. You can also use them in a screen session after pressing CTRL-a:
multiuseron
aclchgsnoopy-x"?"#Revoke permission to execute any screen commandaclchgsnoopy+x"wall"#Allow writing simple messages in the terminal status lineaclumasksnoopy-wx#Default permissions to windowsacladdsnoopy#Enable user snoopy to access screen session
Colors in screenrc
------------------
0 Black . leave color unchanged
1 Red b blue
2 Green c cyan
3 Brown / yellow d default color
4 Blue g green b bold
5 Purple k blacK B blinking
6 Cyan m magenta d dim
7 White r red r reverse
8 unused/illegal w white s standout
9 transparent y yellow u underline
note: "dim" is not mentioned in the manual.
STRING ESCAPES
--------------
%% percent sign (the escape character itself)
%a either 'am' or 'pm' - according to the current time
%A either 'AM' or 'PM' - according to the current time
%c current time HH:MM in 24h format
%C current time HH:MM in 12h format
%d day number - number of current day
%D Day's name - the weekday name of the current day
%f flags of the window
%F sets %? to true if the window has the focus
%h hardstatus of the window
%H hostname of the system
%l current load of the system
%m month number
%M month name
%n window number
%s seconds
%t window title
%u all other users on this window
%w all window numbers and names.
%-w all window numbers up to the current window
%+w all window numbers after the current window
%W all window numbers and names except the current one
%y last two digits of the year number
%Y full year number