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: 08 Oct 2003 12:57:32 +0200

> From: Josh Howard <address@hidden>
> Date: 07 Oct 2003 23:26:49 -0700
> 
> > 
> > What do you see if you type "M-x list-colors-display RET"?
> 
> A very long list of colors sort of related the above:
> 
> black                 black
> red                   red 
> green                 green 
> yellow                yellow
> blue                  blue
> magenta               magenta
> cyan                  cyan
> white                 white
> brightblack           brightblack
> brightred             brightred
> brightgreen           brightgreen
> brightyellow          brightyellow
> brightblue            brightblue
> brightmagenta         brightmagenta
> brightcyan            brightcyan
> brightwhite           brightwhite
> color-16              color-16
> color-17              color-17
> ...
> color-255             color-255
> 
> Save for black, red, green, yellow, blue, magenta and cyan, all of
> the rest of the colors are displayed as white.

Sounds like the color commands for the extended colors are screwed up.
Please type "M-x open-termscript RET" command, then type "M-x
list-colors-display RET", and see what escape sequences wind up in the
termscript file.  They should be exactly what the Perl script that
displays the 256 colors writes to the screen.

If indeed the escape sequences are wrong, please again step through
the term_init function and see what happens in the fragment that
queries the terminal driver about the commands to set colors, the
fragment that begins like this:

  if (TS_orig_pair)
    {
      TS_set_foreground = tgetstr ("AF", address);

What values do the two calls to tgetstr return here?  Please compare
that with the extended color commands documented in the xterm-256
docs.





reply via email to

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