From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Support for XTerm's 256-color extension? Date: 06 May 2004 08:39:45 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1083821971 7560 80.91.224.253 (6 May 2004 05:39:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 May 2004 05:39:31 +0000 (UTC) Cc: Thomas Dickey , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu May 06 07:39:25 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 1BLbbR-0007pL-00 for ; Thu, 06 May 2004 07:39:25 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BLbbR-00064N-00 for ; Thu, 06 May 2004 07:39:25 +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 1BLbar-0003ul-Ru for emacs-devel@quimby.gnus.org; Thu, 06 May 2004 01:38:49 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BLbaG-0003sx-9f for emacs-devel@gnu.org; Thu, 06 May 2004 01:38:12 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BLbZi-0003e7-MA for emacs-devel@gnu.org; Thu, 06 May 2004 01:38:11 -0400 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.30) id 1BLbZh-0003Zy-GS; Thu, 06 May 2004 01:37:37 -0400 Original-To: stktrc In-reply-to: (message from stktrc on 05 May 2004 21:43:49 +0300) 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: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22833 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22833 > From: stktrc > Date: 05 May 2004 21:43:49 +0300 > > > What is the value of "NC" for the 256-color xterm on your system? > > I found out it was 32 (disable bold), which was the cause for not > getting bold, i.e., you were on the right track. > > 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. > > # > # 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] > > I made a custom terminfo entry that extends xterm-256color with ncv#0, > so that bold now works. > > Should this really be necessary? It shouldn't, but I'm guessing that whoever wrote that entry had his/her reasons. I'm CC'ing T. Dickey in the hope that he could help us understand this issue.