Article View: news.software.readers
Article #32706Re: slrn and colors
From: Rod
Date: Fri, 11 Apr 1997 00:00
Date: Fri, 11 Apr 1997 00:00
60 lines
2436 bytes
2436 bytes
John E. Davis, davis@space.mit.edu:
>It might be possible for you to configure your terminal to associate
>different colors with these integers. I am sure that this is possible
>with rxvt and it is most likely possible with a color xterm.
The color-xterm (per?)versions I'v run across so far have all had
entries in the /usr/lib/X11/app-defaults/XTerm file that look
something like this (my changes notwithstanding):
xterm.?.foreground: ivory
xterm.?.background: black
*underLine: on
!
*VT100*color0: black
*VT100*color1: red3
*VT100*color2: green4
.
.
.
.
*VT100*color15: grey85
*VT100*colorBD: rosybrown3
*VT100*colorUL: cyan4
This is from an ansi-sb-on-right-blah-ad-infinitum, but all the ones
I've seen (so far), look like this. I've forgotton which are which,
so it'll be trial and error, but one shoud be able to add any or
all to the command line via: -xrm "*VT100*color0: hotpink", should
one be so inclined.
>color. Thus by using this attribute, it is possible to get 16
>distinct foreground colors on most ANSI terminals (but only 8
>background colors).
That would explain the number in the resource file.
>As far as I know, only rxvt allows high intensity background colors
>via the blink attribute. That is, one can get a bright brown (or
>yellow) background in rxvt by setting the blink attribute for a
[...]
Now, if only the attributes wouldn't change underneath the
curser in jed (I know you've mentioned that it's an xterm
problem, not a jed problem) so that I didn't need to do
a screen refresh manually from time to time, I'd be a
happy camper.
--
davids@davids.psyberlink.net
Steinberger:
State of the Instrument
Technical Details
Message-ID:
<slrn5krr28.55u.serling@davids.psyberlink.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn5kggj7.52c.vikas@joshua.insight.att.com> <slrn5kotg7.ksu.davis@mygir.davis.net>Show Full Headers
Complete Article Headers
Message-ID: <slrn5krr28.55u.serling@davids.psyberlink.net> Subject: Re: slrn and colors Date: Fri, 11 Apr 1997 00:00:00 +0000 From: serling@davids.isource.net (Rod) References: <slrn5kggj7.52c.vikas@joshua.insight.att.com> <slrn5kotg7.ksu.davis@mygir.davis.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 232276274 Organization: That Great Twilight Zone in the Sky Reply-To: davids@davids.psyberlink.net Newsgroups: news.software.readers