Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Using the screen terminal environment, I ofen enter copy mode by using Ctrl-aEsc. However, the scrollable output is often too short for me to view the desired information.

What do I modify to extend the length of this output?

share|improve this question

1 Answer 1

up vote 11 down vote accepted

It's all there on the screen man page:

You can do it from the command line when you start screen:

-h num

    Specifies the history scrollback buffer to be num lines high.

Or from the .screenrc file:

defscrollback num

Same as the scrollback command except that the default setting for new windows is changed. Initial setting is 100.

Or from within screen, using the C-a: command:

scrollback num

Set the size of the scrollback buffer for the current windows to num lines. The default scrollback is 100 lines. See also the "defscrollback" command and use "C-a i" to view the current setting.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.