Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Feb 2011 11:06:01 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r218844 - head/share/termcap
Message-ID:  <201102191106.p1JB611P093671@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Sat Feb 19 11:06:00 2011
New Revision: 218844
URL: http://svn.freebsd.org/changeset/base/218844

Log:
  Improve 256 color support.
  
  - 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

Modified:
  head/share/termcap/termcap.src

Modified: head/share/termcap/termcap.src
==============================================================================
--- head/share/termcap/termcap.src	Sat Feb 19 10:36:05 2011	(r218843)
+++ head/share/termcap/termcap.src	Sat Feb 19 11:06:00 2011	(r218844)
@@ -2784,6 +2784,9 @@ SH|screen-s|VT 100/ANSI X3.64 virtual te
 	: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 Sy
 	: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):\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102191106.p1JB611P093671>