Thread View: news.software.readers
11 messages
11 total messages
Started by notbob
Tue, 03 Nov 2015 17:10
[slrn] What's up with slrn's score file
Author: notbob
Date: Tue, 03 Nov 2015 17:10
Date: Tue, 03 Nov 2015 17:10
28 lines
1391 bytes
1391 bytes
It is becoming less effective every day. When I score for a certain
newsgroup, I make it like this:
[rec.food.cooking]
Score:: =-9999
Xref: :.*:
Subject: [D|d]ataw
From: Dr.
From: Nancy2
.....etc
I've never gotten this entry to work, properly:
Lines: 50
.....it works for mostly for most regulars, but NEVER works for a guy
who always posts more than 50 lines (more like 100+).
It's not now working for Nancy2 (above) or another "From" that has
been effectively filtered for yrs. Now, without changing slrn's score
file, I'm suddenly seeing his posts appear. WTF!??
I'm running Slackware 14.1 with slrn 1.0.1, S-lang ver 2.0.4.
nb
Re: [slrn] What's up with slrn's score file
Author: J.B. Nicholson-Owens
Date: Sat, 07 Nov 2015 06:21
Date: Sat, 07 Nov 2015 06:21
39 lines
2446 bytes
2446 bytes
notbob <notbob@nothome.com> wrote:
> [rec.food.cooking]
> Score:: =-9999
>
> Xref: :.*:
> Subject: [D|d]ataw
>
> From: Dr.
> From: Nancy2
I'm a bit rusty on this but I believe this score does the following if
we assume -9999 is your kill score:
- in rec.food.cooking only
- kill all crossposts,
- kill any article where the Subject header contains the substring
"dataw", "|ataw", or "Dataw" (perhaps you were trying to specify
case-insensitivity for the leading "d" and case-sensitivity for the
"ataw"?),
- kill any article where the From header contains the substring
"Nancy2" or the substring "Dr" followed by any character.
Is that a fair description of what you were aiming to do? If not, let
us know what you're aiming for.
If I recall correctly, slrn scorefiles are case insensitive by
default. So that would mean your score could be rewritten slightly:
[rec.food.cooking]
Score:: =-9999
Xref: :.*:
Subject: dataw
From: dr\.
From: nancy2
In my rewritten score entry I'm presuming you meant to kill all posts
by anyone writing as "Dr." (as in doctor) in upper, lower, or mixed
case and not to kill all posts written by people who have "dr"
followed by another character somewhere in the From header.
Re: [slrn] What's up with slrn's score file
Author: J.B. Nicholson-Owens
Date: Sat, 07 Nov 2015 14:30
Date: Sat, 07 Nov 2015 14:30
28 lines
2154 bytes
2154 bytes
Another thought that occured to me is that scores above the
not-quite-working score entry are set to assign non-kill scores to
articles with the same or similar matching criteria as the criteria in
the score entry you posted.
For example:
[rec.foods.cooking]
Score: =-100
Subject: foo
Score: =-9999
Subject: foobar
clearly tries to kill articles with subject "foobar". I believe those
articles will instead be assigned -100 points (marking them read but
still present in the article list) because the articles will match the
first part ("foo") first and never get evaluated against the second
part ("foobar"). Reversing the order of these two parts would fix this
problem.
The only way I know to diagnose this kind of issue with other people's
help is for you to share your entire unedited score file. I understand
that posting one's complete unedited score file can be a privacy
problem but without that information it's hard to help diagnose
problems like this.
Good luck.
Re: [slrn] What's up with slrn's score file
Author: Whiskers
Date: Sat, 07 Nov 2015 17:17
Date: Sat, 07 Nov 2015 17:17
67 lines
3034 bytes
3034 bytes
On 2015-11-03, notbob <notbob@nothome.com> wrote:
> It is becoming less effective every day. When I score for a certain
> newsgroup, I make it like this:
>
> [rec.food.cooking]
> Score:: =-9999
>
> Xref: :.*:
> Subject: [D|d]ataw
>
> From: Dr.
> From: Nancy2
>
> ....etc
>
> I've never gotten this entry to work, properly:
>
> Lines: 50
>
> ....it works for mostly for most regulars, but NEVER works for a guy
> who always posts more than 50 lines (more like 100+).
>
> It's not now working for Nancy2 (above) or another "From" that has
> been effectively filtered for yrs. Now, without changing slrn's score
> file, I'm suddenly seeing his posts appear. WTF!??
>
> I'm running Slackware 14.1 with slrn 1.0.1, S-lang ver 2.0.4.
>
> nb
OK it's a wet Saturday so in the interests of science I've done a little
testing. Arch Linux, slrn 1.0.2-1, slang 2.3.0-1
Adding this to my scorefile has the effect expected:
#v+
[rec.food.cooking]
Score:: -4 %testing see <d9s84bFp3nmU5@mid.individual.net>
Xref: :.*:
Subject: [D|d]ataw
From: Dr.
From: Nancy2
Score: -3 %testing see <d9s84bFp3nmU5@mid.individual.net>
Lines: 50
#v-
I didn't spot any posts "From: Dr" (or Dra... or anything else starting
with Dr) but in the 5000 posts I loaded into slrn, the scores were
correct for all the other criteria.
Try testing each score as the only item in the scorefile. If that works
then any different behaviour when using your usual complete scorefile is
due to an interaction between different entries. For example, once an
article has matched an entry whose score is defined with an = sign then
that article will not be affected by any subsequent scores in the
scorefile whether it would otherwise match them or not.
When reading an article, Ctrl-v will show a list of scorefile entries
which the article has matched.
--
-- ^^^^^^^^^^
-- Whiskers
-- ~~~~~~~~~~
Re: [slrn] What's up with slrn's score file
Author: notbob
Date: Sat, 07 Nov 2015 17:33
Date: Sat, 07 Nov 2015 17:33
25 lines
1675 bytes
1675 bytes
On 2015-11-07, J.B. Nicholson-Owens <jbn@forestfield.org> wrote: > If I recall correctly, slrn scorefiles are case insensitive by > default. So that would mean your score could be rewritten slightly: > > [rec.food.cooking] > Score:: =-9999 > Xref: :.*: > Subject: dataw > From: dr\. > From: nancy2 > > In my rewritten score entry I'm presuming you meant to kill all posts > by anyone writing as "Dr." (as in doctor) in upper, lower, or mixed > case and not to kill all posts written by people who have "dr" > followed by another character somewhere in the From header. You are essentially correct. I see an escape character has been added in front of the period character. Thnx. And yes, there are many more "From:" entries. The problem is, The Nancy2 "From:" is being ignored by my score file and all her entries are being allowed to pass, unfiltered. nb
Re: [slrn] What's up with slrn's score file
Author: J.B. Nicholson-Owens
Date: Sun, 08 Nov 2015 05:14
Date: Sun, 08 Nov 2015 05:14
13 lines
1806 bytes
1806 bytes
notbob <notbob@nothome.com> wrote: > The problem is, The Nancy2 "From:" is being ignored by my score file > and all her entries are being allowed to pass, unfiltered. Check the preceeding scores for sections that match Nancy2's posts. The match could be on any value, not just the From header. Perhaps one of these sections assign matching articles some other score via "Score: =value" or "Score:: =value". Such score sections should create the effect you're seeing. Alternatively, try commenting out every other score in your scorefile except the score entry I posted earlier and see if that does what you need it to do.
Re: [slrn] What's up with slrn's score file
Author: Whiskers
Date: Sun, 08 Nov 2015 15:13
Date: Sun, 08 Nov 2015 15:13
14 lines
1456 bytes
1456 bytes
On 2015-11-07, Whiskers <catwheezel@operamail.com> wrote: > On 2015-11-03, notbob <notbob@nothome.com> wrote: [...] > When reading an article, Ctrl-v will show a list of scorefile entries > which the article has matched. Or just press v if you've left the default key binding alone. -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [slrn] What's up with slrn's score file
Author: notbob
Date: Sun, 08 Nov 2015 17:38
Date: Sun, 08 Nov 2015 17:38
16 lines
1488 bytes
1488 bytes
On 2015-11-08, Whiskers <catwheezel@operamail.com> wrote: > Or just press v if you've left the default key binding alone. Thanks, Whiskers, you solved my dilemma. I've been using slrn fer over a decade, but guess I didn't know as much as I thought. Turns out I also had a "Nancy2" in my eighth line, which is an "allowed"(=0) section. So, my problem was, she was already allowed before the KF section I also had her in. DOH! Neat trick, that v key. I also figured out how to edit my score file without having to leave slrn for a separate xterm using emacs. Pays to read those help menus. Again, thank you. ;) nb
Re: [slrn] What's up with slrn's score file
Author: Whiskers
Date: Sun, 08 Nov 2015 20:46
Date: Sun, 08 Nov 2015 20:46
26 lines
2066 bytes
2066 bytes
On 2015-11-08, notbob <notbob@nothome.com> wrote: > On 2015-11-08, Whiskers <catwheezel@operamail.com> wrote: > >> Or just press v if you've left the default key binding alone. > > Thanks, Whiskers, you solved my dilemma. > > I've been using slrn fer over a decade, but guess I didn't know as > much as I thought. Turns out I also had a "Nancy2" in my eighth line, > which is an "allowed"(=0) section. So, my problem was, she was > already allowed before the KF section I also had her in. DOH! Immortals are hard to get rid of! > Neat trick, that v key. I also figured out how to edit my score file > without having to leave slrn for a separate xterm using emacs. Pays > to read those help menus. Again, thank you. ;) > > nb Its documentation is one of slrn's best features :)) -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [slrn] What's up with slrn's score file
Author: andrew
Date: Mon, 09 Nov 2015 07:47
Date: Mon, 09 Nov 2015 07:47
10 lines
1275 bytes
1275 bytes
On 2015-11-08, notbob <notbob@nothome.com> wrote: > I've been using slrn fer over a decade, but guess I didn't know as > much as I thought. There always seems to be something to discover with slrn :) Andrew -- Do you think that's air you're breathing?
Re: [slrn] What's up with slrn's score file
Author: RS Wood
Date: Mon, 09 Nov 2015 11:35
Date: Mon, 09 Nov 2015 11:35
16 lines
1634 bytes
1634 bytes
On 2015-11-09 10:47:13 +0300, andrew said: > On 2015-11-08, notbob <notbob@nothome.com> wrote: > >> I've been using slrn fer over a decade, but guess I didn't know as >> much as I thought. > > There always seems to be something to discover with slrn :) > > Andrew That's new to me as well, and I've been using SLRN for well over a decade. I think with most software, you get to the point where you know how to do everything you need/want/think you need to do, and stop learning. This is a very cool trick - and you've inspired me to go back and read the docs again.
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