terminfo goodness for 256-color support
authorSadrul Habib Chowdhury <sadrul@users.sourceforge.net>
Sat, 14 Feb 2009 00:42:05 +0000 (13 19:42 -0500)
committerSadrul Habib Chowdhury <sadrul@users.sourceforge.net>
Sat, 14 Feb 2009 00:42:05 +0000 (13 19:42 -0500)
Taken from http://www.xvx.ca/~awg/emacs-colors-howto.txt, written by Trent W Buck.

src/terminfo/screeninfo.src

index e68f537..c5f254a 100644 (file)
@@ -71,3 +71,10 @@ screen-s|VT 100/ANSI X3.64 virtual terminal with hardstatus line,
        civis=\E[?25l, cnorm=\E[34h\E[?25h, cvvis=\E[34l,
        op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\054\054hhII00,
+screen-256color|VT 100/ANSI X3.64 virtual terminal,
+       ccc,
+       colors#256, pairs#32767,
+       initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\,
+       setab=\E[48;5;%p1%dm, setaf=\E[38;5;%p1%dm,
+       setb=\E[48;5;%p1%dm, setf=\E[38;5;%p1%dm,
+       use=screen,