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: Josh Howard
Subject: Re: Emacs 256 color support.
Date: 07 Oct 2003 16:15:58 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

"Eli Zaretskii" <address@hidden> writes:

> > From: Josh Howard <address@hidden>
> > Date: 07 Oct 2003 15:56:09 -0700
> > 
> > Originally in my termcap, Co was incorrect. I set it to 256 and now
> > the problem is not fixed, though display-color-cells DOES return 256
> > colors as it probably should.
> > 
> > > So fixing Co fixed the problem?
> > 
> > Not if the problem is defined as seeing 256 colors in Emacs. It just
> > makes the color list longer, though all of the new colors do nothing.
> 
> "Do nothing" meaning what, exactly?  That you don't see any more
> colors, only their names?

By "Do nothing" I mean, if I were to hit tab and attempt to complete
the list of colors available for a face, I'll see something like this:
Possible completions are:
black                              blue
brightblack                        brightblue
brightcyan                         brightgreen
brightmagenta                      brightred
brightwhite                        brightyellow
color-100                          color-101
color-102                          color-103
....
color-96                           color-97
color-98                           color-99
cyan                               green
magenta                            red
white                              yellow

Where those color-# goes from color-16 to color-255.

Selecting one of these colors, say, color-200 results in the color of
the face being white, as if nothing had happened.

> Anyway, if Co was incorrect, it probably means the comands to produce
> the extra colors (beyond the normal 16) are also wrong.

That could easily be true. I set my termcap to be the one provided in
the xterm distro and it didn't seem to help, though I could have
messed something up, I'm sure.

> I'd suggest to check the way you built and installed your xterm.  It's
> been a long time since I tried that myself, but IIRC, if you go by the
> README, you get a 256-color capable xterm with no reason to fiddle
> with termcap entries.

Well, like I say, it displays 256 colors just fine using the perl
programs that are in the xterm distro.

> All you need is what's on lisp/term/xterm.el in the CVS codebase.

That's all I'm using. The link was just a point of reference.

-- 
Josh Howard <address@hidden>




reply via email to

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