screenrc: Add 'xterm-256color' to terminals
authorAlexander Dahl <post@lespocky.de>
Fri, 16 Aug 2019 07:35:00 +0000 (09:35 +0200)
committerAlexander Dahl <post@lespocky.de>
Fri, 16 Aug 2019 07:42:37 +0000 (09:42 +0200)
KDE's Konsole terminal sets env variable TERM to 'xterm-256color' by
default in newer versions, so the scrollbar fix did not match anymore.

Signed-off-by: Alexander Dahl <post@lespocky.de>
etc/grml/screenrc_generic

index 7b55cce..fdbaf37 100644 (file)
 # To get screen to add lines to xterm's scrollback buffer, uncomment the
 # following termcapinfo line which tells xterm to use the normal screen buffer
 # (which has scrollback), not the alternate screen buffer.
-  termcapinfo xterm|xterms|xs|rxvt ti@:te@
+  termcapinfo xterm|xterm-256color|xterms|xs|rxvt ti@:te@
 
 # Welcome the user:
   echo "welcome BoFH!"