Thread View: news.software.readers
9 messages
9 total messages
Started by Tom Grydeland
Wed, 10 Sep 1997 00:00
slrn seems to ignore scorefile
Author: Tom Grydeland
Date: Wed, 10 Sep 1997 00:00
Date: Wed, 10 Sep 1997 00:00
32 lines
1275 bytes
1275 bytes
I'm trying to wrap my head around configuring slrn, but I can't seem to get scoring to work. To me, it looks as if the entire scorefile is ignored by slrn. I have (among others) these lines in .slrnrc: % Name of score file (relative to HOME directory) scorefile "News/Score" set display_score 1 And my scorefile contains (One of many attempts) [local.*] Score: -1000 Subject: windows but I haven't been able to score a single article. Can someone tell me what I'm doing wrong? Also, there seems to be no indication of what kind of regexes are recognised by the slrn regex engine. Does someone have an overview somewhere? Thanks, everyone. -- //Tom Grydeland <Tom.Grydeland@phys.uit.no>
Re: slrn seems to ignore scorefile
Author: Tom Grydeland
Date: Thu, 11 Sep 1997 00:00
Date: Thu, 11 Sep 1997 00:00
23 lines
1416 bytes
1416 bytes
On 11 Sep 97 00:10:29 GMT, root <root@DosLinux.DosLinux.com> wrote: Reading news as root? Is that smart? > On 10 Sep 1997 17:02:29 GMT, Tom Grydeland <tom@mitra.phys.uit.no> wrote: > >I'm trying to wrap my head around configuring slrn, but I can't seem to > >get scoring to work. To me, it looks as if the entire scorefile is > >ignored by slrn. I have (among others) these lines in .slrnrc: > That's not all that's gone wrong in recent slrn releases. The `L' > command, that was used to find specific unsubscribed newsgroups in > the .jnewsrc file, no longer works correctly. It queries the news- > server and gets garbage, instead of searching the .jnewsrc file. So should I revert to a previous version? In that case, which? -- //Tom Grydeland <Tom.Grydeland@phys.uit.no>
Re: slrn seems to ignore scorefile
Author: Thorfinn
Date: Thu, 11 Sep 1997 00:00
Date: Thu, 11 Sep 1997 00:00
36 lines
1564 bytes
1564 bytes
In news.software.readers, on 10 Sep 1997 17:02:29 GMT: Tom Grydeland <tom@mitra.phys.uit.no> wrote: > >I'm trying to wrap my head around configuring slrn, but I can't seem to >get scoring to work. To me, it looks as if the entire scorefile is >ignored by slrn. I have (among others) these lines in .slrnrc: [snip] >[local.*] > >Score: -1000 >Subject: windows > >but I haven't been able to score a single article. Can someone tell me >what I'm doing wrong? You probably want: Score: -1000 Subject: .*windows.* Note: The spaces after the Subject: *are* important. They're part of the match that's looked for... Spaces before are irrelevant. Later, Thorf -- <a href="http://www.tertius.net.au/~thorfinn">thorfinn@tertius.net.au</a> This life is a test. It is only a test. Had this been an actual life, you would have received further instructions as to what to do and where to go.
Re: slrn seems to ignore scorefile
Author: Thorfinn
Date: Thu, 11 Sep 1997 00:00
Date: Thu, 11 Sep 1997 00:00
44 lines
2398 bytes
2398 bytes
In news.software.readers, on 11 Sep 1997 09:02:42 GMT: Tom Grydeland <tom@mitra.phys.uit.no> wrote: >On 11 Sep 97 00:10:29 GMT, root <root@DosLinux.DosLinux.com> wrote: >Reading news as root? Is that smart? Not very. >> On 10 Sep 1997 17:02:29 GMT, Tom Grydeland <tom@mitra.phys.uit.no> wrote: >> >I'm trying to wrap my head around configuring slrn, but I can't seem to >> >get scoring to work. To me, it looks as if the entire scorefile is >> >ignored by slrn. I have (among others) these lines in .slrnrc: >> That's not all that's gone wrong in recent slrn releases. The `L' >> command, that was used to find specific unsubscribed newsgroups in >> the .jnewsrc file, no longer works correctly. It queries the news- >> server and gets garbage, instead of searching the .jnewsrc file. *sigh* I don't understand why someone would reply to a question about a problem with a description of an entirely *different* problem which is completely unrelated... But *shrug*. >So should I revert to a previous version? In that case, which? Nope. Slrn uses regexp(5) style regular expressions. You might want to try reading man egrep, man regexp and man 5 regexp... They're also the same regexps that vi uses, and ex, and sed, and awk... They're *not* the same as shell globbing characters (which aren't called regexps anyway). See my followup to your original post for possibly some more helpful information, though. :) Later, Thorfinn -- <a href="http://www.tertius.net.au/~thorfinn">thorfinn@tertius.net.au</a> This life is a test. It is only a test. Had this been an actual life, you would have received further instructions as to what to do and where to go.
Re: slrn seems to ignore scorefile
Author: Tom Grydeland
Date: Thu, 11 Sep 1997 00:00
Date: Thu, 11 Sep 1997 00:00
48 lines
2548 bytes
2548 bytes
On 11 Sep 1997 13:35:09 GMT, Thorfinn
<thorfinn@gay-deceiver.tertius.net.au> wrote:
> >> On 10 Sep 1997 17:02:29 GMT, Tom Grydeland <tom@mitra.phys.uit.no> wrote:
> >> >I'm trying to wrap my head around configuring slrn, but I can't seem to
> >> >get scoring to work. To me, it looks as if the entire scorefile is
> >> >ignored by slrn. I have (among others) these lines in .slrnrc:
>
> >So should I revert to a previous version? In that case, which?
>
> Nope. Slrn uses regexp(5) style regular expressions. You might want to
> try reading man egrep, man regexp and man 5 regexp...
> They're also the same regexps that vi uses, and ex, and sed, and awk...
I believe I have a fair knowledge of regexes. I know the difference
between BRE and ERE, between NFA and DFA matching, and I have the
reference (Mastering Regular Expressions, by J.E.F.Friedl) to
differentiate the different flavours, including the differences between
regexes in egrep, sed and awk. :-)
However, considering that the regex documentation that comes with slrn
basically says "There's no documentation for regexes in slrn yet", just
the flavour is a great help.
If you look at my initial posting, you'll see that I didn't try to do
*anything* fancy, since I wanted to make sure I'd get a match.
As I said, the problem is not with the regexes, but (apparently) slrn
ignoring my scorefile altogether.
> They're *not* the same as shell globbing characters (which aren't called
> regexps anyway).
I didn't mention globbing, did I?
> See my followup to your original post for possibly some more helpful
> information, though. :)
That one hasn't appeared here. Would you mind reposting it?
> <a href="http://www.tertius.net.au/~thorfinn">thorfinn@tertius.net.au</a>
--
//Tom Grydeland <Tom.Grydeland@phys.uit.no>
Re: slrn seems to ignore scorefile
Author: root
Date: Thu, 11 Sep 1997 00:00
Date: Thu, 11 Sep 1997 00:00
13 lines
1133 bytes
1133 bytes
On 10 Sep 1997 17:02:29 GMT, Tom Grydeland <tom@mitra.phys.uit.no> wrote: > >I'm trying to wrap my head around configuring slrn, but I can't seem to >get scoring to work. To me, it looks as if the entire scorefile is >ignored by slrn. I have (among others) these lines in .slrnrc: > That's not all that's gone wrong in recent slrn releases. The `L' command, that was used to find specific unsubscribed newsgroups in the .jnewsrc file, no longer works correctly. It queries the news- server and gets garbage, instead of searching the .jnewsrc file.
Re: slrn seems to ignore scorefile
Author: Heikki Kantola
Date: Sat, 13 Sep 1997 00:00
Date: Sat, 13 Sep 1997 00:00
19 lines
1657 bytes
1657 bytes
Tom Grydeland <tom@mitra.phys.uit.no> informed news.software.readers with the following: >However, considering that the regex documentation that comes with slrn >basically says "There's no documentation for regexes in slrn yet", just >the flavour is a great help. The best documentation for the regexp syntax used by Slrn is the output of rgrep program's help command as Slrn like rgrep (which comes with the Jed-editor�) use the very same slang-library's regexp code. � <URL:http://space.mit.edu/%7Edavis/jed.html> -- Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI> L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta tunnilta.
Re: slrn seems to ignore scorefile
Author: Tom Grydeland
Date: Mon, 15 Sep 1997 00:00
Date: Mon, 15 Sep 1997 00:00
40 lines
1652 bytes
1652 bytes
On 13 Sep 1997 01:18:28 GMT, Bek Oberin <gossamer@glasswings.com.au> wrote: > > Note: The spaces after the Subject: *are* important. They're part > > of the match that's looked for... Spaces before are irrelevant. > > Bzzzt. Wrong, honey :) That was a relief. > To test whether slrn's actually finding the file, try setting a > score from inside it by pressing K and filing stuff in. If it's > not finding the scorefile, it'll complain at this point. The first useful tip I've received. Slrn *does* complain. "Can't open /home/tom/News" It would seem slrn thinks my scorefile is named "News", and tries to open the *file* News. (News, obviously, is a directory) Thank you very much, I'll see if I can get to the bottom of this. BTW, is it supposed to be scorefile News/Score or scorefile "News/Score" ?? > : Bek Oberin / gossamer <gossamer@glasswings.com.au> -- //Tom Grydeland <Tom.Grydeland@phys.uit.no>
Re: slrn seems to ignore scorefile
Author: E.
Date: Mon, 15 Sep 1997 00:00
Date: Mon, 15 Sep 1997 00:00
23 lines
1217 bytes
1217 bytes
Tom Grydeland <tom@mitra.phys.uit.no> wrote:
>
> scorefile News/Score
>
> or
>
> scorefile "News/Score"
The second one works, at least for me.
erisson:~> grep Score .slrnrc
scorefile "News/Score"
-E
--
PGP Public Key Fingerprint: BE FC C5 FB 30 47 E5 5C DC DF C3 C0 AD A5 27 17
PGP Public Key available by fingering fnargle@primenet.com.
"Sanford Wallace IS an icky bug." -Paul Wylie
"Wanker city today." -fimmtiu
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