문제

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

도움이 되었습니까?

해결책

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

다른 팁

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
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top