🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #263057

Re: slrn printing black on white background

#263057
From: J.B. Nicholson
Date: Sun, 11 Nov 2018 07:43
32 lines
2158 bytes
Peter <Peter@pfjames.co.uk> wrote:
> Using slrn I want to print thinks like the Hellp pages and other
> odds'n e0nds in black font on a white background.  Can anyone advise
> me.

When you say print do you mean display on the screen in a terminal
window?

If you mean display on the screen in a terminal window, I think

color normal  "black"  "white"
color headers "black"  "white"

in your slrnrc will get you close to what you want, at least those
appear to be involved in rendering the help screen. There might be
other color sets.

But I'm guessing that you'll probably want some way to black text on a
white background ONLY for the help screen and then switch back to
whatever color scheme you set up when you return from the help screen.

Is that what you're looking to do?

If so, that might be possible with a macro but only on Unix systems
(per the get_bg_color() and get_fg_color() docs[1]).

If you wanted to print (as in hardcopy) the help text, you could get a
copy of the source code and extract the help text from there.


[1] http://slrn.sourceforge.net/docs/slrnfuns-7.html#ss7.4 and
    http://slrn.sourceforge.net/docs/slrnfuns-7.html#ss7.5
Technical Details
Message-ID: <slrnpufnc4.q0d.jbn@forestfield.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <slrnpu5l29.3df.Peter@phreddesimacg5.home>

Show Full Headers
Complete Article Headers
Message-ID: <slrnpufnc4.q0d.jbn@forestfield.org>
Subject: Re: slrn printing black on white background
Date: Sun, 11 Nov 2018 07:43:00 +0000
From: "J.B. Nicholson" <jbn@forestfield.org>
References: <slrnpu5l29.3df.Peter@phreddesimacg5.home>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Organization: solani.org
Lines: 32
X-Trace: solani.org 1541922180 11042 127.0.0.43 (11 Nov 2018 07:43:00 GMT)
X-Complaints-To: abuse@news.solani.org
NNTP-Posting-Date: Sun, 11 Nov 2018 07:43:00 +0000 (UTC)
User-Agent: slrn/1.0.3 (Linux)
X-User-ID: eJwFwQcRADAIBDBLZR9yWO9fQhMTJ59QN1eDIbdVcUfZeVHXEoUYPJctnpWmpmPwaC/r+0CuEkI=
Cancel-Lock: sha1:o8CBsx92LyozCY959gxpA8ySZag=
X-Received-Bytes: 2156
X-Received-Body-CRC: 4003648673