unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stanley Yao <yao@CS.Arizona.EDU>
Subject: Re: termcap or terminfo
Date: Wed, 30 Jul 2003 12:43:06 -0700	[thread overview]
Message-ID: <Pine.GSO.4.55.0307301214360.4219@lectura.CS.Arizona.EDU> (raw)
In-Reply-To: <bg924u$2mht$1@agate.berkeley.edu>

On Wed, 30 Jul 2003, Ilya Zakharevich wrote:
> [A complimentary Cc of this posting was sent to
> Eli Zaretskii
> <eliz@elta.co.il>], who wrote in article <mailman.715.1059569231.8231.help-gnu-emacs@gnu.org>:
> > > 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

  reply	other threads:[~2003-07-30 19:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-28 19:54 termcap or terminfo Stanley Yao
2003-07-29  6:41 ` Eli Zaretskii
     [not found] ` <mailman.619.1059457211.8231.help-gnu-emacs@gnu.org>
2003-07-29 21:23   ` Stanley Yao
2003-07-29 23:15     ` Thomas Dickey
2003-07-30  5:53     ` Eli Zaretskii
     [not found]     ` <mailman.695.1059541041.8231.help-gnu-emacs@gnu.org>
2003-07-30  8:08       ` Stanley Yao
2003-07-30 13:43         ` Eli Zaretskii
     [not found]         ` <mailman.715.1059569231.8231.help-gnu-emacs@gnu.org>
2003-07-30 18:18           ` Ilya Zakharevich
2003-07-30 19:43             ` Stanley Yao [this message]
2003-07-31  0:02               ` Stanley Yao
2003-07-31  6:50               ` Eli Zaretskii
     [not found]               ` <mailman.755.1059630524.8231.help-gnu-emacs@gnu.org>
2003-07-31  8:11                 ` Stanley Yao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.4.55.0307301214360.4219@lectura.CS.Arizona.EDU \
    --to=yao@cs.arizona.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).