From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: Bug in 256 color terminal, colors > first 8 appear as white Date: Thu, 03 Jul 2008 18:50:27 -0700 Message-ID: <200807040150.m641oRo6002447@sallyv1.ics.uci.edu> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1215136409 7132 80.91.229.12 (4 Jul 2008 01:53:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jul 2008 01:53:29 +0000 (UTC) Cc: Emacs-Devel devel To: Len Trigg Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 04 03:54:15 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 1KEaV4-0000XQ-Mv for ged-emacs-devel@m.gmane.org; Fri, 04 Jul 2008 03:54:14 +0200 Original-Received: from localhost ([127.0.0.1]:55646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEaUD-0004yN-TT for ged-emacs-devel@m.gmane.org; Thu, 03 Jul 2008 21:53:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KEaU9-0004xj-Je for emacs-devel@gnu.org; Thu, 03 Jul 2008 21:53:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KEaU8-0004xI-To for emacs-devel@gnu.org; Thu, 03 Jul 2008 21:53:17 -0400 Original-Received: from [199.232.76.173] (port=58233 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEaU8-0004x9-Pd for emacs-devel@gnu.org; Thu, 03 Jul 2008 21:53:16 -0400 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]:62956) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1KEaU8-0001DO-O2 for emacs-devel@gnu.org; Thu, 03 Jul 2008 21:53:16 -0400 X-ICS-MailScanner-Watermark: 1215741029.1621@tseWNhb11hyt7/Bh6j6otQ Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m641oRo6002447; Thu, 3 Jul 2008 18:50:27 -0700 (PDT) In-Reply-To: (Len Trigg's message of "Fri, 04 Jul 2008 13:02:14 +1200") Original-Lines: 25 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.363, required 5, autolearn=disabled, ALL_TRUSTED -1.44, TW_RX 0.08) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) 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:100324 Archived-At: Len Trigg writes: > Hi there, > > I have xterm and rxvt set up for 256 colors, however when I start > emacs -nw in these, list-colors-display shows 256 rows, but only the > first 8 actually display with different colors, the rest are all shown > in white. This seems like it is a bug in emacs (although these things > can be tricky to pinpoint). > > I am fairly sure non-emacs factors have been set up OK. From the > xterm/rxvt, if I run 256colors2.pl (found on the net), I get all the > colors showing nicely, verifying that the terminals themselves are set > for 256 colors. Running "tput colors" shows 256. My $TERM is > xterm-256color. > > Is this a bug, or is there some configuration I am missing? (I am > running emacs built from CVS a couple of weeks ago) 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