From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Martin Karlsson Newsgroups: gmane.emacs.help Subject: Re: emacs -nw, xterm and 256 colors [solved] Date: Fri, 30 Mar 2007 23:24:35 +0200 Message-ID: <86hcs2v2zw.fsf@soeren.network.lan> References: <86vegmenzb.fsf@soeren.network.lan> <861wj8uljk.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 1175290002 8658 80.91.229.12 (30 Mar 2007 21:26:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 30 Mar 2007 21:26:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 30 23:26:41 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 1HXOcL-00036p-86 for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Mar 2007 23:26:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HXOf4-0001uh-EK for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Mar 2007 16:29:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HXOdQ-0008Se-Ng for help-gnu-emacs@gnu.org; Fri, 30 Mar 2007 17:27:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HXOdP-0008Qd-44 for help-gnu-emacs@gnu.org; Fri, 30 Mar 2007 17:27:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HXOdO-0008QR-Us for help-gnu-emacs@gnu.org; Fri, 30 Mar 2007 16:27:46 -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 1HXOae-0006sN-PM for help-gnu-emacs@gnu.org; Fri, 30 Mar 2007 17:24:57 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HXOaT-0000lY-22 for help-gnu-emacs@gnu.org; Fri, 30 Mar 2007 23:24:45 +0200 Original-Received: from c-38c070d5.010-54-6f72652.cust.bredbandsbolaget.se ([213.112.192.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Mar 2007 23:24:45 +0200 Original-Received: from qsvans by c-38c070d5.010-54-6f72652.cust.bredbandsbolaget.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Mar 2007 23:24:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-38c070d5.010-54-6f72652.cust.bredbandsbolaget.se X-URL: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (berkeley-unix) Cancel-Lock: sha1:qj1tyEzmTJWEnJ2IkMkpdOEiNVo= 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:42305 Archived-At: Ilya Zakharevich writes: > [A complimentary Cc of this posting was sent to > Martin Karlsson > ], who wrote in article : >> In other words, when i set my TERM to xterm-256color, xterm happily >> obliges since it looks in terminfo. That only gives the actual xterm >> access to all those nice colours though. > > Something is very wrong in your understanding. I'm not surprised, and that's why I began my post, from which you quote, by saying: "First off, most of the following explanation is me guessing, not hard facts." Apparently my guessing was way off. > xterm has no idea what is the value of TERM in your application. > Moreover, it does not "take" any access to colors; it PROVIDES these > colors to applications which request them. > > Hope this helps, It does. Thanks for the explanation. :) Regards, -- Martin Karlsson