Lets say I have a currently running screen session I am interacting with through putty. I've realized that the scrollback buffer is too small and would like to increase it without starting a new screen session.
Is there a way to do this?
This question is tagged with
~ Asked on 2012-01-06 15:40:10
The man page explains that you can enter command line mode in a running session by typing Ctrl+A, :, then issuing the
scrollback <num> command.
~ Answered on 2012-01-06 15:46:38
Press Ctrl-a then : and then type
to get a 10000 line buffer, for example.
You can also set the default number of scrollback lines by adding
To scroll (if your terminal doesn't allow you to by default), press Ctrl-a ESC and then scroll (with the usual Ctrl-f for next page or Ctrl-a for previous page, or just with your mouse wheel / two-fingers). To exit the scrolling mode, just press ESC.
Another tip: Ctrl-a i shows your current buffer setting.
~ Answered on 2012-01-06 15:47:31