Article View: news.software.readers
Article #156712[slrn] Patch for configurable score colors
From: Rudy Taraschi
Date: Thu, 07 Oct 2004 16:33
Date: Thu, 07 Oct 2004 16:33
24 lines
2251 bytes
2251 bytes
Here you will find a patch for slrn that allows you to assign
different colors to arbitrary score ranges.
Essentially, I've added a new 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 get the patch file at:
http://www.taraschi.net/slrn/patch-0.9.8.1.rt.score_color.1
Back in Aug. 2003, Thomas (the slrn maintainer) stated that he would
consider this patch for a later release, so this might make in into
the mainstream one day.
rudy
Technical Details
Message-ID:
<slrncmarv8.1es.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!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!news.osn.de!193.109.243.20.MISMATCH!newsfeed.stueberl.de!border1.nntp.dca.giganews.com!nntp.giganews.com!atl-c02.usenetserver.com!c03.atl99.usenetserver.com!news.usenetserver.com!wesley.videotron.net!news.cae.ca!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <slrncmarv8.1es.rudy@142.39.20.3>
Subject: [slrn] Patch for configurable score colors
Date: Thu, 07 Oct 2004 16:33:57 +0000
From: Rudy Taraschi <rudy@this.address.is.invalid>
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!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!news.osn.de!193.109.243.20.MISMATCH!newsfeed.stueberl.de!border1.nntp.dca.giganews.com!nntp.giganews.com!atl-c02.usenetserver.com!c03.atl99.usenetserver.com!news.usenetserver.com!wesley.videotron.net!news.cae.ca!not-for-mail
Newsgroups: news.software.readers
Organization: CAE
Lines: 24
NNTP-Posting-Host: l1078.cae.ca
X-Trace: dns3.cae.ca 1097166837 27773 142.39.122.95 (7 Oct 2004 16:33:57 GMT)
X-Complaints-To: usenet@news.cae.ca
NNTP-Posting-Date: 7 Oct 2004 16:33:57 GMT
X-Face: (WrD*bX*:"j.$(|G/9Wky*T3hTx&09g_~|H3=5[WK$o8oQHIuw0@'Z.-{uz+O{/OQ<:yDquEpI!LJG_jn#a+=drl'V:8{a\WI*iSDIU9xV`bHsN+[y_P1QN-,=fTY4dP:5*z8G?;
=v(*g0As)Xc^t6p#OO6d05Tg/}i,).V-O; |[PH/T9*bcANx/A>m)cVi_Y
X-Files: The truth is out there
User-Agent: slrn/0.9.8.1/rt (CYGWIN_NT-5.0)