🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #201252

[slrn] color names

#201252
From: Joe Koenig
Date: Sun, 01 Jul 2007 08:10
63 lines
2334 bytes
Hi,

please enlighten me on the intrinsic logic of the SLRN color
handling.

I've got a setting in my ~/.Xdefaults that says:

  XTerm*color15: LightSlateGray

This seems to cause some problems.  Let me explain:

  color cursor  "red" "blue"
  color cursor  "blue" "red"

Both of the above settings do what you'd expect them to do.
Now, when setting

  color cursor  "white" "red"

SLRN interprets it as

 color cursor  "LightSlateGray" "red"

OK, I can somehow follow this logic (don't ask me why).
But then, when setting

  color cursor  "red" "white"

it doesn't inverse the above colors.  I doesn't interpret them as 

  color cursor  "red" "LightSlateGray"

Instead, it interprets it as

  color cursor  "red" "white"

(i.e.: it interprets it just like I wrote it, instead of translating
"white" to "LightSlateGray".)

What's the magic behind this?

  Joe

-
$ slrn --version
Slrn 0.9.8.1pl1 [2005-02-17]
        * Note: This version is a developer preview.
S-Lang Library Version: 2.0.6
Compiled at: Jun 21 2006 08:22:07
Operating System: Debian

 COMPILE TIME OPTIONS:
  Backends: +nntp +slrnpull +spool
  External programs / libs: +canlock +inews +ssl +uudeview
  Features: +charset_mapping +decoding +emphasized_text +end_of_thread
    +fake_refs +gen_msgid -grouplens +mime -msgid_cache +piping +rnlock
    +slang +spoilers -strict_from
 DEFAULTS:
  Default server object:     nntp
  Default posting mechanism: nntp
  Default character set:     isolatin
 SUPPORTED CHARACTER SETS:
  isolatin ibm850 ibm852 ibm857 ibm737 NeXT koi8
Technical Details
Message-ID: <5ep5roF39nk29U1@mid.uni-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <5ep5roF39nk29U1@mid.uni-berlin.de>
Subject: [slrn] color names
Date: Sun, 01 Jul 2007 08:10:32 +0000
From: Joe Koenig <jko@gmx.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.readers
Lines: 63
X-Trace: news.uni-berlin.de tZBeRaPKBVkwku5MiWD+8wK9/4qtn+JT08TWxMLs/UvtkVebc=
User-Agent: slrn/0.9.8.1pl1 (Debian)