Reputation: 2740
When I run some task using screen there was some error. I want to see the details but can only roll back one page, the previous ones are all black. Is there any way to see the previous lines?
Upvotes: 2
Views: 1927
Reputation: 38416
You can configure the scrollback buffer for screen
in your .screenrc
file:
defscrollback 5000
Will allow 5000 lines to be scrolled.
Also, during startup, you can use -h 5000
to specify the buffer for the current screen
session:
screen -h 5000
This method is useful for overriding your default setting for a single use (who quits screen?! =P).
Check out this article for good details - GNU Screen: Working with the Scrollback Buffer
Upvotes: 5