Question

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

Was it helpful?

Solution

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

OTHER TIPS

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.

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

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

Scrolling works in screen with 'terminator' in ubuntu.

sudo apt-get install terminator
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top