How to Scroll up and Down in Sliced "Screen" Terminal

I just installed screen and like the idea to divide linux terminal into multiple pieces. But I can't figure out one thing: How to scroll up and down, when I'm in screen. When I'm using regular linux terminal I can achieve this with Shift + Pg Up or Shift + Pg Dn`. but unfortunatelly it doesn't work in divided terminal.

That's what I mean when saying screen and divided terminal:

And that's a regular termina (just in case):

5 Answers

1.Control+a, then Escape.
2. after that, you should be able to move your cursor around using the arrow keys:
↑, ↓, PgUp, PgDn and sometimes works mouse wheel
3. return control: q or Esc

9

Press Ctrl-a then [ will enter the copy mode, and you can scroll up and down like vim editor. Leave the copy mode by pressing Escape.

1

Ctrl-a (default prefix) + [: Enter copy mode.

Esc: Quit copy mode.

Within copy mode:

Ctrl-u, Ctrl-d: Page up/down by certain amount of lines while preserving cursor position (default by half of the screen)

Ctrl-b, Ctrl-f: Page up/down by a full screen

1

Use CTRL + A, then Escape to enter in "Copy mode". After that, you should be able to move your cursor around using the arrow keys. To exit, press Escape again.

Another way is to do the following to use Mouse Scrollwheel:

echo 'termcapinfo xterm* ti@:te@' >> ~/.screenrc
6

Scrolling works in screen with 'terminator' in ubuntu.

sudo apt-get install terminator
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.

Share this article
Twitter Facebook Pinterest