🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Peppe Sat, 26 Sep 1998 00:00
Re: [slrn / slrnpull] Scoring - Kill everything but selected authors
#43419
Author: Peppe
Date: Sat, 26 Sep 1998 00:00
32 lines
2016 bytes
Thus wrote Gary Jones <news@manassa.demon.co.uk>
> The Subject says it all really. I want to use the slrnpull scoring to
> kill everything but a selected group of posters on a ng, but no matter
> what I do, I get all the articles. I currently have something like:

>   #start score file
>   [some.newsgroup]
>   Score: -10
>   From: *
>   ~From: Gary Jones
>   #more authors here
>   #end score file

> Obviously there's something I'm missing here, but what is it? I know the
> score file is definubbly in the right directory (which was my first
> thought), because I screwed up one of the lines (missing out the ':'
> after the From) and slrnpull complained, so slrnpull is actually
> *reading* the score file, just not doing what I want with it :(

The problem is the single ":" in "Score:". This means that the
following conditions must all be fulfilled (A and B and C ...). If you
use "Score::" instead, the article will be scored if any of the
conditions match (A or B ...).

Peppe
-- 
Preben Guldberg          __/-\__      "I felt sorry formyself/
c928400@student.dtu.dk    (o o)        because I had no shoes; until
----------------------oOOo (_) oOOo    I met a man who had no class."
http://www.student.dtu.dk/~c928400/    --Anonymous

Re: [slrn / slrnpull] Scoring - Kill everything but selected authors
#43438
Author: Dawn Owens-Nicholson
Date: Sun, 27 Sep 1998 00:00
20 lines
1828 bytes
Gary Jones <news@manassa.demon.co.uk> wrote:
> So long as it is < 0 it doesn't matter, does it?

Yes.  By default, the kill score is set to -9,999 points.  Negative scores
mark the article as read unless the score is the kill score, in which case
the article is marked read and not displayed (i.e., killed).  If an article
is set to the kill score or achieves the kill score through a series of
subtractions, the article is killed.

> Does slrn then include these archived posts in the threads?

Yes, but archiving one's posts has nothing to do with whether they're
uploaded to your news server.  When you post, normally your articles are
sent to your news server (or uploaded there by slrnpull).  The only copies
that remain accessible to you are the copies you download from a news server
or archiving service (e.g., DejaNews).  If you set save_posts, everything
works normally plus you keep a copy of the posts you wrote in a file.
Archiving your posts does not affect their inclusion in Usenet at all.

Re: [slrn / slrnpull] Scoring - Kill everything but selected authors
#43440
Author: Dawn Owens-Nicholson
Date: Sun, 27 Sep 1998 00:00
54 lines
2886 bytes
Gary Jones wrote:
> [...] I want to use the slrnpull scoring to kill everything but a selected
> group of posters on a ng [...my broken scorefile follows...]
>   #start score file
>   [some.newsgroup]
>   Score: -10
>   From: *
>   ~From: Gary Jones
>   #more authors here
>   #end score file

Peppe replied:
> The problem is the single ":" in "Score:". This means that the
> following conditions must all be fulfilled (A and B and C ...). If you
> use "Score::" instead, the article will be scored if any of the
> conditions match (A or B ...).

Actually, if we assume -10 is Gary Jones' kill score (odd, but there was no
other text indicating this wasn't the case) and hope slrn doesn't think the
"#" lines are preprocessor lines and delete the erroneous "From: *" line,
that will kill everything in the group(s) listed.  Take away the "#" lines:

[some.newsgroup]
Score: -10
From: *
~From: Gary Jones

and you can see the first regex line, "From: *", means nothing and should be
removed or changed to mean something[1].  The second will kill everyone's
post *except* Gary Jones' posts.  Archiving one's posts is far more
efficient than getting them this way and that doesn't appear to meet the
criteria cited above.  Using the double-colon (OR) won't work either:

[some.newsgroup]
    Score:: -10
            ~From: person1
            ~From: person2
	    ~From: person3

Because this will kill everything in some.newsgroup.  person1's posts are
killed because the second From will evaluate to true (person1 is not
person2), thus the article is reduced 10 points (a kill according to what
Gary Jones posted).  person2 and person3's posts are similarly killed after
evaluating the first From.  Since all other people are not persons 1-3,
their posts will also be killed after the first From.  I suggest a better
alternative in <slrn70r1p1.akg.bluemoon@ux6.cso.uiuc.edu>.


[1] rgrep (which comes with jed) says a lone asterisk matches a literal
    asterisk, but it's far more likely this was thought to be "everyone
    EXCEPT Gary Jones" taken in the context of the scorefile snippet Gary
    Jones posted.

Re: [slrn / slrnpull] Scoring - Kill everything but selected authors
#43461
Author: Gary Jones
Date: Mon, 28 Sep 1998 00:00
25 lines
2039 bytes
Dawn Owens-Nicholson wrote:
>Gary Jones <news@manassa.demon.co.uk> wrote:

>> Does slrn then include these archived posts in the threads?
>
>Yes, but archiving one's posts has nothing to do with whether they're
>uploaded to your news server.  When you post, normally your articles are
>sent to your news server (or uploaded there by slrnpull).  The only copies
>that remain accessible to you are the copies you download from a news
server
>or archiving service (e.g., DejaNews).  If you set save_posts, everything
>works normally plus you keep a copy of the posts you wrote in a file.
>Archiving your posts does not affect their inclusion in Usenet at all.

Sorry, I think I didn't make myself clear again :( I assumed the saved posts
would be also sent to the news server. Unfortunately sometimes the Demon
newsborg does odd things (I forget which number of Grand News SNAFU we're on
at present) like losing some posts that have been sent - without them coming
back I have no notification that this has happened. Checking DejaNews is not
a possibility for me because I X-No-Archive: yes my posts and I'm not
willing to give that up.



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