==================== Screen Configuration ==================== Configuration Locations ======================= Screen knows the following configurations locations: * **System:** ``/etc/screenrc`` * **Local:** ``~/.screen`` Setting startup_message to off ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code-block:: bash startup_message off Setting vbell to off ~~~~~~~~~~~~~~~~~~~~ .. code-block:: bash vbell off Setting defscrollback to 10000 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code-block:: bash 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: .. code-block:: bash defutf8 on Setting altscreen to on ~~~~~~~~~~~~~~~~~~~~~~~ .. code-block:: bash altscreen on Setting compacthist to on ~~~~~~~~~~~~~~~~~~~~~~~~~ Enable to suppress trailing blank lines when scrolling up text into the history buffer: .. code-block:: bash compacthist on Setting hardstatus to on ~~~~~~~~~~~~~~~~~~~~~~~~ .. code-block:: bash hardstatus on Updating hardstatus string ~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code-block:: bash hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y}%Y-%m-%d %c:%s" Using hardstatus alwayslastline ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code-block:: bash hardstatus alwayslastline Starting shells as login-shells ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code-block:: bash shell -$SHELL Setting default shelltitle to shell ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code-block:: bash shelltitle shell