Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Nov 2011 13:31:09 -0500
From:      Thomas Dickey <dickey@his.com>
To:        Moritz Wilhelmy <moritz@wzff.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: No colours at all with ncurses and urxvt on FreeBSD 9.0-RC2
Message-ID:  <20111125183109.GA9325@debian50-32.invisible-island.net>
In-Reply-To: <20111125175821.GN16096@barfooze.de>
References:  <20111125105901.GK16096@barfooze.de> <20111125113718.GA4064@debian50-32.invisible-island.net> <20111125120215.GL16096@barfooze.de> <20111125131915.GA5966@debian50-32.invisible-island.net> <20111125175821.GN16096@barfooze.de>

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

--ikeVEW9yuYc//A+q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Nov 25, 2011 at 06:58:21PM +0100, Moritz Wilhelmy wrote:
> On Fri, Nov 25, 2011 at 08:19:15 -0500, Thomas Dickey wrote:
> > well... rxvt-unicode-256color was the effect of the checkins for termca=
p.src
> > for conf/152713 and conf/153164
> >=20
> > The earlier one suggests that the naming came from rxvt-unicode's sourc=
es.
> > Checking that, it seems that the rxvt-unicode entry specifies 88 colors,
> > while the rxvt-unicode-256color entry (close to rxvt-256color) does 256.
> >=20
> > However, the rxvt-unicode entry in FreeBSD was added for conf/117323,
> > which equated it to rxvt-mono (no color), with some changes for functio=
n-keys.
> >=20
> > On the other hand, the rxvt entry uses color, which was overlooked in
> > conf/117323:
> >=20
> > # Termcap entry for rxvt-unicode, taken from http://cvs.schmorp.de/rxvt=
-unicode/doc/rxvt.7.html#I_need_a_termcap_file_entry
> > rxvt-unicode|rxvt-unicode terminal (X Window System):\
> > 	:SF=3D\E[%dS:SR=3D\E[%dT:bw:ec=3D\E[%dX:kb=3D\177:kd=3D\EOB:ke=3D\E[?1=
l\E>:\
> > 	:kl=3D\EOD:kr=3D\EOC:ks=3D\E[?1h\E=3D:ku=3D\EOA:lm#0:te=3D\E[r\E[?1049=
l:\
> > 	:ti=3D\E[?1049h:tc=3Drxvt-mono:
>=20
> And I already wondered why it was so short..

It's short because most of the content is in "rxvt-mono" (that "tc=3D" acts
as an include).
=20
> > rxvt|rxvt terminal emulator (X Window System):\
> > 	:pa#64:Co#8:AF=3D\E[3%dm:AB=3D\E[4%dm:op=3D\E[39;49m:tc=3Drxvt-mono:

this also is short - the main difference between the two is that the
latter has features for color (pa, Co, AF, AB and op).

> > Following the clue from the comment, the example using no color was pre=
sent
> > in rxvt.7 until it was removed in version 9.05 of rxvt-unicode.  The cu=
rrent
> > documentation contains no examples (the termcap/terminfo are only separ=
ate
> > files).
>=20
> This sounds like a bug in FreeBSD's default termcap. Should I file a PR?

yes -=20

--=20
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net

--ikeVEW9yuYc//A+q
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAk7P3u0ACgkQcCNT4PfkjtupawCgocNx4XRGp2km79yDw3V/6DY6
xBUAoIDNh9/spdrMb1bQnZaXjbS8oEmD
=kyEC
-----END PGP SIGNATURE-----

--ikeVEW9yuYc//A+q--



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