🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #177953

Re: [slrn] Feature request - .slrnrc "color from_myself" behaviour

#177953
From: Troy Piggins
Date: Sat, 17 Dec 2005 07:06
81 lines
3974 bytes
* Rudy Taraschi wrote:
> Troy Piggins wrote:
>
>> I use scoring to make myself stand out in the crowd.  That worked
>> for a while, until I discovered Rudy Tarashi's score colo[u]r
>> patch.  It is truly awesome.
>
> Thanks.  Believe it or not, this is the first definitive instance of
> someone using the patch besides myself.  You spelled my last name
> wrong though ;-)

Rudy I am so sorry about the misspelling.  I will make myself type
Taraschi 1000 times on a blackboard.

>> You can assign different colours for different scored articles.
>> This is much more powerful than the default min score, max score
>> colour options.
>>
>> So you can assign a score for your realname *and* email/msgid
>> combo to ensure it's just you, then assign a bright colour like
>> yellow or brightcyan for those posts.
>>
>> With this in my ~/.slrnrc :
>
> [snip .slrnrc file]
>
> Here's another suggestion.  Why not score_color on your exact score.
> For instance, if you assign a score of =9777 to yourself, add the
> line:
>
>      score_color 9777 9777 "white" "blue"
>
> as the last score_color entry.  This has a reverse video effect
> (assuming your background is not blue) and will match *only* your
> post or replies.
>
>> I had trouble googleing it at the time, but Rudy emailed it direct to
>> me.  Let me know if you want it and I can provide it.
>
> It's available here for SINNER (and anyone else who wants it):
>
>     http://www.taraschi.net/slrn/patch-0.9.8.1.rt.score_color.1

That's a better link.  Google doesn't show it up unfortunately.

>> To help here is extract from email from Rudy:
>> 
>> ...
>> It applies cleanly to 0.9.8.1, and also works for the latest pl1
>> developer's release candidate.  Just go into your slrn top level
>> source directory and do a "patch -p1 < /path/to/patch/file",
>> followed by a configure, make, make install.
>>
>> Essentially, I've added a new .slrnrc configuration variable
>> called "score_color" which allows you to set a score color that
>> applies to an arbitrary range.  In a nutshell, the syntax looks
>> like:
>> 
>>     score_color 5001 9998 "cyan"  "default"
>>     score_color 8888 8888 "green" "default"
>> 
>> This example sets the color for all scores between 5001 and 9998
>> inclusive to cyan, except for score 8888, which gets colored green
>> (in this case, =8888 is my "watched thread" score) Note that
>> overlapping color ranges are supported (and useful).  You can use
>> this technique to score and highlight favourite authors and/or
>> subjects.
>> ...
>
> As usual, comments, or suggestions for improvement are always
> welcome.  Cheers!
>
> /rudy

Thanks for the very useful patch Rudy - hopefully it gets into the next
version of slrn?

-- 
Troy Piggins
Christmas thought:  "Christmas is a time of eating, 
so Boxing Day is a time for pooing."
Technical Details
Message-ID: <20051217170230@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!nntp.waia.asn.au!203.59.27.186.MISMATCH!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
References: <slrndq3vbj.9qi.dcmoose@moosemeat.ca.INVALID> <20051216134818@usenet.piggo.com> <slrndq6e66.1dk.rudy@142.39.20.3>

Show Full Headers
Complete Article Headers
Message-ID: <20051217170230@usenet.piggo.com>
Subject: Re: [slrn] Feature request - .slrnrc "color from_myself" behaviour
Date: Sat, 17 Dec 2005 07:06:09 +0000
From: Troy Piggins <usenet-0512@piggo.com>
References: <slrndq3vbj.9qi.dcmoose@moosemeat.ca.INVALID> <20051216134818@usenet.piggo.com> <slrndq6e66.1dk.rudy@142.39.20.3>
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!nntp.waia.asn.au!203.59.27.186.MISMATCH!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
Newsgroups: news.software.readers
Reply-To: usenet-0512@piggo.com
User-Agent: slrn/0.9.8.1/rt (Linux)
Lines: 81
NNTP-Posting-Host: 203.206.14.64
X-Trace: 1134803169 per-qv1-newsreader-01.iinet.net.au 1388 203.206.14.64