🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Michael Elkins Thu, 13 Jun 1996 00:00
[slrn] Can't kill crossposts with scorefile
#22736
Author: Michael Elkins
Date: Thu, 13 Jun 1996 00:00
31 lines
1245 bytes
I took the exact lines from the KILL_FAQ and put them in my scorefile:

[*]
Score: -9999
     Xref: :.*:

But alas, that does not work.  Yes, my server _does_ support the Xref
header (I've checked by making slrn display the full header and I can
see them).

It always says "0 articles killed" when I enter a group, but there are
still crossposts I get to read.

I know that I have my scorefile set up ok because I've added:

[*]
Score: 50
	Subject: slrn

and I end up with an exclamation point (!) next to all articles which have
"slrn" in the subject.

I am using slrn 0.8.8.2 (the most current).  Does anyone have any clue
as to why this might not be working?

Thanks,
me


Re: [slrn] Can't kill crossposts with scorefile
#22977
Author: Felix von Leitner
Date: Sun, 16 Jun 1996 00:00
22 lines
1423 bytes
On 13 Jun 1996 17:47:43 GMT, Michael Elkins <elkins@aero.org> wrote:
> But alas, that does not work.  Yes, my server _does_ support the Xref
> header (I've checked by making slrn display the full header and I can
> see them).

When debugging through my "kill the crossposts" code, I found that
h->xref in art.c:kill_cross_references is always NULL.  So
kill_cross_references always exits.  So I concluded that
news.fu-berlin.de does not have Xref.  But this posting *had* an Xref:
line in the header.  Strange.  I didn't bother to hack through slrn deep
enough to understand why this happens.

Felix

-- 
http://www.inf.fu-berlin.de/~leitner/slrn.crosspost.diff
http://www.inf.fu-berlin.de/~leitner/slrn.pgp.diff
http://www.inf.fu-berlin.de/~leitner/slrn.afw.diff


Re: [slrn] Can't kill crossposts with scorefile
#23023
Author: John E. Davis
Date: Mon, 17 Jun 1996 00:00
18 lines
1269 bytes
On 13 Jun 1996 17:47:43 GMT, Michael Elkins <elkins@aero.org>
wrote:
 : But alas, that does not work.  Yes, my server _does_ support the Xref
 : header (I've checked by making slrn display the full header and I can
 : see them).

This does not mean that the `Xref' header is part of the overview database.
In order for slrn to score on the Xref header, it must be part of that
database.  Unfortunately, the default for the overview database is not to
include it.
-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis


Re: [slrn] Can't kill crossposts with scorefile
#23116
Author: Felix von Leitner
Date: Tue, 18 Jun 1996 00:00
23 lines
1498 bytes
On 17 Jun 1996 04:56:52 GMT, John E. Davis <davis@space.mit.edu> wrote:
> On 13 Jun 1996 17:47:43 GMT, Michael Elkins <elkins@aero.org>
> wrote:
>  : But alas, that does not work.  Yes, my server _does_ support the Xref
>  : header (I've checked by making slrn display the full header and I can
>  : see them).

> This does not mean that the `Xref' header is part of the overview database.
> In order for slrn to score on the Xref header, it must be part of that
> database.  Unfortunately, the default for the overview database is not to
> include it.

I don't like the default way in which slrn handles crossposts.

You have to actually *display* the message, 'c'ing it is not sufficient.
If you catch-up the message, it is not removed in other groups.  My
crosspost patch changes that, too.

Felix


Re: [slrn] Can't kill crossposts with scorefile
#23117
Author: John E. Davis
Date: Tue, 18 Jun 1996 00:00
33 lines
2292 bytes
On 18 Jun 1996 22:31:32 GMT, Felix von Leitner <leitner@xorn.prz.tu-berlin.de>
wrote:
 : I don't like the default way in which slrn handles crossposts.
 : 
 : You have to actually *display* the message, 'c'ing it is not sufficient.
 : If you catch-up the message, it is not removed in other groups.  My
 : crosspost patch changes that, too.

In order for slrn to delete cross-posted articles, it needs to know which
groups the article was cross-posted.  Right now this is only possible if
the Xref header is known.  This means that either this header must be
obtained via the XOVER command or by reading the article.  I am sure that no
one wants the `catchup' command to cause slrn to retrive all articles from
the server so that it can determine the Xref header.  That is why Xref
should be part of the overview database.

If I understand your patch, it caches all message-ids that slrn has read.
Then if it encounters an article with one of the cached message-ids, it will
mark that article as read.  The only problem with this is that the unread
article counts do not get updated on the group display and it does not work
across separate slrn sessions.  For these reasons, making xref as part
of the overview database is the way to go.  Because most knowledgeable nntp
server administrators do this already, I will make your patch a COMPILE-TIME
option that is disabled by default.

-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis


Re: [slrn] Can't kill crossposts with scorefile
#23212
Author: Felix von Leitner
Date: Fri, 21 Jun 1996 00:00
84 lines
3852 bytes
-----BEGIN PGP SIGNED MESSAGE-----

On 18 Jun 1996 22:57:51 GMT, John E. Davis <davis@space.mit.edu> wrote:
> On 18 Jun 1996 22:31:32 GMT, Felix von Leitner <leitner@xorn.prz.tu-berlin.de>
> wrote:
>  : I don't like the default way in which slrn handles crossposts.
>  : 
>  : You have to actually *display* the message, 'c'ing it is not sufficient.
>  : If you catch-up the message, it is not removed in other groups.  My
>  : crosspost patch changes that, too.

> In order for slrn to delete cross-posted articles, it needs to know which
> groups the article was cross-posted.  Right now this is only possible if
> the Xref header is known.  This means that either this header must be
> obtained via the XOVER command or by reading the article.  I am sure that no
> one wants the `catchup' command to cause slrn to retrive all articles from
> the server so that it can determine the Xref header.  That is why Xref
> should be part of the overview database.

You are right, nobody wants that.

> If I understand your patch, it caches all message-ids that slrn has read.

Correct.

> Then if it encounters an article with one of the cached message-ids, it will
> mark that article as read.

Since marking an article as read needs the number of the article rather
than the message-id, I rather score it -9999.  Seems to work fine,
though.  But has the problem that when you leave slrn before having
entered all relevant newsgroups, the cached message-ids will be lost.

> The only problem with this is that the unread article counts do not
> get updated on the group display and it does not work across separate
> slrn sessions.

Yes, right.  Both are right.  But I still find this way better than the
way slrn does now.

> For these reasons, making xref as part of the overview database is the
> way to go.

Right.  I'm already bothering my newsadmin ;)

For me, the vast majority of news articles crossposted is never seen.
It is all catched up.  I enter a newsgroup, and some postings are even
scored away, based on the newsgroup name.  Then I enter the next
newsgroup and there they are again.  This is not the right thing.

For example, one of our local particularly moronic individuals
crossposted to several announce groups something that really didn't
belong there.  I could see that from the subject.  But I have to
actually read it to get it removed from other newsgroups.

> Because most knowledgeable nntp server administrators do this already,
> I will make your patch a COMPILE-TIME option that is disabled by
> default.

You will integrate it?  Cool!

As long as I can activate it, I'm content ;)

Felix


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: latin1

iQCVAwUBMcoBEB/Da1Yoy+f1AQErSwQAseyIZT2Ztwqi5YTc/wDMa7jnuaEyWcLW
8WgCVsRR5OixfTWKgxPKeSc7BfU85qhAm8uvPqYpP4oT414JPLEvzOU7WwZVHV2z
OnJOftVUAVkFjC/1aKSIv3Ae6aquaVdepe3czQ3a2R1yyo5v8CD6bFNwir5E5tUa
hP2Y9w8mURg=
=6Dnt
-----END PGP SIGNATURE-----

-- 
Some are born to perl, some achieve perl,
and some have perl thrust upon them.


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