Skip to content

Glossary

Attach — connect a terminal to a session as a client, and take the view (and the keyboard) of it: screen -r, or -x to join without disturbing (chapters 5 and 9).

Client — the half of Screen running in your terminal, rendering a session. It holds nothing; closing it changes nothing inside (chapter 2).

Command prefix — the key (Ctrl-A by default) that marks the next keystroke as a command to Screen rather than input to the program (chapters 2 and 8).

Copy mode — the mode for walking a window's scrollback with a cursor, marking text and copying it into the paste buffer: entered with Ctrl-A [ (chapter 7).

Detach — disconnect your client from a session while everything inside keeps running: Ctrl-A d (chapter 5).

Display — one client's view of a session, with its own size and regions. A session can have several displays at once in multi-display mode (chapter 9).

Hardcopy — a file written from a window's current screen, or with -h its screen plus scrollback: the scripted way to see inside a session (chapter 7).

Hardstatus — the status line Screen draws at the bottom of the terminal, configurable in .screenrc; the lab's shows the session name and window list (chapter 8).

Lock — freezing a session's display behind the account password while its programs run on: Ctrl-A x (chapters 9 and 14).

Message line — the single line at the bottom Screen itself uses for prompts and reports — the detach message, the Ctrl-A w window list, the position report in copy mode.

Multi-display — several clients attached to one session at once, all live: screen -x (chapter 9).

Multiuser mode — Screen's ACL system for admitting a different user to a session by name: multiuser on and acladd (chapter 9).

Paste buffer — where copy mode puts what it copies, and where Ctrl-A ] pastes from (chapter 7).

Region — a slice of a display showing one window; Screen's splits: Ctrl-A S makes one (chapter 6).

Scrollback — the lines that have rolled off a window's top, held in a buffer of configurable size; the window's recent past (chapters 7 and 8).

Server — the long-lived Screen process that owns a session and keeps its programs running whether or not anyone is attached (chapter 2).

Session — one Screen server and everything it holds: windows, programs, scrollbacks. Named with -S, listed with -ls (chapters 2 and 4).

Socket — the file under /run/screen/S-$USER through which clients reach a session's server; its presence is the screen -ls listing (chapter 2).

.screenrc — the per-user configuration file, read once when a session starts: /etc/screenrc is the system-wide sibling (chapter 8).

$STY — an environment variable Screen sets inside every window, holding the session's pid.name; the way to ask "am I inside, and in which session?" (chapter 10).

Stuff — typing text into a window from outside, as if keyed there: screen -S name -X stuff '...' (chapters 5 and 11).

Window — one virtual terminal inside a session, numbered from 0, titled, running one program — usually a shell (chapters 2 and 6).

-X — the flag that sends a Screen command into a running session from outside: screen -S name -X quit, -X hardcopy, and most of this guide's lab work.