From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Thomas Dickey Newsgroups: gmane.emacs.devel Subject: Re: Support for XTerm's 256-color extension? Date: Thu, 6 May 2004 06:05:02 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040506100501.GA19579@saltmine.radix.net> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0944212780==" X-Trace: sea.gmane.org 1083838095 6603 80.91.224.253 (6 May 2004 10:08:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 May 2004 10:08:15 +0000 (UTC) Cc: stktrc , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu May 06 12:08:06 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BLfnR-0003is-00 for ; Thu, 06 May 2004 12:08:05 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BLfnR-0003OL-00 for ; Thu, 06 May 2004 12:08:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BLfmI-0000qi-Je for emacs-devel@quimby.gnus.org; Thu, 06 May 2004 06:06:54 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BLflf-0000pk-Jf for emacs-devel@gnu.org; Thu, 06 May 2004 06:06:15 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BLfl7-0000db-0j for emacs-devel@gnu.org; Thu, 06 May 2004 06:06:12 -0400 Original-Received: from [207.192.128.40] (helo=saltmine.radix.net) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BLfkZ-0000NK-Ja; Thu, 06 May 2004 06:05:07 -0400 Original-Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id i46A52kL024507; Thu, 6 May 2004 06:05:02 -0400 (EDT) Original-Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id i46A52SB024505; Thu, 6 May 2004 06:05:02 -0400 (EDT) Original-To: Eli Zaretskii In-Reply-To: User-Agent: Mutt/1.3.27i X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Mime-version: 1.0 Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22842 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22842 --===============0944212780== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 06, 2004 at 08:39:45AM +0200, Eli Zaretskii wrote: > > From: stktrc > > Date: 05 May 2004 21:43:49 +0300 > >=20 > > > What is the value of "NC" for the 256-color xterm on your system? > >=20 > > I found out it was 32 (disable bold), which was the cause for not > > getting bold, i.e., you were on the right track. > >=20 > > Looking at the definition of xterm-256color in the terminfo file in > > xterm-187, there is ncv#32. There is a comment before the definition > > that seems to provide some information on why ncv is 32, but I do not > > understand it fully. See below. > >=20 > > # > > # OPT_PC_MODE should be settable with OSC, and the init for this > > # should turn it off; then ncv could be 0. > > # This uses RGB values 0..1000 > > xterm-256color|xterm with 256 colors, > > ccc, > > colors#256, > > ncv#32, > > [rest, not as interesting, left out] > >=20 > > I made a custom terminfo entry that extends xterm-256color with ncv#0, > > so that bold now works. > >=20 > > Should this really be necessary? >=20 > It shouldn't, but I'm guessing that whoever wrote that entry had > his/her reasons. >=20 > I'm CC'ing T. Dickey in the hope that he could help us understand this > issue. OPT_PC_MODE refers to the optional mapping of bold as brighter colors. If he doesn't want/need that, then it doesn't matter. --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --jRHKVT23PllUwdXP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFAmg3HtIqByHxlDocRAlaIAJ9AgTCyk9/h/q0mQR0jgXIbjsitkgCgluVx ENPGNhH8B7r9EEEACXy+sFM= =7Mdn -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP-- --===============0944212780== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel --===============0944212780==--