🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
16 messages
16 total messages Started by DC Thu, 15 Dec 2005 23:31
[slrn] Feature request - .slrnrc "color from_myself" behaviour
#177856
Author: DC
Date: Thu, 15 Dec 2005 23:31
28 lines
2223 bytes
Can .slrnrc's "color from_myself" behaviour be changed to take into
account my full identity?  From what I can see, only the "realname"
variable is used to match articles.  In some groups I frequent, there
are others that share the same initials as me and, while I remember what
I post <g>, it can be distracting when I'm looking for my own posts in
the articles view.

<.slrn.rc snippet>

%
%% 1. Tell slrn about your identity (name, email address and such)
%

% The "From:" header will be generated from the following three variables.
% With the example settings, it would read "john@doe.com (John Doe)".
set username "dcmoose"
set hostname "myrealbox.com"
set realname "DC"

</snippet>

Thanks, Thomas. }:O)

-- 
DC                                    Linux RU #1000111011000111001

The word 'politics' is derived from the word 'poly', meaning 'many'
and the word 'ticks', meaning 'blood sucking parasites'.
Re: [slrn] Feature request - .slrnrc "color from_myself" behaviour
#177878
Author: Troy Piggins
Date: Fri, 16 Dec 2005 04:11
96 lines
4627 bytes
* DC wrote:
> Can .slrnrc's "color from_myself" behaviour be changed to take into
> account my full identity?  From what I can see, only the "realname"
> variable is used to match articles.  In some groups I frequent, there
> are others that share the same initials as me and, while I remember what
> I post <g>, it can be distracting when I'm looking for my own posts in
> the articles view.

So use a more unique realname ;-)

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.

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 :

-----
color headers           "red"           "default"
% added for patch
% valid colors discovered:
% default, [light]gray, black, white, [bright]blue, [bright]red, brown,
% yellow,
% green, brightgreen, magenta, [bright]cyan
score_color  7501  9999 "yellow"        "default"
score_color  5001  7500 "brown"         "default"
score_color  1000  5000 "brightcyan"    "default"
score_color   250   999 "brightgreen"   "default"
score_color   100   249 "cyan"          "default"
score_color    10    99 "white"         "default"
score_color     1     9 "brightred"     "default"
score_color     0     0 "lightgray"     "default"
score_color    -1    -1 "gray"          "default"
score_color    -9    -2 "red"           "default"
score_color   -99   -10 "blue"          "default"
score_color  -999  -100 "gray"          "default"
score_color -9999 -1000 "gray"          "default"
% end of special colors for score color patch
color neg_score         "gray"          "default"
color pos_score         "cyan"          "default"
color high_score        "brightcyan"    "default"
-----

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.

Hope I explained it well enough.

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.
...

><.slrn.rc snippet>
>
> %
> %% 1. Tell slrn about your identity (name, email address and such)
> %
>
> % The "From:" header will be generated from the following three variables.
> % With the example settings, it would read "john@doe.com (John Doe)".
> set username "dcmoose"
> set hostname "myrealbox.com"
> set realname "DC"
>
></snippet>


-- 
Troy Piggins
Christmas thought:  "Christmas is a time of eating, 
so Boxing Day is a time for pooing."
Re: [slrn] Feature request - .slrnrc "color from_myself" behaviour
#177905
Author: SINNER
Date: Fri, 16 Dec 2005 14:41
15 lines
1454 bytes
* Troy Piggins wrote in news.software.readers:

[Rudy's Patch]

> 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.

*raises hand*

Me me me!!!

my . linux . mail AT gmail . com

-- 
David
Re: [slrn] Feature request - .slrnrc "color from_myself" behaviour
#177936
Author: Rudy Taraschi
Date: Fri, 16 Dec 2005 23:05
72 lines
3971 bytes
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 ;-)

> 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

> 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

-- 
If you want to email me directly, use my first name, followed by
the 'at' sign, followed by the three letter company name in my
Organization: header, followed by dot com
Re: [slrn] Feature request - .slrnrc "color from_myself" behaviour
#177952
Author: Troy Piggins
Date: Sat, 17 Dec 2005 07:01
24 lines
1619 bytes
* SINNER wrote:
> * Troy Piggins wrote in news.software.readers:
>
> [Rudy's Patch]
>
>> 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.
>
> *raises hand*
>
> Me me me!!!
>
> my . linux . mail AT gmail . com

You've got mail.

For the others, try here:

http://members.iinet.net.au/~piggo/patch-0.9.8.1.rt.score_color.1

-- 
Troy Piggins
Christmas thought:  "Christmas is a time of eating, 
so Boxing Day is a time for pooing."
Re: [slrn] Feature request - .slrnrc "color from_myself" behaviour
#177953
Author: 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."
Re: [slrn] Feature request - .slrnrc "color from_myself" behaviour
#177960
Author: SINNER
Date: Sat, 17 Dec 2005 13:59
17 lines
1674 bytes
* Troy Piggins wrote in news.software.readers:
> * SINNER wrote:
>> * Troy Piggins wrote in news.software.readers:

>> [Rudy's Patch]

[...]
> You've got mail.

Indeed I do :)

TYVM.

-- 
David
There are 10 kinds of people in the world, those that understand
trinary, those that don't, and those that confuse it with binary.
Re: [slrn] Feature request - .slrnrc "color from_myself" behaviour
#177961
Author: SINNER
Date: Sat, 17 Dec 2005 13:59
26 lines
2048 bytes
* Rudy Taraschi wrote in news.software.readers:

> [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):

Thanks for that Rudy, bookmarked in the event I lose the one Try sent.

[...]
-- 
David
Q:	Are we not men?
A:	We are Vaxen.
Re: [slrn] Feature request - .slrnrc "color from_myself" behaviour
#177963
Author: SINNER
Date: Sat, 17 Dec 2005 14:09
16 lines
1748 bytes
* SINNER wrote in news.software.readers:

>> It's available here for SINNER (and anyone else who wants it):

> Thanks for that Rudy, bookmarked in the event I lose the one Try sent.

> [...]

The thread seems to be cursed....That would be the one 'Troy' sent,
sheesh!

-- 
David
There's one consolation about matrimony.  When you look around you can
always see somebody who did worse.
		-- Warren H. Goldsmith
Re: [slrn] Feature request - .slrnrc "color from_myself" behaviour
#177965
Author: Jonathan A.
Date: Sat, 17 Dec 2005 15:26
31 lines
2602 bytes
On Fri, 16 Dec 2005 23:05:41 +0000 (UTC), Rudy Taraschi
<rudy@this.address.is.invalid> appears to have said:

> 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 ;-)

Make that two. I just discovered your patch yesterday, and after some
fiddling (had to hand edit slrn.h to get your score color patch and the
jwk patch applied together) I've now got it running. I can certainly see
that this is going to fall into the "How did I ever get by without it?"
category.

I read some of the discussion in the slrn-user archives, and it sounds
as if Mr. Shultz was at least moderately interested. Maybe after the
S-Lang 2.0 stuff is settled in we can hope for the patch to be accepted
into the official slrn source, eh?

ciao,
Jonathan

-- 
Don't just hit reply. Email address is broken. Thank
your friendly neighborhood spammer. Email replies to:
user: daboid                      domain: cox<dot>net
Re: [slrn] Feature request - .slrnrc "color from_myself" behaviour
#177969
Author: Allodoxaphobia
Date: Sat, 17 Dec 2005 16:42
16 lines
1556 bytes
On 17 Dec 2005 07:06:09 GMT, Troy Piggins wrote:
> * 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.

But, he gets points for spelling colo[u]r correctly.
Re: [slrn] Feature request - .slrnrc "color from_myself" behaviour
#177994
Author: Troy Piggins
Date: Sun, 18 Dec 2005 04:15
26 lines
2092 bytes
* Allodoxaphobia wrote:
> On 17 Dec 2005 07:06:09 GMT, Troy Piggins wrote:
>> * 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.
>
> But, he gets points for spelling colo[u]r correctly.

I was torn on how to spell it in these posts - all my life I've been
spelling it "colour", but I knew that Rudy's patch was "color" (indeed
so is the ~/.slrnrc etc) so didn't want to point people in the wrong
direction.

-- 
Troy Piggins
WARNING: MAY CONTAIN TRACES OF NUTS
Re: [slrn] Feature request - .slrnrc "color from_myself" behaviour
#177995
Author: Troy Piggins
Date: Sun, 18 Dec 2005 04:17
17 lines
1541 bytes
* SINNER wrote:
> * SINNER wrote in news.software.readers:
>
>>> It's available here for SINNER (and anyone else who wants it):
>
>> Thanks for that Rudy, bookmarked in the event I lose the one Try sent.
>
>> [...]
>
> The thread seems to be cursed....That would be the one 'Troy' sent,
> sheesh!

That's ok SNNR ;-)

-- 
Troy Piggins
WARNING: MAY CONTAIN TRACES OF NUTS
Re: [slrn] Feature request - .slrnrc "color from_myself" behaviour
#178093
Author: Rudy Taraschi
Date: Mon, 19 Dec 2005 18:00
16 lines
2018 bytes
Troy Piggins wrote:

> * Allodoxaphobia wrote:
> 
> > But, he gets points for spelling colo[u]r correctly.
> 
> I was torn on how to spell it in these posts - all my life I've
> been spelling it "colour", but I knew that Rudy's patch was
> "color" (indeed so is the ~/.slrnrc etc) so didn't want to point
> people in the wrong direction.

I'm Canadian, so if it were up to me, I would have spelled it
"colour" in my patch.  Imagine the confusion that would have
caused ;-)

/rudy
Re: [slrn] Feature request - .slrnrc "color from_myself" behaviour
#178116
Author: DC
Date: Mon, 19 Dec 2005 22:56
30 lines
2505 bytes
Rudy Taraschi wrote:
> Troy Piggins wrote:

>> * Allodoxaphobia wrote:

>> > But, he gets points for spelling colo[u]r correctly.

>> I was torn on how to spell it in these posts - all my life I've
>> been spelling it "colour", but I knew that Rudy's patch was
>> "color" (indeed so is the ~/.slrnrc etc) so didn't want to point
>> people in the wrong direction.

> I'm Canadian, so if it were up to me, I would have spelled it
> "colour" in my patch.  Imagine the confusion that would have
> caused ;-)

> /rudy

We're taking over the world, Rudy.  One baby step at a time.  And the
beauty of it is that they'll never suspect us polite nothern folk.

*<};O)

Now, I gotta go fiddle with this.  Thanks to Troy, also.

-- 
DC                                    Linux RU #1000111011000111001

The word 'politics' is derived from the word 'poly', meaning 'many'
and the word 'ticks', meaning 'blood sucking parasites'.
Re: [slrn] Feature request - .slrnrc "color from_myself" behaviour
#178117
Author: DC
Date: Mon, 19 Dec 2005 22:58
35 lines
2612 bytes
DC wrote:
> Rudy Taraschi wrote:
>> Troy Piggins wrote:

>>> * Allodoxaphobia wrote:

>>> > But, he gets points for spelling colo[u]r correctly.

>>> I was torn on how to spell it in these posts - all my life I've
>>> been spelling it "colour", but I knew that Rudy's patch was
>>> "color" (indeed so is the ~/.slrnrc etc) so didn't want to point
>>> people in the wrong direction.

>> I'm Canadian, so if it were up to me, I would have spelled it
>> "colour" in my patch.  Imagine the confusion that would have
>> caused ;-)

>> /rudy

> We're taking over the world, Rudy.  One baby step at a time.  And the
> beauty of it is that they'll never suspect us polite nothern folk.

Northern!  Shit.  <g>

> *<};O)

> Now, I gotta go fiddle with this.  Thanks to Troy, also.



-- 
DC                                    Linux RU #1000111011000111001

The word 'politics' is derived from the word 'poly', meaning 'many'
and the word 'ticks', meaning 'blood sucking parasites'.
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