How to scroll up and down in sliced "screen" terminal

LinuxUbuntuUnixTerminalGnu Screen

Linux Problem Overview


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: enter image description here

And that's a regular termina (just in case): enter image description here

Linux Solutions


Solution 1 - Linux

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

  1. return control: q or Esc

Solution 2 - Linux

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.

Solution 3 - Linux

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

Solution 4 - Linux

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

Solution 5 - Linux

Scrolling works in screen with 'terminator' in ubuntu.

sudo apt-get install terminator

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionVorView Question on Stackoverflow
Solution 1 - LinuxAnthonyView Answer on Stackoverflow
Solution 2 - LinuxWei-Yan LinView Answer on Stackoverflow
Solution 3 - LinuxgalacticaView Answer on Stackoverflow
Solution 4 - LinuxEduardo CuomoView Answer on Stackoverflow
Solution 5 - LinuxSuganView Answer on Stackoverflow