Skip to content

Instantly share code, notes, and snippets.

@cleybertandre
Created December 11, 2018 19:12
Show Gist options
  • Save cleybertandre/759ceb4e5d2fae0ed554bf34d833ebcd to your computer and use it in GitHub Desktop.
Save cleybertandre/759ceb4e5d2fae0ed554bf34d833ebcd to your computer and use it in GitHub Desktop.
Linux screen configuration file
# disable startup message
startup_message off
# if we accidentally hangup, don't be all attached when we come back.
autodetach on
# more scrollbacks!
defscrollback 30000
defc1 off
defutf8 on
encoding utf-8 utf-8
defencoding utf-8
vbell off
sorendition kw
# http://www.kilobitspersecond.com/2014/02/10/understanding-gnu-screens-hardstatus-strings/
hardstatus alwayslastline "%{= KG} %H %{= Kd}|%{= Kw} %-w%{= bW}%n%f %t%{-}%+w %=| %D %M %d %c"
# https://superuser.com/a/217281
termcapinfo xterm* 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment