Limits
What Screen cannot do, stated as plainly as what it can. Most of these are the same fact seen from different sides: a session is a process, with a process's strengths and a process's mortality.
A reboot ends everything
Sessions are not files. They are
running programs, and the sockets that
address them live in /run — a
directory the system clears at boot.
When the machine restarts, every
session ends mid-whatever-it-was-doing,
and screen -ls on the fresh boot
reports no sockets found. There is no
hibernate, no restore-on-boot, no
checkpoint. If a job must survive
reboots rather than dropped
connections, it wants a service manager
— systemd and its kin, which start
things at boot and restart them when
they die — and Screen becomes the tool
you use to watch such a job, not the
tool that guarantees it.
If the server dies, the session dies
The Screen server is one process holding every window of one session. Kill it, starve it out of memory, or hit the machine with the failure of the day, and the session's programs get the hangup signal and end. Screen is not a supervisor: it will not restart your job, notice your job died, or keep a window open around the corpse (a window whose program exits closes, or says so and waits, by setting). One session per important job (chapter 11's recipe) limits the blast radius to one job per accident, which is the available mitigation.
The scrollback is memory, not a record
The buffer is finite by design (chapters 7 and 8) and lives in RAM. Overflow quietly discards the oldest lines; ending the session discards all of them. Anything that must be kept — an audit trail, a build log, the output of the run that failed at 3 a.m. — belongs in a file, via the logging recipe in chapter 11 or the program's own redirection. Treat the scrollback as your own short-term memory: excellent for the last hour, no evidence at all in a dispute about last week.
One machine, one session
A session lives entirely on one host. There is no moving a live session to another machine, no failover, no sharing of one session across a cluster. The SSH pattern (chapter 10) works because you go to the session, not the other way round. Tools that promise the session itself travels are solving a different and much harder problem, with machinery to match.
An old terminal model
Screen's picture of a terminal is capable but conservative. Programs that lean on the newest terminal features — exotic colour depths, graphics protocols, some mouse and clipboard integrations, elaborate Unicode — may render inside Screen a step behind how they render in a bare modern terminal, or fall back to plainer behaviour. Wide characters and combining marks have had historical edge cases. For shells, editors, logs and builds — the work this guide is about — the model is more than sufficient; for terminal showpieces, run them outside a session and know that this is why.
Sharing is trust, all the way down
Chapter 9's rule, stated as a limit: Screen offers no view-only-by-default, no audit trail of who typed what, no permissions finer than the ACL commands' grant. An attached client is a typist at your shell. And from the other side: anyone who can attach to your session — or read its socket, or become root on the machine — sees everything in it, including anything sensitive that scrolled past. Screen protects a session from the network (it has no network presence at all) and from other users only by the socket's ordinary file permissions. Lock or detach a session you walk away from.
It is finished software
Screen changes slowly, and releases are rare. That is the source of its great virtue — commands learned decades ago still work — and of its real cost: new terminal behaviour, new conveniences, and fixes arrive at a stately pace, and some distributions now install tmux (chapter 12) as the default multiplexer and Screen not at all. On such a machine this guide's skills still apply the day someone installs the package — which, chapter 3 noted, is nearly everywhere a five-word command away.