emacs-devel
[Top][All Lists]
Advanced

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

Re: Bug in 256 color terminal, colors > first 8 appear as white


From: Len Trigg
Subject: Re: Bug in 256 color terminal, colors > first 8 appear as white
Date: Mon, 07 Jul 2008 10:08:01 +1200
User-agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

Len Trigg wrote:
> 
> Dan Nicolaescu wrote:
> > Do you have the header files for termcap or terminfo or ncurses installed?
> > 
> > What do you get if you do:
> > 
> > grep TERM emacs/src/config.h
> 
> After getting your message, the grep gave me:
> 
> /* #undef HAVE_TERMCAP_H */
> #define HAVE_TERMIOS_H 1
> /* #undef HAVE_TERM_H */
> 
> So I installed libtermcap-devel (I'm on centos 5.2), and now after
> doing:
> 
> make maintainer-clean && ./configure --prefix=/home2/len/local && make 
> bootstrap install
> 
> the grep gives me:
> 
> #define HAVE_TERMCAP_H 1
> #define HAVE_TERMIOS_H 1
> /* #undef HAVE_TERM_H */
> 
> Which looks better.  However, the newly built emacs still exhibits the
> same problem.  Is there more I need?

Following up myself, I found and installed ncurses-devel, and now the grep 
gives:

#define HAVE_TERMCAP_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_TERM_H 1

And now list-colors-display shows all the colors correctly.  So, to
summarize, it seems that both ncurses and termcap headers are needed
for this to work (maybe terminfo could be substituted for termcap?).

Thanks for pointing me in the right direction.


Cheers,
Len.





reply via email to

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