设置screen支持长scrollback

  1. In ~/.screenrc add or set defscrollback 50000 use 50000 or any number you want

  2. In your screen, checking by ctrl + a + i, it will show your current scrollback settings

  3. To enter scrollback/copy mode, using ctrl + a + [

  4. Use ctrl + u, ctrl + d, ctrl + f and ctrl + b for happy scolling

Et voila!!