From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Thomas Dickey Newsgroups: gmane.emacs.help Subject: Re: termcap or terminfo Date: 29 Jul 2003 23:15:11 GMT Organization: RadixNet Internet Services Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1059520609 32757 80.91.224.249 (29 Jul 2003 23:16:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 29 Jul 2003 23:16:49 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 30 01:16:47 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19hdhI-0008Tc-00 for ; Wed, 30 Jul 2003 01:16:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19hdgw-0005Tq-L9 for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jul 2003 19:15:38 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newspeer.radix.net!news1.radix.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: saltmine.radix.net User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (SunOS/5.8 (sun4u)) Original-Xref: shelby.stanford.edu gnu.emacs.help:115545 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11463 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11463 Stanley Yao wrote: > Thanks a lot. It's using terminfo and now I got color syntax highlighting > in emacs. But there are only 8 colors available by checking ESC-x > list-colors-display and the colors are mostly dark. How can I get more > colors and more bright colors? I modified the color#8 entry in terminfo > into color#256. But it did not make any difference. Any suggestions? Changing the "color#" value is not going to help. The shades of color are (almost always) set by external configuration details (e.g., resource values for xterm). Different terminal emulators provide support for different numbers of colors - typically 8. A few allow 16. XFree86 xterm does 8/16/88/256 (with appropriate terminfo, and application that knows how to use it). -- Thomas E. Dickey http://dickey.his.com ftp://dickey.his.com