How do I increase the scrollback buffer in a running screen session?

前端 未结 6 637
没有蜡笔的小新
没有蜡笔的小新 2020-12-12 08:58

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

6条回答
  •  无人及你
    2020-12-12 09:29

    There is a minimal amount of "default" buffer when you startup a 'screen' session within your 'putty session'. I use screens a lot in my work, so I can tell you that you will not have a combination of 'screen' buffer & 'putty' buffer within your 'screen' session.

    Setting the default number of scrollback lines by adding defscrollback 10000 to your ~/.screenrc file is the correct solution.

    By the way, I use "defscrollback 200000" in my ./screenrc file.

提交回复
热议问题