Discussion:
[slrn] Score file an multiple servers
(too old to reply)
Lewis
2020-01-21 15:34:54 UTC
Permalink
I use slrn to access two news servers, one a public USENET server
(eternal-september, though I don't think that matters) and the other is
a private NNTP server.

None of my scores seem to apply on the second server, UNLESS I edit the
score file while connected and then exit, at which point my messages get
scored properly.

The scroe in question is:

[*]
Score: =9000
{::
From: g\.kreme@
From: <g\.kreme@
}

There are many group specific scroes in the file for USENET groups, but
this should be firing for my posts on the second server (and does if, as
I said, I edit and relaod the score file).

I don't see anything in the slrnrc that would be useful.
--
Anybody who could duck the Vietnam war can certainly duck a couple of
shoes.
Adam Funk
2020-01-21 19:56:21 UTC
Permalink
Post by Lewis
I use slrn to access two news servers, one a public USENET server
(eternal-september, though I don't think that matters) and the other is
a private NNTP server.
...

Do you switch between them by using just
slrn -h usenet.example.com
vs
slrn -h private.example.org
i.e., without the -i config_file option?
--
We seem to understand the value of oil, timber, minerals, and
housing, but not the value of unspoiled beauty, wildlife,
solitude, and spiritual renewal. ---Calvin
Lewis
2020-01-22 06:15:33 UTC
Permalink
Post by Adam Funk
Post by Lewis
I use slrn to access two news servers, one a public USENET server
(eternal-september, though I don't think that matters) and the other is
a private NNTP server.
...
Do you switch between them by using just
slrn -h usenet.example.com
vs
slrn -h private.example.org
i.e., without the -i config_file option?
Yes, though I also use the -C flag.

slrn -C -h snews://news.eternal-september.org
slrn -C -h snews://news.privateserver.tld

Seems they should boith be reading the score file.

slrnrc:
set scorefile "Sync/Lewis/score_slrn"
--
'Does he have people put to death?' said Mort. SOMETIMES. THERE ARE
SOME THINGS YOU HAVE TO DO, WHEN YOU'RE A KING.
Adam Funk
2020-01-22 13:50:26 UTC
Permalink
Post by Lewis
Post by Adam Funk
Post by Lewis
I use slrn to access two news servers, one a public USENET server
(eternal-september, though I don't think that matters) and the other is
a private NNTP server.
...
Do you switch between them by using just
slrn -h usenet.example.com
vs
slrn -h private.example.org
i.e., without the -i config_file option?
Yes, though I also use the -C flag.
slrn -C -h snews://news.eternal-september.org
slrn -C -h snews://news.privateserver.tld
Seems they should boith be reading the score file.
set scorefile "Sync/Lewis/score_slrn"
This doesn't help, but I'm as surprised as you are that it's reading
the same config file in both cases & therefore the same score file.
Is there by any chance a "server" directive in the slrnrc file?
(Maybe it behaves differently according as the -h option matches that
or not.)
--
"It is the role of librarians to keep government running in difficult
times," replied Dramoren. "Librarians are the last line of defence
against chaos." (McMullen 2001)
Lewis
2020-01-22 17:48:09 UTC
Permalink
Post by Adam Funk
Post by Lewis
Post by Adam Funk
Post by Lewis
I use slrn to access two news servers, one a public USENET server
(eternal-september, though I don't think that matters) and the other is
a private NNTP server.
...
Do you switch between them by using just
slrn -h usenet.example.com
vs
slrn -h private.example.org
i.e., without the -i config_file option?
Yes, though I also use the -C flag.
slrn -C -h snews://news.eternal-september.org
slrn -C -h snews://news.privateserver.tld
Seems they should boith be reading the score file.
set scorefile "Sync/Lewis/score_slrn"
This doesn't help, but I'm as surprised as you are that it's reading
the same config file in both cases & therefore the same score file.
Is there by any chance a "server" directive in the slrnrc file?
(Maybe it behaves differently according as the -h option matches that
or not.)
There server lines are just like

server "news://news.eternal-september.org" "Sync/Lewis/newsrc"
server "news://news.enews.privateserver.tld" "Sync/Lewis/privnrc"

And the only mention of the score file in the slrnrc file is the line I
posted above.

Also, the score file IS read as long as I edit the score file while
connected to that server, (adding a space or new line is enough) and
then save it, causing slrn to apply the score file.

But if I don't do that, it never applies the scores on the second
server. It always works correctly on eternal-september.
--
No man is free who is not master of himself
Adam Funk
2020-01-24 10:17:17 UTC
Permalink
Post by Lewis
Post by Adam Funk
Post by Lewis
I use slrn to access two news servers, one a public USENET server
(eternal-september, though I don't think that matters) and the other is
a private NNTP server.
...
Do you switch between them by using just
slrn -h usenet.example.com
vs
slrn -h private.example.org
i.e., without the -i config_file option?
Yes, though I also use the -C flag.
slrn -C -h snews://news.eternal-september.org
slrn -C -h snews://news.privateserver.tld
Seems they should boith be reading the score file.
set scorefile "Sync/Lewis/score_slrn"
This may not help either (my motto for this newsgroup?) but it looks
like you're not using the newest version of slrn.

Mine says this:

$ slrn --version
slrn pre1.0.4-2
* Note: This version is a developer preview.
S-Lang Library Version: 2.3.1
* Note: This program was compiled against version 2.3.0.
Operating System: Linux

COMPILE TIME OPTIONS:
Backends: +nntp -slrnpull -spool
External programs / libs: +canlock -inews +ssl -uudeview +iconv
Features: +decoding +emphasized_text +end_of_thread +fake_refs +gen_msgid
-grouplens -msgid_cache +piping +rnlock +spoilers -strict_from
Using 64 bit integers for article numbers.

but I did get the source code from github & compile it. (That reminds
me, I haven't checked for an update for quite a while...)
--
it's the nexus of the crisis
and the origin of storms
Lewis
2020-01-25 00:38:12 UTC
Permalink
Post by Adam Funk
Post by Lewis
Post by Adam Funk
Post by Lewis
I use slrn to access two news servers, one a public USENET server
(eternal-september, though I don't think that matters) and the other is
a private NNTP server.
...
Do you switch between them by using just
slrn -h usenet.example.com
vs
slrn -h private.example.org
i.e., without the -i config_file option?
Yes, though I also use the -C flag.
slrn -C -h snews://news.eternal-september.org
slrn -C -h snews://news.privateserver.tld
Seems they should boith be reading the score file.
set scorefile "Sync/Lewis/score_slrn"
This may not help either (my motto for this newsgroup?) but it looks
like you're not using the newest version of slrn.
slrn --version [17:36] [/Volumes/Xulu/web/ABs]
slrn 1.0.3
S-Lang Library Version: 2.3.2
* Note: This program was compiled against version 2.3.1a.
Operating System: Darwin

COMPILE TIME OPTIONS:
Backends: +nntp +slrnpull +spool
External programs / libs: -canlock -inews +ssl -uudeview +iconv
Features: +decoding +emphasized_text +end_of_thread +fake_refs +gen_msgid
-grouplens -msgid_cache +piping +rnlock +spoilers -strict_from
Using 64 bit integers for article numbers.

DEFAULTS:
Default server object: nntp
Default posting mechanism: nntp

but my slrnrc is from 0.9 days.

Mine is the newest version in homebrew.
Post by Adam Funk
$ slrn --version
slrn pre1.0.4-2
* Note: This version is a developer preview.
That seems like a beta.
--
On a scale of one to ten, it sucked.
Adam Funk
2020-01-27 15:58:41 UTC
Permalink
Post by Lewis
Post by Adam Funk
Post by Lewis
Post by Adam Funk
Post by Lewis
I use slrn to access two news servers, one a public USENET server
(eternal-september, though I don't think that matters) and the other is
a private NNTP server.
...
Do you switch between them by using just
slrn -h usenet.example.com
vs
slrn -h private.example.org
i.e., without the -i config_file option?
Yes, though I also use the -C flag.
slrn -C -h snews://news.eternal-september.org
slrn -C -h snews://news.privateserver.tld
Seems they should boith be reading the score file.
set scorefile "Sync/Lewis/score_slrn"
This may not help either (my motto for this newsgroup?) but it looks
like you're not using the newest version of slrn.
slrn --version [17:36] [/Volumes/Xulu/web/ABs]
slrn 1.0.3
S-Lang Library Version: 2.3.2
* Note: This program was compiled against version 2.3.1a.
Operating System: Darwin
Backends: +nntp +slrnpull +spool
External programs / libs: -canlock -inews +ssl -uudeview +iconv
Features: +decoding +emphasized_text +end_of_thread +fake_refs +gen_msgid
-grouplens -msgid_cache +piping +rnlock +spoilers -strict_from
Using 64 bit integers for article numbers.
Default server object: nntp
Default posting mechanism: nntp
but my slrnrc is from 0.9 days.
Mine is the newest version in homebrew.
Post by Adam Funk
$ slrn --version
slrn pre1.0.4-2
* Note: This version is a developer preview.
That seems like a beta.
I guess so --- sorry about the total lack of help here!
--
It's a tasty world.
J.B. Nicholson
2020-01-23 02:19:32 UTC
Permalink
Post by Lewis
None of my scores seem to apply on the second server, UNLESS I edit the
score file while connected and then exit, at which point my messages get
scored properly.
This is the part that makes me think something else is going on --
something causing a slrn configuration change such as repointing which
scorefile to use, something enabling scoring, or altering post scores.
slrn macros can do all of these things.

I'd try running slrn with a minimal slrnrc file: one that only
specifies which newsrc to use for each server (the "server" lines),
specifies the credentials needed for each server (the "nnrpaccess"
lines), and one which uses no processing directives (no lines that
start with "#"), and loads no macros (no "interpret" lines).

Then test loading slrn for each server and go to a group where you
have posted and your posts are marked unread, then see what score your
posts get.
Lewis
2020-01-23 14:00:21 UTC
Permalink
Post by J.B. Nicholson
Post by Lewis
None of my scores seem to apply on the second server, UNLESS I edit the
score file while connected and then exit, at which point my messages get
scored properly.
This is the part that makes me think something else is going on --
something causing a slrn configuration change such as repointing which
scorefile to use, something enabling scoring, or altering post scores.
slrn macros can do all of these things.
Yeah, something., but what. There is no other scorefile to use, and
slrn throws an error if you specify a non-existent one, iirc.
Post by J.B. Nicholson
I'd try running slrn with a minimal slrnrc file: one that only
specifies which newsrc to use for each server (the "server" lines),
specifies the credentials needed for each server (the "nnrpaccess"
lines), and one which uses no processing directives (no lines that
start with "#"), and loads no macros (no "interpret" lines).
Then test loading slrn for each server and go to a group where you
have posted and your posts are marked unread, then see what score your
posts get.
Good advice. I'll strip it down to the bare bones and see what happens.
--
"Are you pondering what I'm pondering?"
"I think so, Brain, but how are we going to get the bacon flavoring
into the pencils?"
Lewis
2020-01-23 22:04:34 UTC
Permalink
#v+
set confirm_actions 3
set netiquette_warnings 0
set reject_long_lines 0
set hide_quotes 3
set wrap_flags 6
set query_next_article 0
set query_next_group 0
set query_read_group_cutoff 1200
set smart_quote 3
set check_new_groups 0
set wrap_width 80
set top_status_line "%n - %d - %t"
set username "g.kreme"
set hostname "gmail.com.dontsendmecopies"
set realname "Lewis"
server ...
server ...
nnrpaccess ...
nnrpaccess ...
set server_object "nntp"
set post_object "nntp"
set read_active 1
set editor_command "vim -c 'set filetype=mail' +%d %s"
set score_editor_command "bbedit -w --resume +%d %s"
set scorefile "Sync/Lewis/score_slrn"
charset display "utf-8"
charset editor "utf-8"
#v-

This slrnrc file has the exact same issue as my full one, though
obviously the two server lines and nnrpaccess lines are filled in with
the two server's info.
--
What are you, Ghouls? There are no dead students here. This week.
George
2020-01-26 00:51:39 UTC
Permalink
On Thu, 23 Jan 2020 22:04:34 -0000 (UTC), Lewis
Post by Lewis
#v+
set confirm_actions 3
set netiquette_warnings 0
set reject_long_lines 0
set hide_quotes 3
set wrap_flags 6
set query_next_article 0
set query_next_group 0
set query_read_group_cutoff 1200
set smart_quote 3
set check_new_groups 0
set wrap_width 80
set top_status_line "%n - %d - %t"
set username "g.kreme"
set hostname "gmail.com.dontsendmecopies"
set realname "Lewis"
server ...
server ...
nnrpaccess ...
nnrpaccess ...
set server_object "nntp"
set post_object "nntp"
set read_active 1
set editor_command "vim -c 'set filetype=mail' +%d %s"
set score_editor_command "bbedit -w --resume +%d %s"
set scorefile "Sync/Lewis/score_slrn"
charset display "utf-8"
charset editor "utf-8"
#v-
This slrnrc file has the exact same issue as my full one, though
obviously the two server lines and nnrpaccess lines are filled in with
the two server's info.
6.92 scorefile
Type: string
Default: (unset)
If you want to score articles, you need to set this variable to the filename of your scorefile. It is interpreted as being relative to your home directory (unless it starts with a slash), or relative to $SLRNHOME if this is set.
If you want to use more than one scorefile, you need to use an include statement in the scorefile itself. Please do not confuse this with the include slrnrc command discussed above.
For further details on scoring, please refer to the file score.txt that should have come with your slrn distribution. The FAQ also answers questions about scoring and includes some examples. A future version of this manual might also include a separate section about the concept of "scoring".
For some reason your score file is not being read by the .slrnrc file.
I don't know if this is a MAC problem.
--
Democracy: Three wolves and a lamb vote for dinner.
Republic: Three wolves and a lamb vote for dinner,
but the lamb is armed & has the right
to an appeal in a court of law.
Socialism: Three Wolves have eaten the lamb
and are fighting amongst themselves
for scraps.
Lewis
2020-01-26 16:34:02 UTC
Permalink
Post by George
On Thu, 23 Jan 2020 22:04:34 -0000 (UTC), Lewis
Post by Lewis
#v+
set confirm_actions 3
set netiquette_warnings 0
set reject_long_lines 0
set hide_quotes 3
set wrap_flags 6
set query_next_article 0
set query_next_group 0
set query_read_group_cutoff 1200
set smart_quote 3
set check_new_groups 0
set wrap_width 80
set top_status_line "%n - %d - %t"
set username "g.kreme"
set hostname "gmail.com.dontsendmecopies"
set realname "Lewis"
server ...
server ...
nnrpaccess ...
nnrpaccess ...
set server_object "nntp"
set post_object "nntp"
set read_active 1
set editor_command "vim -c 'set filetype=mail' +%d %s"
set score_editor_command "bbedit -w --resume +%d %s"
set scorefile "Sync/Lewis/score_slrn"
charset display "utf-8"
charset editor "utf-8"
#v-
This slrnrc file has the exact same issue as my full one, though
obviously the two server lines and nnrpaccess lines are filled in with
the two server's info.
6.92 scorefile
Type: string
Default: (unset)
If you want to score articles, you need to set this variable to the filename of your scorefile. It is interpreted as being relative to your home directory (unless it starts with a slash), or relative to $SLRNHOME if this is set.
If you want to use more than one scorefile, you need to use an include statement in the scorefile itself. Please do not confuse this with the include slrnrc command discussed above.
For further details on scoring, please refer to the file score.txt that should have come with your slrn distribution. The FAQ also answers questions about scoring and includes some examples. A future version of this manual might also include a separate section about the concept of "scoring".
For some reason your score file is not being read by the .slrnrc file.
It is read by the slrnc file when I connect to the first server. When I
connect to the second server I can edit the score file, so slrn
definitely knows where the score file is.
Post by George
I don't know if this is a MAC problem.
Assuming you mean Mac, no, it has nothing to do with macOS.
--
A is for AMY who fell down the stairs B is for BASIL assaulted by
bears
George
2020-02-02 00:38:47 UTC
Permalink
Post by Lewis
It is read by the slrnc file when I connect to the first server. When I
connect to the second server I can edit the score file, so slrn
definitely knows where the score file is.
Are you running two instances of SLRN at the same time?
Lewis
2020-02-02 12:46:25 UTC
Permalink
Post by George
Post by Lewis
It is read by the slrnc file when I connect to the first server. When I
connect to the second server I can edit the score file, so slrn
definitely knows where the score file is.
Are you running two instances of SLRN at the same time?
Nope. I launch it, read USENET, exit, then relaunch it to read the
private NNTP server.
--
Puny god!
Lewis
2020-02-02 21:20:44 UTC
Permalink
Post by Lewis
Post by George
Post by Lewis
It is read by the slrnc file when I connect to the first server. When I
connect to the second server I can edit the score file, so slrn
definitely knows where the score file is.
Are you running two instances of SLRN at the same time?
Nope. I launch it, read USENET, exit, then relaunch it to read the
private NNTP server.
(Or sometimes the other way around, either way, it is the private NNTP
that doesn't load the score file until I edit it and then respond in the
affirmative to "do you want to apply the scorefile")
--
Can I tell you the truth? I mean this isn't like TV news, is it?
Ted Heise
2020-02-03 12:52:54 UTC
Permalink
On Sun, 2 Feb 2020 21:20:44 -0000 (UTC),
Post by Lewis
Post by Lewis
Post by George
Post by Lewis
It is read by the slrnc file when I connect to the first
server. When I connect to the second server I can edit the
score file, so slrn definitely knows where the score file
is.
Are you running two instances of SLRN at the same time?
Nope. I launch it, read USENET, exit, then relaunch it to read
the private NNTP server.
(Or sometimes the other way around, either way, it is the
private NNTP that doesn't load the score file until I edit it
and then respond in the affirmative to "do you want to apply
the scorefile")
Have you tried loading the two servers in the opposite order?
--
Ted Heise <***@panix.com> West Lafayette, IN, USA
Lewis
2020-02-04 20:44:40 UTC
Permalink
Well, I am a moron and did not check my aliases closely enough. The
alias for the private server passes a -k flag.

So, duh?

Doh?

Move along, nothing to see here.

<Sigh>
--
Hudd: 'I've just done this radio show where I never met any of the
other actors and I didn't understand what any of it was about'
Moore: 'Ah, yes I expect that's the thing I'm in.'
Ted Heise
2020-02-04 20:51:54 UTC
Permalink
On Tue, 4 Feb 2020 20:44:40 -0000 (UTC),
Post by Lewis
Well, I am a moron and did not check my aliases closely enough.
The alias for the private server passes a -k flag.
Ah, I had just started to think it sounded like the score file was
not being read until you addressed it from within an instance of
slrn. So that makes sense.

Thanks for reporting back on the cause!
--
Ted Heise <***@panix.com> West Lafayette, IN, USA
Adam Funk
2020-02-06 09:27:44 UTC
Permalink
Post by Lewis
Well, I am a moron and did not check my aliases closely enough. The
alias for the private server passes a -k flag.
So, duh?
Doh?
Move along, nothing to see here.
<Sigh>
We've all done stuff like that at some point!
--
All crime is due to incorrect breathing.
---Sir Henry Rawlinson
Frank
2020-02-07 00:45:24 UTC
Permalink
Post by Lewis
Well, I am a moron and did not check my aliases closely enough. The
alias for the private server passes a -k flag.
So, duh?
Doh?
Move along, nothing to see here.
<Sigh>
I once had an too many extra ':' in my slrn score file that caused it not
to work.

Peter J Ross
2020-01-30 20:08:27 UTC
Permalink
In news.software.readers on Tue, 21 Jan 2020 15:34:54 -0000 (UTC),
Post by Lewis
I use slrn to access two news servers, one a public USENET server
(eternal-september, though I don't think that matters) and the other is
a private NNTP server.
None of my scores seem to apply on the second server, UNLESS I edit the
score file while connected and then exit, at which point my messages get
scored properly.
[*]
Score: =9000
}
To me, that looks unnecessarily complicated.

A simple "From: kreme" would work 999 times out of a thousand.
Post by Lewis
There are many group specific scroes in the file for USENET groups, but
this should be firing for my posts on the second server (and does if, as
I said, I edit and relaod the score file).
I don't see anything in the slrnrc that would be useful.
Is it possible that you're using a different "From:" line on the
private server?

Perhaps the "From:" line from your .slrnrc has been rewritten by the
private server admins?
--
PJR :-)

Simia quam similis turpissima bestia nobis!
- Ennius
Lewis
2020-01-31 18:22:37 UTC
Permalink
Post by Peter J Ross
In news.software.readers on Tue, 21 Jan 2020 15:34:54 -0000 (UTC),
Post by Lewis
I use slrn to access two news servers, one a public USENET server
(eternal-september, though I don't think that matters) and the other is
a private NNTP server.
None of my scores seem to apply on the second server, UNLESS I edit the
score file while connected and then exit, at which point my messages get
scored properly.
[*]
Score: =9000
}
To me, that looks unnecessarily complicated.
It works.
Post by Peter J Ross
A simple "From: kreme" would work 999 times out of a thousand.
It probably would, but when I setup the rules it would not and there is
no reason to change it at this point.
Post by Peter J Ross
Post by Lewis
There are many group specific scroes in the file for USENET groups, but
this should be firing for my posts on the second server (and does if, as
I said, I edit and relaod the score file).
I don't see anything in the slrnrc that would be useful.
Is it possible that you're using a different "From:" line on the
private server?
Nope. Exactly yhe same. But it is not just this score, NO scores are
applied on the second server until I edit the score file, save it, and
"apply new scorefile now" at which point everything works as it should.
For that session.

Is there a keycombo to apply the score file?
--
"Are you pondering what I'm pondering?"
"I think so, Brain, but this time you put the trousers on the chimp."
Loading...