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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 14 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.