No colours at all with ncurses and urxvt on FreeBSD 9.0-RC2
dickey at his.com
Fri Nov 25 18:31:15 UTC 2011
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 termcap.src
> > for conf/152713 and conf/153164
> > The earlier one suggests that the naming came from rxvt-unicode's sources.
> > Checking that, it seems that the rxvt-unicode entry specifies 88 colors,
> > while the rxvt-unicode-256color entry (close to rxvt-256color) does 256.
> > However, the rxvt-unicode entry in FreeBSD was added for conf/117323,
> > which equated it to rxvt-mono (no color), with some changes for function-keys.
> > On the other hand, the rxvt entry uses color, which was overlooked in
> > conf/117323:
> > # 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=\E[%dS:SR=\E[%dT:bw:ec=\E[%dX:kb=\177:kd=\EOB:ke=\E[?1l\E>:\
> > :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:lm#0:te=\E[r\E[?1049l:\
> > :ti=\E[?1049h:tc=rxvt-mono:
> And I already wondered why it was so short..
It's short because most of the content is in "rxvt-mono" (that "tc=" acts
as an include).
> > 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:
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 present
> > in rxvt.7 until it was removed in version 9.05 of rxvt-unicode. The current
> > documentation contains no examples (the termcap/terminfo are only separate
> > files).
> This sounds like a bug in FreeBSD's default termcap. Should I file a PR?
Thomas E. Dickey <dickey at invisible-island.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20111125/432dca35/attachment.pgp
More information about the freebsd-questions