From d3d5ec3aa5fc064e6ea5aa6c49159a80d3820d51 Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 19 Feb 2011 11:06:00 +0000 Subject: Improve 256 color support. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add screen-256color, - Improve rxvt-256color to set pa and op properly. - Add rxvt-unicode-256color as an alias to rxvt-256color. PR: conf/152713, conf/153164 Submitted by: Alexander Verbod and Frédéric Perrin MFC after: 2 weeks --- share/termcap/termcap.src | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'share/termcap') diff --git a/share/termcap/termcap.src b/share/termcap/termcap.src index 17365cb..90e889b 100644 --- a/share/termcap/termcap.src +++ b/share/termcap/termcap.src @@ -2784,6 +2784,9 @@ SH|screen-s|VT 100/ANSI X3.64 virtual terminal with hardstatus line:\ :ts=\E_:fs=\E\\:ds=\E_\E\\:tc=screen: SW|screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols:\ :co#132:tc=screen: +screen-256color|VT 100/ANSI X3.64 terminal with 256 colors:\ + :Co#256:pa#32767:\ + :AB=\E[48;5;%dm:AF=\E[38;5;%dm:tc=screen: # $XTermId: termcap,v 1.78 2009/11/09 00:24:26 tom Exp $ # # Note: @@ -4632,7 +4635,11 @@ rxvt|rxvt terminal emulator (X Window System):\ :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:tc=rxvt-mono: rxvt-256color|rxvt terminal emulator with 256 colors:\ - :Co#256:AF=\E[38;5;%dm:AB=\E[48;5;%dm:tc=rxvt-unicode: + :Co#256:pa#32767:\ + :AB=\E[48;5;%dm:AF=\E[38;5;%dm:op=\E[39;49m:tc=rxvt-unicode: + +rxvt-unicode-256color|rxvt-unicode terminal with 256 colors (X Window System):\ + :tc=rxvt-256color: # Termcap entry for Eterm, taken from the sources of Eterm-0.9.2 Eterm|Eterm Terminal Emulator (X11 Window System):\ -- cgit v1.1