🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #217384

Re: [slrn] colourise headers?

#217384
From: Troy Piggins
Date: Mon, 03 Mar 2008 20:40
50 lines
3384 bytes
* George Orwell wrote:
> Hello all,
>
> Can I colourise certain headers perhaps by scoring in a sort of reverse
> killfile? If there are certain posters or topics I'm interested in. Is
> there any way to make these headers show in a different colour etc.
>
> Thanks to the authors of slrn its really brilliant and topping the list
> of favourite apps.
>
> Cheers!
>
> Andy UK

Not in vanilla slrn.  But you can with the score-color patch by Rudy
Taraschi http://www.taraschi.net/slrn

I haven't gotten around to writing a howto yet, but basically you
apply the patch to source, compile and install as usual.

Then, I include a file in my .slrnrc file like this:

  include "/home/troy/.slrn/score-color.sl"

And that score-color.sl file contains entries like this:

  score_color  7500  9999 "yellow"        "default"
  score_color  5000  7499 "brightgreen"   "default"
  score_color  2000  4999 "green"         "default"
  score_color  1000  1999 "brown"         "default"
  score_color   500   999 "brightcyan"    "default"
  score_color   200   499 "white"         "default"
  score_color   100   199 "cyan"          "default"
  score_color     1    99 "lightgray"     "default"
  score_color     0     0 "lightgray"     "default"
  score_color   -10    -1 "brightred"     "default"
  score_color   -50   -11 "red"           "default"
  score_color  -100   -51 "gray"          "default"
  score_color -1000  -101 "blue"          "default"
  score_color -9999 -1001 "blue"          "default"

You can have a different colour for any score range.

Hope that helps.

-- 
Troy Piggins | http://piggo.com/~troy/slrn                    ___  |   __   __
                                                             |___  | |/   |/  |
* Updated macro: 14/2/08 - create_msg_id.sl                   ___| | |    |   |
                           now includes random char generation           
Technical Details
Message-ID: <20080304063433.544@usenet.piggo.com>
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!t-online.de!news.albasani.net!news.motzarella.org!motzarella.org!not-for-mail
References: <9631471233a843486b334cc2f84954f0@mixmaster.it>

Show Full Headers
Complete Article Headers
Message-ID: <20080304063433.544@usenet.piggo.com>
Subject: Re: [slrn] colourise headers?
Date: Tue, 04 Mar 2008 06:40:42 +1000
From: Troy Piggins <usenet-0803@piggo.com>
References: <9631471233a843486b334cc2f84954f0@mixmaster.it>
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!t-online.de!news.albasani.net!news.motzarella.org!motzarella.org!not-for-mail
Newsgroups: news.software.readers
Organization: A noiseless patient Spider
Lines: 50
Reply-To: usenet-0803@piggo.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: feeder.motzarella.org
 U2FsdGVkX18+HbgkggecLfiF8Xc5pMZCroFrK+guWaRmVlSfAs8+5ImvDD/qKJS36MHN/vQMZJa/MyxIYfwPXfiOJ/QqhzPt25FupUrc6hkU62X1x73EQ91cTxkoprT9uKZ0W8eLzz0bYJ+a1dNmmg==
X-Complaints-To: Please send complaints to abuse@motzarella.org with full
 headers
NNTP-Posting-Date: Mon, 3 Mar 2008 20:42:13 +0000 (UTC)
X-Auth-Sender: U2FsdGVkX19jHKpzpdZ4Sialcd+LCzq9JNXclNw5fRGffrvLamVREA==
X-NNTP-Proxy: Leafnode-2
 (http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/)
Cancel-Lock: sha1:Qkd7oM5NJZXRL57zuZfttUGPNbg=
User-Agent: slrn/pre0.9.9-94/rt (Linux)