Thread View: news.software.readers
5 messages
5 total messages
Started by Rachel
Sat, 11 Oct 2003 16:35
[slrn] Highlighting nyms
Author: Rachel
Date: Sat, 11 Oct 2003 16:35
Date: Sat, 11 Oct 2003 16:35
16 lines
1060 bytes
1060 bytes
Hello, Ok if this is covered somwhere and I've overlooked it apologize, but I can't find the answer to this question anywhere... Using slrn 0.9.7.4, when I make a post, my nym is automatically highlighted in a certain color. How do I make it so other author's nyms are highlighted? Say, I want to make posts from "Joe" green and posts from "Kelly" yellow. How do I do this? Thanks! Rach
Re: [slrn] Highlighting nyms
Author: W. Citoan
Date: Sat, 11 Oct 2003 21:05
Date: Sat, 11 Oct 2003 21:05
23 lines
1720 bytes
1720 bytes
On 11 Oct 2003 11:35:14 -0500, Rachel wrote: > > Using slrn 0.9.7.4, when I make a post, my nym is automatically > highlighted in a certain color. How do I make it so other author's > nyms are highlighted? Say, I want to make posts from "Joe" green and > posts from "Kelly" yellow. How do I do this? slrn supports part of that. You can use scoring to recognize specific posters and assign a score to them. By default, slrn will use different colors for unscored, positive scored, and negative scored posts. However, I'm not aware of a way to differentiate colors more than that. Perhaps it can be done by with a macro, but I haven't seen one to do that. The slrn docs webpage (http://slrn.sourceforge.net/docs) has a couple on scoring. The slrn reference manual (at same place) described how to customize the colors displayed. - W. Citoan -- History books which contain no lies are extremely dull.
Re: [slrn] Highlighting nyms
Author: Thomas Schultz
Date: Thu, 23 Oct 2003 10:15
Date: Thu, 23 Oct 2003 10:15
27 lines
2153 bytes
2153 bytes
* Rachel [2003-10-11 16:35] : > Using slrn 0.9.7.4, when I make a post, my nym is automatically > highlighted in a certain color. How do I make it so other author's > nyms are highlighted? Say, I want to make posts from "Joe" green and > posts from "Kelly" yellow. How do I do this? Like somebody else already pointed out, you could use special score values plus Rudy's patch, but what you are asking for cannot be done directly. FYI, it would be covered by the following wishlist entry: <---> Color regexps in article body / header Added 2000-08-03 probably not before 1.0 Nikolaus Filus asked for an extra color object for cited text (text indented by `|'). A more general approach to this would be to allow the definition of colors for matches of user-defined regular expressions, separately for headers and bodies. This would also allow to color search results, important header lines, smilies, numbers etc <---> -- Thomas Schultz <tststs@gmx.de> News on slrn: http://slrn.sf.net/news.html .-----------------------------. [2003-08-25] Released slrn 0.9.8.0 | Home of the slrn newsreader | [2003-08-19] New slrn FAQ available | http://slrn.sourceforge.net | [2003-07-31] First beta with offline reading
Re: [slrn] Highlighting nyms
Author: Rudy Taraschi
Date: Thu, 23 Oct 2003 16:37
Date: Thu, 23 Oct 2003 16:37
42 lines
2867 bytes
2867 bytes
Thomas Schultz wrote:
> * Rachel [2003-10-11 16:35] :
>
> > Using slrn 0.9.7.4, when I make a post, my nym is automatically
> > highlighted in a certain color. How do I make it so other
> > author's nyms are highlighted? Say, I want to make posts from
> > "Joe" green and posts from "Kelly" yellow. How do I do this?
>
> Like somebody else already pointed out, you could use special
> score values plus Rudy's patch, but what you are asking for cannot
> be done directly.
You'll have to build your own custom version of slrn as Thomas has
not incorporated my patch into the mainstream version.
If you're not on the slrn mailing list, you can probably download
the patch from the mailing list archives. Look for a post titled
"Patch to define colors associated with arbitrary score ranges" from
4-Aug-2003. The patch was written for 0.9.7.4pl3, but applies to
0.9.8.0 as well.
With the patch applied, first you would assign unique scores to your
favourite authors by adding the following lines to your Score file:
Score: =990
From: Joe
Score: =991
From: Kelly
Then, you can add the following lines to your .slrnrc:
score_color 990 990 "green" "default"
score_color 991 991 "yellow" "default"
Also in .slrnrc, make sure that "color_by_score" is not set to zero
(I set it to 3). Good luck!
--
Rudy Taraschi - rüdÿ
at
cae.com
Re: [slrn] Highlighting nyms
Author: ras2
Date: Thu, 23 Oct 2003 23:37
Date: Thu, 23 Oct 2003 23:37
16 lines
1796 bytes
1796 bytes
On 2003-10-23 16:37:09 GMT, Rudy Taraschi <rudy@this.address.is.invalid> wrote in <slrnbpg0te.jg.rudy@142.39.20.3>: > Thomas Schultz wrote: > > If you're not on the slrn mailing list, you can probably download > the patch from the mailing list archives. Look for a post titled > "Patch to define colors associated with arbitrary score ranges" from > 4-Aug-2003. The patch was written for 0.9.7.4pl3, but applies to > 0.9.8.0 as well. I've put it up here (not sure the HTML conversion of the mailing list archives leaves things unmangled, so this should be safer): http://hjem.get2net.dk/RasII/slrn/patch-0.9.7.4pl3.rt.score_color.1.gz -R.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads