Created
February 15, 2019 09:57
-
-
Save tarnagas/0a9bf1b3adf43a848f819ad005fa4811 to your computer and use it in GitHub Desktop.
Minimal config for screen (.screenrc)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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