Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Dec 2010 08:11:47 -0800
From:      Chip Camden <sterling@camdensoftware.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: new termcap entry for rxvt-unicode-256color
Message-ID:  <20101213161147.GB23305@libertas.local.camdensoftware.com>
In-Reply-To: <87vd2xogi1.fsf@resel.fr>
References:  <87vd2xogi1.fsf@resel.fr>

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

--IiVenqGWf+H9Y6IX
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Quoth Fr=E9d=E9ric Perrin on Monday, 13 December 2010:
> Hello,
>=20
> rxvt-unicode version 9.09 was released last month. It added support for
> 256 colors in the default configuration, and the default value of $TERM
> changed to rxvt-unicode-256color (from rxvt-unicode).
>=20
> This results in slightly incorrect colors, and some programs like vi(1)
> refuse to work. It is my understanding that I should update
> /usr/share/misc/termcap. The diff between rxvt-unicode and
> rxvt-unicode-256color seems rather short; on a Linux machine, I have :
>=20
> girafe:~% infocmp -d rxvt-unicode rxvt-unicode-256color
> comparing rxvt-unicode to rxvt-unicode-256color.
>     comparing booleans.
>     comparing numbers.
> 	colors: 88, 256.
> 	pairs: 7744, 32767.
>     comparing strings.
>=20
> However, I don't how how to update the termcap file. From my
> understanding of the manpage, the following command should give me the
> necessary information :
>=20
> girafe:~% infocmp -C -u rxvt-unicode-256color rxvt-unicode
> rxvt-unicode-256color|rxvt-unicode terminal with 256 colors (X Window Sys=
tem):\
> 	:tc=3Drxvt-unicode:
>=20
> As you see, their is no mention of the 256-color capabilities, this
> doesn't seem correct. How do I update the termcap file ?
>=20
> --=20
> Fred
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"

Take a look at the termcap entry for rxvt-256color.  It's actually based on
rxvt-unicode.  So I think that all you need to add is:

rxvt-unicode-256color|rxvt-unicode with 256 colors:\
	:tc=3Drxvt-256color:

--=20
Sterling (Chip) Camden    | sterling@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com        | http://chipsquips=
.com

--IiVenqGWf+H9Y6IX
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iQEcBAEBAgAGBQJNBkXDAAoJEIpckszW26+R1wgH/3f1gp9GXBMbghRGJVvblFbV
2m/y/xngrD2Yjy6f4b7UYyoUlO1btOxS8Zm8qwSmzbt3qUYZ0IRcSmC0diua+3i+
cjwr2GV+Dii2OFr0sjI0sb1tLBz41iH/36lB3Y2pSzqjoteB53oEOwv+R/VinPfu
2ODpl9wecsQtujycFoNh3EPQZ2FNsLQ6qRgfmpXuCXtWiwyHvoPnmFA1iIbMgoV7
Ps9DW4wbudk3N3l5XeAiy2eqeZu970Z3env+Ftdc9lgxCBJB5mZi8qq1tt6d3HZ+
3OrivWS/ai3auN7lzzY8uZHokjJedzoY1yEKosN3PyFDRzJwadLcdPvX+5XnwpE=
=I7td
-----END PGP SIGNATURE-----

--IiVenqGWf+H9Y6IX--



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