From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.help Subject: Re: emacs -nw, xterm and 256 colors Date: Wed, 28 Mar 2007 16:53:15 +0100 Message-ID: References: <86vegmenzb.fsf@soeren.network.lan> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1175097231 20737 80.91.229.12 (28 Mar 2007 15:53:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Mar 2007 15:53:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 28 17:53:43 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HWaSy-0002L4-4L for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Mar 2007 17:53:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HWaVR-0003Re-6A for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Mar 2007 10:56:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HWaVC-0003RW-FZ for help-gnu-emacs@gnu.org; Wed, 28 Mar 2007 11:55:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HWaVA-0003RK-Pw for help-gnu-emacs@gnu.org; Wed, 28 Mar 2007 11:55:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HWaVA-0003RH-La for help-gnu-emacs@gnu.org; Wed, 28 Mar 2007 10:55:56 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HWaSg-0004wp-93 for help-gnu-emacs@gnu.org; Wed, 28 Mar 2007 11:53:22 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HWaSc-0000uR-6e for help-gnu-emacs@gnu.org; Wed, 28 Mar 2007 17:53:18 +0200 Original-Received: from sl392.st-edmunds.cam.ac.uk ([131.111.223.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Mar 2007 17:53:18 +0200 Original-Received: from sdl.web by sl392.st-edmunds.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Mar 2007 17:53:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: sl392.st-edmunds.cam.ac.uk Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAElBMVEUAAAAAAP+LRRP0pGC+ vr7///+7mT1iAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMO DhglKe4AAAEsSURBVCjPbZNBboQwDEV/Cd4X9QJRThApmn0XYW+Jyf2v0m+HhqDBgiAe9rcTG7QH w/1Vn2Ar8gBb/ocywSN3qK9T3z4eFDB4eApocBpeBs1RSykoJd8gQcm8pGmHXFso3ajnmsqV0TnY DQkOfXUfN5NwaI7AWTVOyEhcu1aHmdWItHddUVUcUgUBCkitu8V6ditHVOVdqzl2EQ1ZVGTbdK0V 7cqn8vWzoU5Q/bF9Y/Y0cRU1xwkys5dJ+Dt6pBDWifcNQml8Gh2JVmPSoQzo7en0grswkxrUGYJ7 0hSxxAGr7ZMwYcHIzprpi7TENEE1xtiYxixRlCfPBsUUrwHD7uGIwATrbnODJcVrPpVn3hxiGloe m/S+z3CtuzUSMo83N4DPH+F0evwR3P4A2k+75838OKQAAAAASUVORK5CYII= User-Agent: No Gnus v0.6, Emacs/22.0.95.6 (2007-03-18), Fedora 6 gnu/linux Cancel-Lock: sha1:9v4o4/+Ea1w8OZCTFPrPSsvRfoc= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:42245 Archived-At: On 2007-03-27, Martin Karlsson said: > I'm trying to get `emacs -nw' in xterm to display 256 colors, and so > far it's not going well. I only get 8. I was able to set TERM=term-256color and get 256 from (display-color-cells) as tested in GNU Emacs 22.0.95.6 (i686-pc-linux-gnu, GTK+ Version 2.10.8) of 2007-03-18 on Fedora 6 gnu/linux. However, (list-display-colors) only displays 7 colors namely black red green yellow blue magenta cyan and white in color, the rest are displayed with the default background. Best, -- Leo (GPG Key: 9283AA3F)