color names

Joe Koenig <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
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


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.