On Linux Mint 22.3 Cinnamon how to set an infinite `screen` `scrollback`?
May 23, 8:10pm

To set an infinite scrollback for screen on Linux Mint 22.3 Cinnamon, add this line to your ~/.screenrc file:

sh
defscrollback 1000000

Steps:

  1. Open or create the config file:
    sh
    nano ~/.screenrc
  2. Add the line above (or use a higher number if needed).
  3. Save (Ctrl+O, then Enter) and exit (Ctrl+X).
  4. Restart screen or start a new session.

Note: screen has no true "infinite" option—this sets the buffer to 1 million lines, which is effectively unlimited for most use cases. Adjust the number if you need more.

May 23, 8:10pm

This is a shared conversation and may include unverified content that doesn't reflect Mistral AI's views. Login to resume chatting.

Le Chat can make mistakes. Check answers. Learn more