From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Len Trigg Newsgroups: gmane.emacs.devel Subject: Re: Bug in 256 color terminal, colors > first 8 appear as white Date: Mon, 07 Jul 2008 10:08:01 +1200 Organization: NetValue Ltd. Message-ID: References: <200807040150.m641oRo6002447@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1215441242 4416 80.91.229.12 (7 Jul 2008 14:34:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jul 2008 14:34:02 +0000 (UTC) Cc: Emacs-Devel devel To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 07 16:34:48 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KFrmS-0000PB-Vo for ged-emacs-devel@m.gmane.org; Mon, 07 Jul 2008 16:33:32 +0200 Original-Received: from localhost ([127.0.0.1]:48415 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KFrlY-0008Rc-Os for ged-emacs-devel@m.gmane.org; Mon, 07 Jul 2008 10:32:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KFcOt-0002Nd-F7 for emacs-devel@gnu.org; Sun, 06 Jul 2008 18:08:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KFcOs-0002NE-PB for emacs-devel@gnu.org; Sun, 06 Jul 2008 18:08:07 -0400 Original-Received: from [199.232.76.173] (port=39395 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KFcOs-0002NB-HZ for emacs-devel@gnu.org; Sun, 06 Jul 2008 18:08:06 -0400 Original-Received: from [202.37.129.7] (port=60657 helo=netvalue.net.nz) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KFcOr-0008HX-MZ for emacs-devel@gnu.org; Sun, 06 Jul 2008 18:08:06 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by netvalue.net.nz (Postfix) with ESMTP id BD8D41336CA; Mon, 7 Jul 2008 10:05:46 +1200 (NZST) X-Virus-Scanned: Debian amavisd-new at netvalue.net.nz Original-Received: from netvalue.net.nz ([127.0.0.1]) by localhost (netvalue.net.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wc0AS0nE9iUM; Mon, 7 Jul 2008 10:05:44 +1200 (NZST) Original-Received: from nepenthes.nz.reeltwo.com (colosus.18londonst.co.nz [131.203.126.193]) by netvalue.net.nz (Postfix) with ESMTP id 57DF9133728; Mon, 7 Jul 2008 10:05:44 +1200 (NZST) In-Reply-To: User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-Payment: hashcash 1.2 1:10:080706:dann@ics.uci.edu::OIbweWP/HASVeqra:0002e X-Hashcash: 1:10:080706:dann@ics.uci.edu::OIbweWP/HASVeqra:0002e X-Payment: hashcash 1.2 1:10:080706:emacs-devel@gnu.org::cghbOTXocUk6E5QJ:0000000000000000000000000000000000000000000059 X-Hashcash: 1:10:080706:emacs-devel@gnu.org::cghbOTXocUk6E5QJ:0000000000000000000000000000000000000000000059 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) X-Mailman-Approved-At: Mon, 07 Jul 2008 10:32:28 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:100420 Archived-At: 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.