GNU Screen scroll history after reattach

2.1k views Asked by At

I've noticed that after detaching and reattaching a screen session, I lose the scroll history. I have done some searching, but anytime I combine "screen" and "scroll" I get inundated with scroll wheel integration instructions.

Anyway, synopsis:

  1. In screen
  2. Large output
  3. Detach screen
  4. Reattach screen, but scrolling only produces blank lines at the top of the terminal.
1

There are 1 answers

2
dingensundso On

For me it sounds like you scroll in your terminal (with you scrollwheel?). Of course your terminal emulator won't know the history of the screen.

To scroll inside screen you have to switch into copy mode (Ctrl A + [), then you can move around with your navigation keys (hjkl,left right up down;PgUp,PgDown eth).