Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jun 2010 10:23:54 +0200 (CEST)
From:      David BERARD <contact@davidberard.fr>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   conf/147992: xterm-256color is a 8 colors terminal
Message-ID:  <20100619082354.047B92E4A2@mail2.polymorf.fr>
Resent-Message-ID: <201006190850.o5J8o5KS026835@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         147992
>Category:       conf
>Synopsis:       xterm-256color is a 8 colors terminal
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 19 08:50:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     David BERARD
>Release:        FreeBSD 8.0-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD beaver.polymorf.fr 8.0-RELEASE-p3 FreeBSD 8.0-RELEASE-p3 #3: Wed Jun 9 19:32:46 CEST 2010 root@beaver.polymorf.fr:/usr/obj/usr/src/sys/BEAVER amd64


>Description:
xterm-256color is an alias to xterm, so xterm-256color is a 8 colors terminal
>How-To-Repeat:
>Fix:
Apply the following patch and rebuild the termcap database (cap_mkdb /usr/share/misc/termcap)

--- termcap-xterm-256color.patch begins here ---
--- /usr/share/misc/termcap.old 2010-05-30 17:43:42.748620746 +0200
+++ /etc/termcap	2010-06-19 08:48:45.000000000 +0200
@@ -2985,7 +2985,7 @@
 # the extra features, but termcap applications still want the names.
 xterm-16color|xterm alias 1:tc=xterm-xfree86:
 xterm-88color|xterm alias 2:tc=xterm-256color:
-xterm-256color|xterm alias 3:tc=xterm-xfree86:
+xterm-256color|xterm alias 3:Co#256:tc=xterm-xfree86:
 xterm-nrc|xterm alias 4:tc=xterm:
 xterm-rep|xterm alias 5:tc=xterm:
 xterm-xmc|xterm alias 6:sg#1:tc=xterm:
--- termcap-xterm-256color.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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