SOURCES: screenrc - enable 256 colors

arekm arekm at pld-linux.org
Wed Feb 18 19:30:09 CET 2009


Author: arekm                        Date: Wed Feb 18 18:30:09 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- enable 256 colors

---- Files affected:
SOURCES:
   screenrc (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SOURCES/screenrc
diff -u SOURCES/screenrc:1.4 SOURCES/screenrc:1.5
--- SOURCES/screenrc:1.4	Mon Dec  1 09:42:02 2008
+++ SOURCES/screenrc	Wed Feb 18 19:30:03 2009
@@ -28,3 +28,11 @@
 
 # utf8 by default
 defutf8 on
+
+# terminfo and termcap for nice 256 color terminal
+# allow bold colors - necessary for some reason
+attrcolor b ".I"
+# tell screen how to set colors. AB = background, AF=foreground
+termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
+# erase background with current bg color
+defbce "on"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/screenrc?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list