Thread View: news.software.readers
1 messages
1 total messages
Started by John E. Davis
Thu, 03 Jul 1997 00:00
Re: Color bug in slrn 0.9.4.1 ?
Author: John E. Davis
Date: Thu, 03 Jul 1997 00:00
Date: Thu, 03 Jul 1997 00:00
34 lines
1643 bytes
1643 bytes
On 03 Jul 1997 11:59:37 EDT, Vikas Agnihotri <vikas@insight.att.com>
wrote:
>I expected to get the colors as defined by my .Xresources file i.e.
>
>white=color7, blue=color4, brightmagenta=color14, cyan=color6
slrn knows nothing about .Xresources. It communicates with the
terminal via escape sequences and it is up to the terminal to turn
those escape sequences into colors. With that said, slrn/slang uses
the mapping:
black --> ESC [ X 0
red --> ESC [ X 1
green --> ESC [ X 2
brown --> ESC [ X 3
blue --> ESC [ X 4
magenta --> ESC [ X 5
cyan --> ESC [ X 6
lightgray --> ESC [ X 7
where `X' is 3 for foreground and 4 for background. The bright
versions of those colors are just those colors displayed in bold,
e.g., yellow (bright brown) is
yellow --> ESC [ 1 m ESC [ 3 3
Again, what the terminal does with those escape sequences is unknown
to slrn. I suspect that color3 in your .Xresources file refers to
brown.
--John
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads