Skip to content

Instantly share code, notes, and snippets.

@tarnagas
Created February 15, 2019 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tarnagas/0a9bf1b3adf43a848f819ad005fa4811 to your computer and use it in GitHub Desktop.
Save tarnagas/0a9bf1b3adf43a848f819ad005fa4811 to your computer and use it in GitHub Desktop.
Minimal config for screen (.screenrc)
# Global configration
# --------------------------------------------------------------------
startup_message off
autodetach on
nonblock on
altscreen on
# define a bigger scrollback, default is 100 lines
defscrollback 1000
term screen-256color
# some termcapinfo (may be usefull, or not)
termcapinfo rxvt* 'hs:ts=\E]2;:fs=\007:ds=\E]2;\007'
termcapinfo rxvt 'hs:ts=\E]2;:fs=07:ds=\E]2;screen07'
# Enables use of shift-PgUp and shift-PgDn
termcapinfo xterm*|rxvt*|xs ti@:te@
# use ctrl-b as escape
escape ^Bb
hardstatus alwayslastline
hardstatus string '%{= gk} %-w%{= KW}% %t %{-}%+w %= [%l]'
# Local Variables:
# mode: conf
# End:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment