From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.devel Subject: Re: xterm-256color and face colors Date: Sun, 13 Dec 2009 05:18:22 +0200 Message-ID: <87638bd0jl.fsf@kobe.laptop> References: <87638bai90.fsf@kobe.laptop> <200912130251.nBD2pXY6009864@godzilla.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1260674333 29463 80.91.229.12 (13 Dec 2009 03:18:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Dec 2009 03:18:53 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 13 04:18:46 2009 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 1NJeyo-0003DO-Ks for ged-emacs-devel@m.gmane.org; Sun, 13 Dec 2009 04:18:42 +0100 Original-Received: from localhost ([127.0.0.1]:41078 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NJeyo-000802-BA for ged-emacs-devel@m.gmane.org; Sat, 12 Dec 2009 22:18:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NJeyi-0007yI-78 for emacs-devel@gnu.org; Sat, 12 Dec 2009 22:18:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NJeyd-0007wB-M9 for emacs-devel@gnu.org; Sat, 12 Dec 2009 22:18:35 -0500 Original-Received: from [199.232.76.173] (port=42900 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NJeyd-0007w8-HR for emacs-devel@gnu.org; Sat, 12 Dec 2009 22:18:31 -0500 Original-Received: from poseidon.ceid.upatras.gr ([150.140.141.169]:38341) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NJeyd-0001rz-0I for emacs-devel@gnu.org; Sat, 12 Dec 2009 22:18:31 -0500 Original-Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id BE748EB4769; Sun, 13 Dec 2009 05:18:29 +0200 (EET) Original-Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id AFD6B4533B; Sun, 13 Dec 2009 05:18:29 +0200 (EET) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Original-Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hUaeWsbAjqsP; Sun, 13 Dec 2009 05:18:29 +0200 (EET) Original-Received: from kobe.laptop (ppp-94-64-203-39.home.otenet.gr [94.64.203.39]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 2FCDE451B2; Sun, 13 Dec 2009 05:18:29 +0200 (EET) Original-Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id nBD3IQGf038042 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 13 Dec 2009 05:18:26 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Original-Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id nBD3IN3N038032; Sun, 13 Dec 2009 05:18:23 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) In-Reply-To: <200912130251.nBD2pXY6009864@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Sat, 12 Dec 2009 18:51:33 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (berkeley-unix) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:118581 Archived-At: On Sat, 12 Dec 2009 18:51:33 -0800 (PST), Dan Nicolaescu wrote: >Giorgos Keramidas writes: >> The version of Emacs I am currently running is ``GNU Emacs 23.1.90.1 >> (i386-unknown-freebsd9.0, GTK+ Version 2.18.4) of 2009-12-11 on kobe'', >> built from a Git snapshot a couple of days ago. >> >> A recent update to FreeBSD synchronized our termcap database entries for >> "xterm*" terminals with the one in xterm's source distribution. This >> was the first step towards making Emacs really support more than 8 color >> cells in xterm windows under FreeBSD. >> ... >> Trying `M-x customize-face RET font-lock-string-face RET' shows that >> strings should be using "LightSalmon" as their color, but the sample >> text near the color definition uses no color at all. The screenshot >> attached as "emacs-23-xterm-256color-string-face.png" shows this, >> and is also available online at: >> >> http://people.freebsd.org/~keramida/emacs-xterm256/emacs-23-xterm-256color-string-face.png > > This looks like a problem with xterm or the termcap/terminfo settings. Emacs > things that there are 256 colors, but when it tries to use them they > don't work correctly. > > Check if xterm is compiled with 256 colors support, there's a script in > the xterm sources called 256colors2.pl, run it and see if you can get > many colors displayed. Hi Dan, Thanks! Running the vttests/256colors.pl script from the source of xterm itself shows that indeed this is an xterm problem with my local xterm package. I'll rebuild my xterm with the WITH_256_COLOR=1 option, check again and report back :)