From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stanley Yao Newsgroups: gmane.emacs.help Subject: Re: termcap or terminfo Date: Wed, 30 Jul 2003 12:43:06 -0700 Organization: University of Arizona CS Department, Tucson AZ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1059595302 12531 80.91.224.249 (30 Jul 2003 20:01:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 30 Jul 2003 20:01:42 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 30 22:01:41 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 19hx7s-0003Cp-00 for ; Wed, 30 Jul 2003 22:00:44 +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 19hx7T-0000VI-Pe for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Jul 2003 16:00:19 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news.arizona.edu!CS.Arizona.EDU!lectura.CS.Arizona.EDU!yao Original-Newsgroups: gnu.emacs.help Original-Lines: 63 Original-NNTP-Posting-Host: lectura.cs.arizona.edu In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:115571 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:11489 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11489 On Wed, 30 Jul 2003, Ilya Zakharevich wrote: > [A complimentary Cc of this posting was sent to > Eli Zaretskii > ], who wrote in article : > > > Now I stick to the 8 color. But I am trying to change them a bit > > > brighter, because they are now very dark and difficult to be seen on the > > > screen (expecially the blue color). > > > I guess I need to configure the terminfo to change the palette, right? > > > > If this is on xterm or some other terminal emulator, a much easier way > > is to configure the emulator to use different colors for the 8 defined > > color names. > > FYI: I use this (but with light background): > > *VT100*colorMode: on > *VT100*boldColors: on > *VT100*dynamicColors: on Thank you both Mr./Mis. Zaretskii and Mr./Mis. Zakharevich! I am not using an xterm on the X server. I just set the TERM to be xterm-color or vt100 and use the text console in a SSH Secure Shell 3.0.0 on a windows XP machine and connect to a Solaris machine in the department. I searched on SSH website for how to change palette on the SSH client, but did not find anything. SSH Secure Shell is different from the Xterm on Linux which support the change of palette. I checked ASNI color and they send strings like \e[{attr1};...;{attrn}m to the terminal to specify the colors. Standard attributes are 0 Reset all attributes 1 Bright 2 Dim 4 Underscore 5 Blink 7 Reverse 8 Hidden Foreground Colors 30 Black 31 Red 32 Green 33 Yellow 34 Blue 35 Magenta 36 Cyan 37 White Background Colors 40 Black 41 Red 42 Green 43 Yellow 44 Blue 45 Magenta 46 Cyan 47 White Seems the SSH Client can only get the code (or name of the colors) representing colors but not the RGB values. Does this mean we can't change the palette in the shell enviroment and we can only change the palette on the terminal emulator? Thanks! Stan