🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Joe Koenig Tue, 26 Jun 2007 11:47
[slrn] color group "white"
#201137
Author: Joe Koenig
Date: Tue, 26 Jun 2007 11:47
49 lines
1967 bytes
Hi,

my ~/.slrnrc has a setting which says

  color group "white" "black" "bold"

However, this seems to interfere with a setting in my ~/.Xdefaults
which says

  XTerm*color15: LightSlateGray

which results in slrn displaying  

  color group "white"

as if it was

  color group "LightSlateGray"

So, how can I make slrn display the color I actually told it to use?
I've already tried things like:

  color group "#fff"
  color group "#ffffff"
  color group #ffffff


 -- Version-info --
This is on Kubuntu:

$ 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 koi
Re: [slrn] color group "white"
#201167
Author: Neil Woods
Date: Thu, 28 Jun 2007 16:03
52 lines
2423 bytes
Joe Koenig <jko@gmx.de> writes:

> Hi,
>
> my ~/.slrnrc has a setting which says
>
>   color group "white" "black" "bold"
>
> However, this seems to interfere with a setting in my ~/.Xdefaults
> which says
>
>   XTerm*color15: LightSlateGray
>
> which results in slrn displaying  
>
>   color group "white"
>
> as if it was
>
>   color group "LightSlateGray"
>
> So, how can I make slrn display the color I actually told it to use?

You need to add an entry to your ~/.Xdefaults file which you can use to
supersede the XTerm*color15 entry.  You can name this anything, as long
as it doesn't conflict with another name. E.g. I would use the following
entry in ~/.Xdefaults:

nwslrn*color15:    white

(You can, of course, add other colour redefinitions here if you wish).

Then, to merge this into the existing X resources database, execute

$ xrdb -merge ~/.Xdefaults

Then when you wish to run slrn, you need to run it from an xterm like
this:

$ xterm -name nwslrn -e slrn 

The "-name" option specifies the application name under which resources
are to be obtained (and which you have just defined within ~/.Xdefaults).

See the man pages for xterm(1x), xrdb(1) and appres(1).

[snip]

-- 
Neil.
A bureaucrat's idea of cleaning up his files is to make a copy of everything
before he destroys it.
Re: [slrn] color group "white"
#201185
Author: Joe Koenig
Date: Thu, 28 Jun 2007 20:59
11 lines
995 bytes
* Neil Woods <cnw+usenet@pobox.com> wrote:
[..]
> entry in ~/.Xdefaults:
>
> nwslrn*color15:    white
[...]
> $ xterm -name nwslrn -e slrn 

Good idea.
Thank you.
Joe
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