Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

GNU screen notes

Look through scrollback, which includes pressing slash to search, and space- scrolling-space to select text.

CTRL+a, [

To escape viewing scrollback, press ESC. Paste what you had selected from scrollback:

CTRL+a, ]

Detach from a screen inside a screen session, courtesy of a user named chaos on Unix StackExchange.

CTRL+a, a, d

List help:

CTRL+a, ?

Split current session into two windows, switch to second window, and start new shell session in that window.

CTRL+a, |
CTRL+a, TAB
CTRL+a, c

I had some trouble running my "set -o vi" ESC commands in bash when inside a screen (or inside a screen inside a screen), but I found that pressing SHIFT with ESC made it recognize the ESC key more often.

Comments