🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
26 messages
26 total messages Started by Toby Tue, 04 Jan 2005 14:19
Testing my slrn rules!
#160174
Author: Toby
Date: Tue, 04 Jan 2005 14:19
21 lines
1360 bytes
In some sence this should go in alt.test, but someone here might find it
useful too.

I've just added the line:
include TobyScore

to my ~/News/Score file, and created a file ~/News/TobyScore as follows:

%BOS
 [news.software.readers]
     Score: =-356
     % Only show slrn posts
     ~Subject: slrn
%EOS

This post should test if it worked properly!

-- 
Toby.
FT: 250 DK Bongo Stars
Re: Testing my slrn rules!
#160200
Author: Allodoxaphobia
Date: Tue, 04 Jan 2005 17:36
29 lines
1670 bytes
On Tue, 4 Jan 2005 14:19:07 +0000, Toby wrote:
>
> In some sence this should go in alt.test, but someone here might find it
> useful too.
>
> I've just added the line:
> include TobyScore
>
> to my ~/News/Score file, and created a file ~/News/TobyScore as follows:
>
> %BOS
>  [news.software.readers]
>      Score: =-356
>      % Only show slrn posts
>      ~Subject: slrn
> %EOS
>
> This post should test if it worked properly!

 [news.software.readers, alt.lang.s-lang]
  Score:: =-9999
% This kills all but "s-lang", "slang", and "slrn"
  ~Subject: \<s-?l[ar]ng?

Jonesy
-- 
  | Marvin L Jones       | jonz         |  W3DHJ   |  linux
  |  Gunnison, Colorado  |  @           |  Jonesy  |    OS/2   __
  |   7,703' -- 2,345m   |   config.com |  DM68mn              SK
Re: Testing my slrn rules!
#160205
Author: Blinky the Shark
Date: Tue, 04 Jan 2005 19:02
23 lines
1534 bytes
Toby wrote:

> In some sence this should go in alt.test, but someone here might find it
> useful too.

> I've just added the line:
> include TobyScore

> to my ~/News/Score file, and created a file ~/News/TobyScore as follows:

> %BOS
>  [news.software.readers]
>      Score: =-356
>      % Only show slrn posts
>      ~Subject: slrn
> %EOS

> This post should test if it worked properly!

Well, it seems to be working fine, here.  I see your post.  :)

-- 
Blinky                            Linux Registered User 297263
Re: Testing my slrn rules!
#160243
Author: Toby
Date: Wed, 05 Jan 2005 15:52
35 lines
1979 bytes
On 2005-01-04, Allodoxaphobia <bit-bucket@config.com> wrote:
> On Tue, 4 Jan 2005 14:19:07 +0000, Toby wrote:
>>
>> In some sence this should go in alt.test, but someone here might find it
>> useful too.
>>
>> I've just added the line:
>> include TobyScore
>>
>> to my ~/News/Score file, and created a file ~/News/TobyScore as follows:
>>
>> %BOS
>>  [news.software.readers]
>>      Score: =-356
>>      % Only show slrn posts
>>      ~Subject: slrn
>> %EOS
>>
>> This post should test if it worked properly!
>
>  [news.software.readers, alt.lang.s-lang]
>   Score:: =-9999
> % This kills all but "s-lang", "slang", and "slrn"
>   ~Subject: \<s-?l[ar]ng?
>
> Jonesy

Very swish! One question though: Why the '\<'?
The regex:
s-?l[ar]ng?
matches both slrn, s-lang and slang.

-- 
Toby.
FT: 250 DK Bongo Stars
Re: Testing my slrn rules!
#160244
Author: Toby
Date: Wed, 05 Jan 2005 15:57
24 lines
1799 bytes
On 2005-01-04, Blinky the Shark <no.spam@box.invalid> wrote:
> Toby wrote:
>> %BOS
>>  [news.software.readers]
>>      Score: =-356
>>      % Only show slrn posts
>>      ~Subject: slrn
>> %EOS
>
>> This post should test if it worked properly!
>
> Well, it seems to be working fine, here.  I see your post.  :)

:D Thanks!

However, I've only just seen your reply because it's being marked
down by a different rule in my Score file. However, my Score file
contains many rules (it's 1.2MB!) and I have no idea which rule is
at fault. Is there a way to find out which rule was used to score
this message?

-- 
Toby.
FT: 250 DK Bongo Stars
Re: Testing my slrn rules!
#160246
Author: wannes
Date: Wed, 05 Jan 2005 16:28
9 lines
1364 bytes
Toby schreef:

> Is there a way to find out which rule was used to score this message?

press "v" in the header view

-- 
wannes
<http://www.briachons.org/>
Re: Testing my slrn rules!
#160250
Author: Toby
Date: Wed, 05 Jan 2005 17:15
22 lines
1685 bytes
On 2005-01-05, wannes <me@privacy.net> wrote:
> Toby schreef:
>
>> Is there a way to find out which rule was used to score this message?
>
> press "v" in the header view
>

Facinating. It turns out that the reply was being scored down because I
had a rule that marked down by:
Subject: test
to stop test messages.

>From this, it seems that:
1)The score file is not case sensitive
2)The score file will kill a post if any part of the subject matches the
subject string, rather than if *all* the subject matches the subject
string.

-- 
Toby.
FT: 250 DK Bongo Stars
Re: Testing my slrn rules!
#160252
Author: Blinky the Shark
Date: Wed, 05 Jan 2005 17:22
15 lines
1403 bytes
wannes wrote:

> Toby schreef:

>> Is there a way to find out which rule was used to score this message?

> press "v" in the header view

Heh.  I don't know where I picked it up, but I've always used Esc-1-v
for that.  v is what's in Help.  I have to remember to break myself from
the three-stroke habit.  :)

-- 
Blinky
Re: Testing my slrn rules!
#160255
Author: Allodoxaphobia
Date: Wed, 05 Jan 2005 18:14
45 lines
2357 bytes
On Wed, 5 Jan 2005 15:52:12 +0000, Toby wrote:
> On 2005-01-04, Allodoxaphobia <bit-bucket@config.com> wrote:
>> On Tue, 4 Jan 2005 14:19:07 +0000, Toby wrote:
>>>
>>> In some sence this should go in alt.test, but someone here might find it
>>> useful too.
>>>
>>> I've just added the line:
>>> include TobyScore
>>>
>>> to my ~/News/Score file, and created a file ~/News/TobyScore as follows:
>>>
>>> %BOS
>>>  [news.software.readers]
>>>      Score: =-356
>>>      % Only show slrn posts
>>>      ~Subject: slrn
>>> %EOS
>>>
>>> This post should test if it worked properly!
>>
>>  [news.software.readers, alt.lang.s-lang]
>>   Score:: =-9999
>> % This kills all but "s-lang", "slang", and "slrn"
>>   ~Subject: \<s-?l[ar]ng?

>
> Very swish! One question though: Why the '\<'?
> The regex:
> s-?l[ar]ng?
> matches both slrn, s-lang and slang.

Just to insure that it compared for a "sl...." as the
start of a 'word'.  Otherwise it would keep (not kill) a
Subject: with (fer instance) "Auslander", or some
other word I shouldn't be able to guess at this time. 

(Sorry, I could only come up with a German example under pressure. :-)

HNY
Jonesy
-- 
  | Marvin L Jones       | jonz         |  W3DHJ   |  linux
  |  Gunnison, Colorado  |  @           |  Jonesy  |    OS/2   __
  |   7,703' -- 2,345m   |   config.com |  DM68mn              SK
Re: Testing my slrn rules!
#160257
Author: Blinky the Shark
Date: Wed, 05 Jan 2005 18:20
28 lines
1977 bytes
Toby wrote:

> On 2005-01-05, wannes <me@privacy.net> wrote:

>> Toby schreef:

>>> Is there a way to find out which rule was used to score this message?

>> press "v" in the header view

> Facinating. It turns out that the reply was being scored down because I
> had a rule that marked down by:
> Subject: test
> to stop test messages.

> From this, it seems that:
> 1)The score file is not case sensitive

You can specify case-sensitivity within your regex.

> 2)The score file will kill a post if any part of the subject matches the
> subject string, rather than if *all* the subject matches the subject
> string.

Unless you specify otherwise with your regex.

-- 
Blinky                            Linux Registered User 297263
Re: Testing my slrn rules!
#160258
Author: Allodoxaphobia
Date: Wed, 05 Jan 2005 18:41
62 lines
3225 bytes
On Wed, 5 Jan 2005 17:15:41 +0000, Toby wrote:
> On 2005-01-05, wannes <me@privacy.net> wrote:
>> Toby schreef:
>>
>>> Is there a way to find out which rule was used to score this message?
>>
>> press "v" in the header view
>>
>
> Facinating. It turns out that the reply was being scored down because I
> had a rule that marked down by:
> Subject: test
> to stop test messages.
>
> From this, it seems that:
> 1)The score file is not case sensitive
> 2)The score file will kill a post if any part of the subject matches the
> subject string, rather than if *all* the subject matches the subject
> string.

Yes, on all points.  It makes sense to be case-insesitive, since you
-the scorer - cannot rely on any cAPitalIZaTiOn by the poster.

(BTW, there are begin-of-subject(textstring) and 
end-of-subject(textstring) delimiters viz. the begin-of-word (\>) 
and end-of-word (\>) delimiters. Start with some of these
ref's:
       http://www.slrn.org/manual/slrn-manual.html
       http://www.geocities.com/tsca.geo/slang/regexpe.html
...and, poke around at Google to find more "stuff".)

Back on the 'subject':
 You want to score on 
  Subject: ^test$
  Subject: ^testing$
    -- that'll get the one-word Subject: test -and- Subject: testing

 Then, you also need to score on 
  Subject: \<test.*ignore
    -- that'll get the posts of the ilk: "test - please ignore", u.s.w.

Then:
  Subject: \<disregard.*\<test
  Subject: \<do.+read.+test
  Subject: \<pl.+ignore.+test

And, the ever popular:
  Subject: Re: test$
  Subject: Re: testing$

I t ' s  a  n e v e r  e n d i n g   b a t t l e  .    :-)

Warning!  Some of those score test above are probably not doing
EXACTLY what I wish them to do.  Test'em before _you_ use them!
They are presented here *with absolutely no guarantee!*

HNY
Jonesy
-- 
  | Marvin L Jones       | jonz         |  W3DHJ   |  linux
  |  Gunnison, Colorado  |  @           |  Jonesy  |    OS/2   __
  |   7,703' -- 2,345m   |   config.com |  DM68mn              SK
Re: Testing my slrn rules!
#160259
Author: Allodoxaphobia
Date: Wed, 05 Jan 2005 18:45
22 lines
1743 bytes
On Wed, 05 Jan 2005 16:28:27 GMT, wannes wrote:
> Toby schreef:
>
>> Is there a way to find out which rule was used to score this message?
>
> press "v" in the header view

Ya, but...
I hardly ever remeber how to use this, and each time I do it would 
appear that I am given the line nuber of the score line _after_ the
nothing-but-comment lines are dropped out.

Is this correct?

Makes it awkward to see exactly which line was the scorer.

HNY
Jonesy
-- 
  | Marvin L Jones       | jonz         |  W3DHJ   |  linux
  |  Gunnison, Colorado  |  @           |  Jonesy  |    OS/2   __
  |   7,703' -- 2,345m   |   config.com |  DM68mn              SK
Re: Testing my slrn rules!
#160260
Author: wannes
Date: Wed, 05 Jan 2005 18:46
23 lines
1898 bytes
Allodoxaphobia schreef:
> On Wed, 05 Jan 2005 16:28:27 GMT, wannes wrote:
>> Toby schreef:
>>
>>> Is there a way to find out which rule was used to score this message?
>>
>> press "v" in the header view
>
> Ya, but...
> I hardly ever remeber how to use this, and each time I do it would 
> appear that I am given the line nuber of the score line _after_ the
> nothing-but-comment lines are dropped out.
>
> Is this correct?
>
> Makes it awkward to see exactly which line was the scorer.

If you press enter, the scorefile opens in your favoutite editor and
then you van view/edit it (and therefore see the comments)

-- 
wannes
<http://www.briachons.org/>
Re: Testing my slrn rules!
#160265
Author: Allodoxaphobia
Date: Wed, 05 Jan 2005 21:06
33 lines
2414 bytes
On Wed, 05 Jan 2005 18:46:54 GMT, wannes wrote:
> Allodoxaphobia schreef:
>> On Wed, 05 Jan 2005 16:28:27 GMT, wannes wrote:
>>> Toby schreef:
>>>
>>>> Is there a way to find out which rule was used to score this message?
>>>
>>> press "v" in the header view
>>
>> Ya, but...
>> I hardly ever remember how to use this, and each time I do it would 
>> appear that I am given the line number of the score line _after_ the
>> nothing-but-comment lines are dropped out.
>>
>> Is this correct?
>>
>> Makes it awkward to see exactly which line was the scorer.
>
> If you press enter, the scorefile opens in your favoutite editor and
> then you van view/edit it (and therefore see the comments)

Ya, but... If 'v" claims the score was on "line 193", and if there were
15-21-35-47 comment lines before this "line 193", which $#@!%@$#@ line
in my score file do I inspect to see the line that did the scoring?

That's my complaint/concern.

(Spelling corrected in my 1st follow-up here. :-)
Jonesy
-- 
  | Marvin L Jones       | jonz         |  W3DHJ   |  linux
  |  Gunnison, Colorado  |  @           |  Jonesy  |    OS/2   __
  |   7,703' -- 2,345m   |   config.com |  DM68mn              SK
Re: Testing my slrn rules!
#160266
Author: Blinky the Shark
Date: Wed, 05 Jan 2005 21:23
33 lines
2490 bytes
Allodoxaphobia wrote:
> On Wed, 05 Jan 2005 18:46:54 GMT, wannes wrote:
>> Allodoxaphobia schreef:
>>> On Wed, 05 Jan 2005 16:28:27 GMT, wannes wrote:
>>>> Toby schreef:

>>>>> Is there a way to find out which rule was used to score this message?

>>>> press "v" in the header view

>>> Ya, but...
>>> I hardly ever remember how to use this, and each time I do it would 
>>> appear that I am given the line number of the score line _after_ the
>>> nothing-but-comment lines are dropped out.

>>> Is this correct?

>>> Makes it awkward to see exactly which line was the scorer.

>> If you press enter, the scorefile opens in your favoutite editor and
>> then you van view/edit it (and therefore see the comments)

> Ya, but... If 'v" claims the score was on "line 193", and if there were
> 15-21-35-47 comment lines before this "line 193", which $#@!%@$#@ line
> in my score file do I inspect to see the line that did the scoring?

> That's my complaint/concern.

Here, v takes you to the /line/ that triggered it score.  I don't know
how it can be any more specific than that.

-- 
Blinky                            Linux Registered User 297263
Re: Testing my slrn rules!
#160269
Author: DC
Date: Wed, 05 Jan 2005 23:55
17 lines
1761 bytes
Blinky the Shark wrote:
> wannes wrote:

>> Toby schreef:

>>> Is there a way to find out which rule was used to score this message?

>> press "v" in the header view

> Heh.  I don't know where I picked it up, but I've always used Esc-1-v
> for that.  v is what's in Help.  I have to remember to break myself from
> the three-stroke habit.  :)

WTMI.

-- 
DC             Linux RU #1000111011000111001
Re: Testing my slrn rules!
#160271
Author: Blinky the Shark
Date: Thu, 06 Jan 2005 00:29
20 lines
1751 bytes
DC wrote:
> Blinky the Shark wrote:
>> wannes wrote:

>>> Toby schreef:

>>>> Is there a way to find out which rule was used to score this message?

>>> press "v" in the header view

>> Heh.  I don't know where I picked it up, but I've always used Esc-1-v
>> for that.  v is what's in Help.  I have to remember to break myself from
>> the three-stroke habit.  :)

> WTMI.

?

-- 
Blinky                            Linux Registered User 297263
Re: Testing my slrn rules!
#160274
Author: Faux_Pseudo
Date: Thu, 06 Jan 2005 01:06
20 lines
2117 bytes
_.-In news.software.readers, Blinky the Shark wrote the following -._
> Here, v takes you to the /line/ that triggered it score.  I don't know
> how it can be any more specific than that.

Not accurate.

1:   [*]
2:   Score:: -9999
3:         Subject: \ \ \ .*$  % blocks lots of spam
<snip more "Subject"s>
49:        Subject: repost

If you have a subject that matches ether line 3 or line 49 the v key
will tell you it is line 3 is responsable.  Try it and see.

-- 
  .-'))     asciipr0n.com/fp       ('-.  | It's a damn poor mind that
 ' ..-  .:" )               ( ":.  -.. ' | can only think of one way to
  ((,,_;'.;'   UIN=66618055  ';. ';_,,)) | spell a word.
        ((_.YIM=Faux_Pseudo :._))        | - Andrew Jackson
Re: Testing my slrn rules!
#160282
Author: Blinky the Shark
Date: Thu, 06 Jan 2005 01:42
27 lines
2423 bytes
Faux_Pseudo wrote:
> _.-In news.software.readers, Blinky the Shark wrote the following -._
>> Here, v takes you to the /line/ that triggered it score.  I don't
>> know how it can be any more specific than that.

> Not accurate.

> 1:   [*] 2:   Score:: -9999 3:         Subject: \ \ \ .*$  % blocks
> lots of spam
><snip more "Subject"s> 49:        Subject: repost

> If you have a subject that matches ether line 3 or line 49 the v key
> will tell you it is line 3 is responsable.  Try it and see.

Not accurate.

v shows me a list of all lines that act upon that post.

And that's just what I'd want it to do, if it didn't.  From that list, I
can generally tell which rule I want to change or remove, because of the
way my score file is organized.  Once I'm there, by selecting the
correct line from the v list, I can delete that rule, if that is my
choice) with a one keystroke (via a macro) that removes it, and returns
me to slrn with the prompt asking if I want to rescore articles now.

-- 
Blinky                            Linux Registered User 297263
Re: Testing my slrn rules!
#160281
Author: Neil Woods
Date: Thu, 06 Jan 2005 01:55
31 lines
2002 bytes
On Wed, Jan 05 2005, bit-bucket@config.com wrote:
> On Wed, 05 Jan 2005 16:28:27 GMT, wannes wrote:
>> Toby schreef:
>>
>>> Is there a way to find out which rule was used to score this
>>> message?
>>
>> press "v" in the header view
>
> Ya, but...
> I hardly ever remeber how to use this, and each time I do it would 
> appear that I am given the line nuber of the score line _after_ the
> nothing-but-comment lines are dropped out.
>
> Is this correct?
>
> Makes it awkward to see exactly which line was the scorer.

If you put a comment after the Score line, you can see which rule
triggered the score. E.g.:

%%% Identify new threads
[*]
Score: +1 % new thread
        ~Subject: ^re\:


Is this what you mean?

-- 
Neil
Re: Testing my slrn rules!
#160324
Author: Allodoxaphobia
Date: Thu, 06 Jan 2005 16:30
41 lines
2409 bytes
On Thu, 06 Jan 2005 01:55:40 +0000, Neil Woods wrote:
> On Wed, Jan 05 2005, bit-bucket@config.com wrote:
>> On Wed, 05 Jan 2005 16:28:27 GMT, wannes wrote:
>>> Toby schreef:
>>>
>>>> Is there a way to find out which rule was used to score this
>>>> message?
>>>
>>> press "v" in the header view
>>
>> Ya, but...
>> I hardly ever remeber how to use this, and each time I do it would 
>> appear that I am given the line nuber of the score line _after_ the
>> nothing-but-comment lines are dropped out.
>>
>> Is this correct?
>>
>> Makes it awkward to see exactly which line was the scorer.
>
> If you put a comment after the Score line, you can see which rule
> triggered the score. E.g.:
>
> %%% Identify new threads
> [*]
> Score: +1 % new thread
>         ~Subject: ^re\:
>
>
> Is this what you mean?

No.  What I mean is a comment _line_ before the Scoring 'block' -- as
in your  "%%% Identify new threads  " , above.

Let me test/check somemore and I'll start a new thread if I, indeed,
see a problem.

Jonesy
-- 
  | Marvin L Jones       | jonz         |  W3DHJ   |  linux
  |  Gunnison, Colorado  |  @           |  Jonesy  |    OS/2   __
  |   7,703' -- 2,345m   |   config.com |  DM68mn              SK
Re: Testing my slrn rules!
#160331
Author: Faux_Pseudo
Date: Thu, 06 Jan 2005 19:32
25 lines
2520 bytes
_.-In news.software.readers, Blinky the Shark wrote the following -._
> v shows me a list of all lines that act upon that post.

Yes it does. But the line shown is the rule after Score
If you have 70 spam rulls under one "[*]\nScore::" the line number
shown will always be the first line.  As shown in my example.
### start file ###
[*]  
Score:: -9998 
 Newsgroups: ,                 %blocks all crosspost
 Subject: \ \ \ .*$  % blocks lots of spam
## EOF

If a post matches the Newsgroups line then v will show line 3.
If a post matchs the Subject line then v will show line 3.

If it matchs both then it will show line 3 but i am not sure if it
will show line 3 once or twice since I haven't tested that, but i
think it only shows it once.

-- 
  .-'))     asciipr0n.com/fp       ('-.  | It's a damn poor mind that
 ' ..-  .:" )               ( ":.  -.. ' | can only think of one way to
  ((,,_;'.;'   UIN=66618055  ';. ';_,,)) | spell a word.
        ((_.YIM=Faux_Pseudo :._))        | - Andrew Jackson
Re: Testing my slrn rules! [OT]
#160335
Author: DC
Date: Thu, 06 Jan 2005 20:26
17 lines
1682 bytes
Blinky the Shark wrote:
> DC wrote:
>> Blinky the Shark wrote:

[...]

>>> I have to remember to break myself from
>>> the three-stroke habit.  :)

>> WTMI.

> ?

Nevermind.  }:O)

-- 
DC             Linux RU #1000111011000111001
Re: Testing my slrn rules! [OT]
#160340
Author: Pedro Graca
Date: Thu, 06 Jan 2005 22:17
13 lines
1700 bytes
DC wrote:
> Blinky the Shark wrote:
>> DC wrote:
>>> WTMI.
>> ?
> Nevermind.  }:O)

I use www.acronymfinder.com all the time :-)
-- 
Mail to my "From:" address is readable by all at http://www.dodgeit.com/
== ** ## !! ------------------------------------------------ !! ## ** ==
TEXT-ONLY mail to the whole "Reply-To:" address ("My Name" <my@address>)
may bypass my spam filter. If it does, I may reply from another address!
Re: Testing my slrn rules! [OT]
#160342
Author: Blinky the Shark
Date: Thu, 06 Jan 2005 22:26
20 lines
1678 bytes
DC wrote:
> Blinky the Shark wrote:
>> DC wrote:
>>> Blinky the Shark wrote:

> [...]

>>>> I have to remember to break myself from
>>>> the three-stroke habit.  :)

>>> WTMI.

>> ?

> Nevermind.  }:O)

Swordfish.

-- 
Blinky                            Linux Registered User 297263
Re: Testing my slrn rules!
#160496
Author: Sven Guckes
Date: Sat, 08 Jan 2005 20:06
30 lines
2096 bytes
* Toby <google@asktoby.com> [2005-01-05]:
> It turns out that the reply was being scored down because I had
> a rule that marked down by: "Subject: test" to stop test messages.
>
> From this, it seems that:
> 1)The score file is not case sensitive
> 2)The score file will kill a post if any part of
> the subject matches the subject string, rather than
> if *all* the subject matches the subject string.

duh!  have you read the manual yet?

look at these rules:

Subject: test
Subject: Test
Subject: \<test\>
Subject: ^test$

describe the differences.  homework.

and maybe upgrade your slrn.

Sven

-- 
Sven Guckes      sig-slrn @guckes.net           SLRN latest versions:
SLRN Home Page:  http://www.slrn.org/           SLRN-0.9.7.4      [2002-03-13]
SLRN Home Page:  http://slrn.sourceforge.net/   SLRN-0.9.8.1      [2004-10-06]
SLRN FAQ:        http://slrn.sourceforge.net/docs/slrn-FAQ.html   [2002-03-13]
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