emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Emacs 256 color support.


From: Eli Zaretskii
Subject: Re: Emacs 256 color support.
Date: Wed, 08 Oct 2003 00:46:30 +0200

> From: Josh Howard <address@hidden>
> Date: 07 Oct 2003 13:52:56 -0700
> > 
> > So how about if you try to debug this?  The place to start would be to
> > step with a debugger into the function term_init (defined on term.c)
> > and see what value it assigns to the variable TN_max_colors, and why.
> 
> I ended up doing this. It apparently just reads the Co# out of the
> termcap.

So does this mean that the value of Co was incorrect?

> I decided to set this manually in the termcap which got me
> able to get 256 out of (display-color-cells)... in this case, I
> now have color-17 through color-255 available in my list of colors
> when I try to set faces, for instance.

So fixing Co fixed the problem?

> Changing or modifying my X
> resources to assign colors to color200 for instance and setting a
> face to color-200 ends up with nothing interesting happening.

Last time I checked X resources had no effect whatsoever on an Emacs
launched with the -nw switch.  Or am I missing something?




reply via email to

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