Notes about Screen

From IdeaNet
Jump to: navigation, search

How to circumvent Cannot open your terminal '/dev/pts/1' error when running screen after a su - <user> or sudo -i -u <user>?

su - <user>
script /dev/null
screen

Ignore case in searches

  • on the fly
^A:
:ignorecase on
  • permanently, inside .screenrc set:
ignorecase on

Scrollback buffer size

  • on the fly
^A:
:scrollback <amount_of_lines>
  • permanently, inside .screenrc set:
defscrollback 10000