emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Support for XTerm's 256-color extension?


From: Thomas Dickey
Subject: Re: Support for XTerm's 256-color extension?
Date: Thu, 6 May 2004 06:05:02 -0400
User-agent: Mutt/1.3.27i

On Thu, May 06, 2004 at 08:39:45AM +0200, Eli Zaretskii wrote:
> > From: stktrc <address@hidden>
> > Date: 05 May 2004 21:43:49 +0300
> > 
> > > What is the value of "NC" for the 256-color xterm on your system?
> > 
> > I found out it was 32 (disable bold), which was the cause for not
> > getting bold, i.e., you were on the right track.
> > 
> > Looking at the definition of xterm-256color in the terminfo file in
> > xterm-187, there is ncv#32.  There is a comment before the definition
> > that seems to provide some information on why ncv is 32, but I do not
> > understand it fully.  See below.
> > 
> > #
> > # OPT_PC_MODE should be settable with OSC, and the init for this
> > # should turn it off; then ncv could be 0.
> > # This uses RGB values 0..1000
> > xterm-256color|xterm with 256 colors,
> >         ccc,
> >         colors#256,
> >         ncv#32,
> > [rest, not as interesting, left out]
> > 
> > I made a custom terminfo entry that extends xterm-256color with ncv#0,
> > so that bold now works.
> > 
> > Should this really be necessary?
> 
> It shouldn't, but I'm guessing that whoever wrote that entry had
> his/her reasons.
> 
> I'm CC'ing T. Dickey in the hope that he could help us understand this
> issue.

OPT_PC_MODE refers to the optional mapping of bold as brighter colors.
If he doesn't want/need that, then it doesn't matter.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Attachment: pgpgSiRvJc3Ka.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]