🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #67414

Re: switching off color italicstext in slrn

#67414
From: Jens Wahnes
Date: Mon, 06 Nov 2000 00:00
36 lines
1838 bytes
Faheem Mitha wrote:

> If I have a piece of text of the form /foo/ then slrn as of 0.9.6.2
> decides that it is going to be coloured using "color italicstext", and
> hiding the /'s.

You can control the hiding part in your .slrnrc with

% If set to 1, do not write _ and * characters.
% If set to 2, write _ and * with spaces.
% Otherwise, if non-zero, write _ and * characters.
set emphasized_text_mode        3

> Unfortunately, there is at least one instance in which 's are used in
> /this fashion and emphasis is *not* meant, namely unix path names.

Yes, there are (though few) false positives.

> color italicstext       "magenta"       "black"

Setting it to the same colors as your normal text should be possible. 
In combination with the "emphasized_text_mode 3" and
"emphasized_text_mask 1" (so that quoted text isn't scanned for
emphasis, which would then be in the wrong color in case of false
positives, since the color of the quoted text usually differs from the
color of the normal text), there shouldn't be any problems left.


Jens

-- 
"What is robbing a bank compared with founding a bank?"

        - Bertolt Brecht

Technical Details
Message-ID: <slrn90duqv.ier.jewa@message-id.wahnes-world.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.mbox.zip!not-for-mail
References: <slrn90drmq.id.faheem@Chrestomanci.home.earth>

Show Full Headers
Complete Article Headers
Message-ID: <slrn90duqv.ier.jewa@message-id.wahnes-world.de>
Subject: Re: switching off color italicstext in slrn
Date: Mon, 06 Nov 2000 00:00:00 +0000
From: Jens Wahnes <jewa@gmx.net>
References: <slrn90drmq.id.faheem@Chrestomanci.home.earth>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 690374508
X-NNTP-Posting-Host: localhost
Mail-Copies-To: nobody
Organization: Wahnes World
User-Agent: slrn/0.9.6.3 (Linux)
Newsgroups: news.software.readers