Article View: news.software.readers
Article #38396Re: slrn 0.9.4.5 woes?
From: Jan Hlavacek
Date: Sat, 31 Jan 1998 00:00
Date: Sat, 31 Jan 1998 00:00
100 lines
4668 bytes
4668 bytes
On 31 Jan 1998 00:59:01 -0700, E. <erisson@sw-tech.com> wrote:
> Jan Hlavacek <lahvak@math.mps.ohio-state.edu> wrote:
> >
> > Did you define colors for rxvt?
>
> Um, not specifically. I've never HAD to, really.
Do other programs show colors the same way in rxvt as in the console?
If yes, then it looks like slrn/slang's fault. If not, see below:
>
> Where might I do this?
>
> (No, I don't have the man page for rxvt, because I grabbed the binary
> from a friend; I don't like X and am only using it until I get a working
> terminal. <sigh>)
It is posible that you actually did define colors for rxvt, without
knowing it. If you have colors for xterm in your ~/.Xdefaults, rxvt
could pick them too. (But then, I don't know if xterm uses the same
resource names as rxvt for colors).
Another posibility is that your friend changed the compile-time detaults.
In rxvt man page:
RESOURCES (available also as long-options)
rxvt accepts application defaults set in XAPPLOADDIR/Rxvt
(compile-time defined: usually /usr/lib/X11/app-
defaults/Rxvt) and resources set in ~/.Xdefaults or ~/.Xre-
sources. Note that when reading X resources, rxvt recog-
nizes two class names: XTerm and Rxvt. The class name XTerm
allows resources common to both rxvt and xterm to be easily
configured, while the class name Rxvt allows resources
unique to rxvt, notably colors and key-handling, to be
shared between different rxvt configurations. If no
resources are specified, suitable defaults will be used.
Command-line arguments can be used to override resource set-
tings. The following resources are allowed:
(snip)
colorn: color
Use the specified color for the color value n, where
0-7 corresponds to low-intensity (normal) colors and
8-15 corresponds to high-intensity (bold = bright fore-
ground, blink = bright background) colors. The canoni-
cal names are as follows: 0=black, 1=red, 2=green,
3=yellow, 4=blue, 5=magenta, 6=cyan, 7=white, but the
actual color names used are listed in the COLORS AND
GRAPHICS section.
(snip)
COLORS AND GRAPHICS
If graphics support was enabled at compile-time, rxvt can be
queried with ANSI escape sequences and can address individ-
ual pixels instead of text characters. Note the graphics
support is still considered beta code.
In addition to the default foreground and background colors,
rxvt can display up to 16 colors (8 ANSI colors plus high-
intensity bold/blink versions of the same). Here is a list
of the colors with their rgb.txt names.
color0 (black) = Black
color1 (red) = Red3
color2 (green) = Green3
color3 (yellow) = Yellow3
color4 (blue) = Blue3
color5 (magenta) = Magenta3
color6 (cyan) = Cyan3
color7 (white) = AntiqueWhite
color8 (bright black) = Grey25
color9 (bright red) = Red
color10 (bright green) = Green
color11 (bright yellow) = Yellow
color12 (bright blue) = Blue
color13 (bright magenta) = Magenta
color14 (bright cyan) = Cyan
color15 (bright white) = White
foreground = Black
background = White
It is also possible to specify the color values of fore-
ground, background, cursorColor, cursorColor2, colorBD, col-
orUL as a number 0-15, as a convenient shorthand to refer-
ence the color name of color0-color15.
lahvak
--
Jan Hlav\'{a}\v{c}ek <lahvak@math.mps.ohio-state.edu> (BCC's will bounce)
home page: http://www.math.ohio-state.edu/~lahvak/
slrn page: http://www.math.ohio-state.edu/~lahvak/software/slrn.html
slrn documentation: http://www.math.ohio-state.edu/~lahvak/software/slrn/
Technical Details
Message-ID:
<slrn6d5opt.9ac.lahvak@math.mps.ohio-state.edu>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:
<slrn6d5ef3.324.erisson@kallisti.sw-tech.com> <slrn6d5lk3.8b6.lahvak@math.mps.ohio-state.edu> <slrn6d5nba.39i.erisson@kallisti.sw-tech.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn6d5opt.9ac.lahvak@math.mps.ohio-state.edu> Subject: Re: slrn 0.9.4.5 woes? Date: Sat, 31 Jan 1998 00:00:00 +0000 From: lahvak@math.mps.ohio-state.edu (Jan Hlavacek) References: <slrn6d5ef3.324.erisson@kallisti.sw-tech.com> <slrn6d5lk3.8b6.lahvak@math.mps.ohio-state.edu> <slrn6d5nba.39i.erisson@kallisti.sw-tech.com> 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: 320799829 Organization: Department of Mathematics, The Ohio State University Reply-To: lahvak@math.mps.ohio-state.edu Newsgroups: news.software.readers