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.