Screen Configuration

Configuration Locations

Screen knows the following configurations locations:

  • System: /etc/screenrc
  • Local: ~/.screen

Setting startup_message to off

startup_message off

Setting vbell to off

vbell off

Setting defscrollback to 10000

defscrollback 10000

Setting defutf8 to on

Set UTF-8 as the default encoding used, the strings sent to a window will be UTF-8 encoded and vice versa:

defutf8 on

Setting altscreen to on

altscreen on

Setting compacthist to on

Enable to suppress trailing blank lines when scrolling up text into the history buffer:

compacthist on

Setting hardstatus to on

hardstatus on

Updating hardstatus string

hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y}%Y-%m-%d %c:%s"

Using hardstatus alwayslastline

hardstatus alwayslastline

Starting shells as login-shells

shell -$SHELL

Setting default shelltitle to shell

shelltitle shell