Thread View: news.software.nntp
11 messages
11 total messages
Started by Renaud Colinet
Tue, 13 Mar 2001 18:40
[long] slrn and XPAT command
Author: Renaud Colinet
Date: Tue, 13 Mar 2001 18:40
Date: Tue, 13 Mar 2001 18:40
276 lines
9524 bytes
9524 bytes
[Xpost ns.readers/ns.nntp, fu2 ns.nntp] Hi To find the children of a post, slrn uses an XPAT command. However, on the server I usually use, this command returns more articles than it should (i.e articles that don't have the original Msg-ID in their References: field). If I try it on another server, only the right articles are retrieved. At this point my conclusion is: either slrn uses an incorrect XPAT syntax that some servers may interpret wrongly, or XPAT is wrongly implemented on my favourite server. Reading RFC2980 didn't help much, since I don't know what a correct search pattern should look like in an XPAT. AFAI can see, slrn uses the command: XPAT References <header-range> *<original-MsgId>* Following are the logs of 2 slrn sessions, the first one giving correct results, the second incorrect results: (unnecessary data expunged) ------------------------------------------------------------- <201 univ-angers.fr InterNetNews NNRP server INN 2.2 21-Jan-1999 ready (no posting). >MODE READER > [...] >GROUP comp.mail.mutt > <211 65 48 6944 comp.mail.mutt >XOVER 6916-6916 > <224 data follows <6916 Changing Mailbox without 'c' Michael Velten <xxxxxx@xxxxxxx.xx> Sat, 10 Mar 2001 15:56:51 +0100 <D01-03-10.T15-56-51@blowfish.michnet.de> 1164 16 Xref: univ-angers.fr comp.mail.mutt:6916 <. >XPAT > <501 header range|MessageID pat [morepat...] >XPAT References 48-6944 *<D01-03-10.T15-56-51@blowfish.michnet.de>* > <221 References matches follow. <6917 <D01-03-10.T15-56-51@blowfish.michnet.de> <6919 <D01-03-10.T15-56-51@blowfish.michnet.de> <984282918SVW.fvw@var.cx> <6920 <D01-03-10.T15-56-51@blowfish.michnet.de> <. >XOVER 6917-6917 > <224 data follows <6917 Re: Changing Mailbox without 'c' xxxxxxxxxx@xxx.xx (fvw) Sun, 11 Mar 2001 03:56:22 GMT <984282918SVW.fvw@var.cx> <D01-03-10.T15-56-51@blowfish.michnet.de> 1505 16 Xref: univ-angers.fr comp.mail.mutt:6917 <. >XOVER 6919-6919 > <224 data follows <6919 Re: Changing Mailbox without 'c' Michael Velten <xxxxxx@xxxxxxx.xx> Sun, 11 Mar 2001 13:20:13 +0100 <D01-03-11.T13-20-13@blowfish.michnet.de> <D01-03-10.T15-56-51@blowfish.michnet.de> <984282918SVW.fvw@var.cx> 1364 17 Xref: univ-angers.fr comp.mail.mutt:6919 <. >XOVER 6920-6920 > <224 data follows <6920 Re: Changing Mailbox without 'c' xxxxx.xxxx@xxxxx.xxx (Dave Pearson) 11 Mar 2001 14:43:10 GMT <slrn9an3nu.56l.davep.news@hagbard.davep.org> <D01-03-10.T15-56-51@blowfish.michnet.de> 1911 23 Xref: univ-angers.fr comp.mail.mutt:6920 <. >XPAT References 48-6944 *<984282918SVW.fvw@var.cx>* > <221 References matches follow. <6919 <D01-03-10.T15-56-51@blowfish.michnet.de> <984282918SVW.fvw@var.cx> <. >XPAT References 48-6944 *<D01-03-11.T13-20-13@blowfish.michnet.de>* > <221 References matches follow. <. >XPAT References 48-6944 *<slrn9an3nu.56l.davep.news@hagbard.davep.org>* > <221 References matches follow. <. >QUIT > ---------------------------------------------------- <200 Bonjour les Freenautes qui viennent de chez les autres!! (Typhoon v1.2.2-pre1) >MODE READER > [...] <281 Authentication Accepted >XOVER [...] >GROUP comp.mail.mutt > <211 42 6323 6365 comp.mail.mutt >XOVER 6338-6338 > <224 Overview Information Follows <6338 Changing Mailbox without 'c' Michael Velten <xxxxxx@xxxxxxx.xx> Sat, 10 Mar 2001 15:56:51 +0100 <D01-03-10.T15-56-51@blowfish.michnet.de> 1272 16 Xref: feeder2.proxad.net comp.mail.mutt:6338 <. >XPAT > <501 Bad Command Usage >XPAT References 6323-6365 *<D01-03-10.T15-56-51@blowfish.michnet.de>* > <221 references fields follow <6325 <6333 <6338 <6339 <D01-03-10.T15-56-51@blowfish.michnet.de> <6341 <D01-03-10.T15-56-51@blowfish.michnet.de> <984282918SVW.fvw@var.cx> <6342 <D01-03-10.T15-56-51@blowfish.michnet.de> <6344 <6345 <6346 <6347 <6348 <6351 <6354 <6359 <6365 <. >XOVER 6325-6325 > <224 Overview Information Follows <6325 Raw headers xxx@xxx.xxx.xxx (raf) Thu, 08 Mar 2001 21:55:28 GMT <slrn9afvuo.qj.raf@a24b94n88client20.hawaii.rr.com> 850 2 Xref: feeder2.proxad.net comp.mail.mutt:6325 <. >XOVER 6333-6333 > <224 Overview Information Follows <6333 Mutt and apop errors "Sean Rima" <xxxx.xxxxxxxxx.xxxx.xx.xx@xxxx.xxxxx.xxx> Fri, 09 Mar 2001 00:16:54 GMT <MSGID_2=3a263=2f950_3aa81f6c@fidonet.org> 1708 28 Xref: feeder2.proxad.net comp.mail.mutt:6333 <. >XOVER 6339-6339 > <224 Overview Information Follows <6339 Re: Changing Mailbox without 'c' xxx+xxxxxx@xxx.xx (fvw) Sun, 11 Mar 2001 03:56:22 GMT <984282918SVW.fvw@var.cx> <D01-03-10.T15-56-51@blowfish.michnet.de> 1541 16 Xref: feeder2.proxad.net comp.mail.mutt:6339 <. >XOVER 6341-6341 > <224 Overview Information Follows <6341 Re: Changing Mailbox without 'c' Michael Velten <xxxxxx@xxxxxxx.xx> Sun, 11 Mar 2001 13:20:13 +0100 <D01-03-11.T13-20-13@blowfish.michnet.de> <D01-03-10.T15-56-51@blowfish.michnet.de> <984282918SVW.fvw@var.cx> 1441 17 Xref: feeder2.proxad.net comp.mail.mutt:6341 <. >XOVER 6342-6342 > <224 Overview Information Follows <6342 Re: Changing Mailbox without 'c' xxxxx.xxxx@xxxxx.xxx (Dave Pearson) 11 Mar 2001 14:43:10 GMT <slrn9an3nu.56l.davep.news@hagbard.davep.org> <D01-03-10.T15-56-51@blowfish.michnet.de> 1945 23 Xref: feeder2.proxad.net comp.mail.mutt:6342 <. >XOVER 6344-6344 > <224 Overview Information Follows <6344 imap speed Christoph <xxxxxxx@xxxxx.xxx> Sun, 11 Mar 2001 19:46:00 +0100 <ssonnic-F3DAC2.19460011032001@nathan.rz.tu-harburg.de> 1047 10 Xref: feeder2.proxad.net comp.mail.mutt:6344 <. >XOVER 6345-6345 > <224 Overview Information Follows <6345 functionality of 'group reply' xxxxxxxxx@xxxx.xxxxxxxx.xx (Tim Schlotfeldt) 11 Mar 2001 19:15:58 GMT <slrn9anjne.plf.SpamExp12@tfly.toppoint.de> 1545 26 Xref: feeder2.proxad.net comp.mail.mutt:6345 <. >XOVER 6346-6346 > <224 Overview Information Follows <6346 move messages to mbox before reading "Dr. Thomas Bengs" <xxxx@xxxxxx.xx-xxxxxxxx.xx> 11 Mar 2001 20:20:02 +0100 <98gj52$5pq$1@virago.in-chemnitz.de> 1304 14 Xref: feeder2.proxad.net comp.mail.mutt:6346 <. >XOVER 6347-6347 > <224 Overview Information Follows <6347 Template with mutt xxxxxxx@xxxxxx.xx (Laurent Rathle) Mon, 12 Mar 2001 07:28:03 +0000 (UTC) <Xns906256344B328lrathleteaserfr@213.91.2.138> 913 12 Xref: feeder2.proxad.net comp.mail.mutt:6347 <. >XOVER 6348-6348 > <224 Overview Information Follows <6348 Error sending message "Adrian Davis" <xxxxxx.xxxxx@xxxxxxxx.xxx.xx> Mon, 12 Mar 2001 10:06:37 -0000 <98i71p$5oj$1@reader-00.news.insnet.cw.net> 1230 14 Xref: feeder2.proxad.net comp.mail.mutt:6348 <. >XOVER 6351-6351 > <224 Overview Information Follows <6351 Question about index and Bcc xxxxx.xxxx@xxxxxxxx.xxx (Georg Denk) Mon, 12 Mar 2001 12:14:26 MET <2001Mar12.121426@ultra> 1100 22 Xref: feeder2.proxad.net comp.mail.mutt:6351 <. >XOVER 6354-6354 > <224 Overview Information Follows <6354 Folders over NFS xxxxxxxx@xxxxx.xx.xxx.xx (=?iso-8859-1?Q?M=E5ns?= Nilsson) 12 Mar 2001 12:49:38 GMT <slrn9aphf0.ikt.mansaxel@igloo.df.lth.se> 1139 12 Xref: feeder2.proxad.net comp.mail.mutt:6354 <. >XOVER 6359-6359 > <224 Overview Information Follows <6359 saving messages to receiver ? Georg Umgiesser <xxxxx@xxxxx.xx.xxx.xx> Mon, 12 Mar 2001 13:50:11 +0100 <3AACC603.5685FB24@isdgm.ve.cnr.it> 1764 26 Xref: feeder2.proxad.net comp.mail.mutt:6359 <. >XOVER 6365-6365 > <224 Overview Information Follows <6365 not-quoting empty lines, howto? Robert Fuhrberg <xxxxxxxxx@xxx.xxx> Tue, 13 Mar 2001 01:43:11 +0100 <veqj89.1o1.ln@ID-10163.user.dfncis.de> 1145 13 Xref: feeder2.proxad.net comp.mail.mutt:6365 <. >XPAT References 6323-6365 *<984282918SVW.fvw@var.cx>* > <221 references fields follow <6325 <6333 <6338 <6341 <D01-03-10.T15-56-51@blowfish.michnet.de> <984282918SVW.fvw@var.cx> <6344 <6345 <6346 <6347 <6348 <6351 <6354 <6359 <6365 <. >XPAT References 6323-6365 *<D01-03-11.T13-20-13@blowfish.michnet.de>* > <221 references fields follow <6325 <6333 <6338 <6344 <6345 <6346 <6347 <6348 <6351 <6354 <6359 <6365 <. >XPAT References 6323-6365 *<slrn9an3nu.56l.davep.news@hagbard.davep.org>* > <221 references fields follow <6325 <6333 <6338 <6344 <6345 <6346 <6347 <6348 <6351 <6354 <6359 <6365 <. >QUIT > ----------------------------------------------------- So, should I turn to Thomas Schultz or to my newsadmin? ;-) TIA, -- Renaud
Re: [long] slrn and XPAT command
Author: J.B. Moreno
Date: Wed, 14 Mar 2001 20:01
Date: Wed, 14 Mar 2001 20:01
18 lines
1524 bytes
1524 bytes
In article <RQtr6.140$KH2.554160@nnrp1.proxad.net>, Renaud Colinet <rcolinet@free.invalid> wrote: > To find the children of a post, slrn uses an XPAT command. However, on > the server I usually use, this command returns more articles than it > should (i.e articles that don't have the original Msg-ID in their > References: field). > If I try it on another server, only the right articles are retrieved. This frequently comes up in news.software.readers, usually with Xnews users -- it's a problem with some servers, nothing you can do about it. (Not sure of the server off hand, a google search of the group ought to find it no problem) -- J.B. Moreno
Re: [long] slrn and XPAT command
Author: those who know me have no need o...
Date: Thu, 15 Mar 2001 11:32
Date: Thu, 15 Mar 2001 11:32
29 lines
1723 bytes
1723 bytes
[f-u ignored so that we can argue whether typhoon or slrn sucks worse.] <RQtr6.140$KH2.554160@nnrp1.proxad.net> divulged: >Reading RFC2980 didn't help much, since I don't know what a correct >search pattern should look like in an XPAT. why? it specifically states it should be a wildmat. (man 3 wildmat) the only real problem is that 2980 isn't a standard. not even on the standards track. so nobody really has to abide by it. to wit ... ><200 Bonjour les Freenautes qui viennent de chez les autres!! (Typhoon v1.2.2-pre1) [...] >>XPAT References 6323-6365 *<D01-03-10.T15-56-51@blowfish.michnet.de>* >> ><221 references fields follow ><6325 ><6333 ><6338 ><6339 <D01-03-10.T15-56-51@blowfish.michnet.de> highwind stuff likes to do this. slrn should probably ignore any line returned that doesn't have anything after the article number, at least on search responses. -- okay, have a sig then
Re: [long] slrn and XPAT command
Author: Russ Allbery
Date: Thu, 15 Mar 2001 11:49
Date: Thu, 15 Mar 2001 11:49
23 lines
1980 bytes
1980 bytes
In news.software.nntp, those who know me have no need of my name
<not-a-real-address@usa.net> writes:
> why? it specifically states it should be a wildmat. (man 3 wildmat)
> the only real problem is that 2980 isn't a standard. not even on the
> standards track. so nobody really has to abide by it. to wit ...
Note that XPAT in its current form is unlikely to ever be standardized.
The NNTP working group tried, and ran into more issues than you can count.
It's very poorly specified, in large part because it badly abuses wildmat
for stuff that wildmat sucks at.
The right approach is to dump the whole syntax of XPAT entirely and define
something that uses a real, generalized pattern-matching language like
regular expressions. Looking at IMAP's SEARCH command is probably the
right direction to go.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: XPAT command
Author: Renaud Colinet
Date: Thu, 15 Mar 2001 13:22
Date: Thu, 15 Mar 2001 13:22
16 lines
1626 bytes
1626 bytes
On Wed, Mar 14 2001, J.B. Moreno wrote: > > This frequently comes up in news.software.readers, usually with Xnews > users -- it's a problem with some servers, nothing you can do about it. > This is imho definitely a server problem, since the same behaviour appears in slrn and Xnews (which are not the worst newsreaders). > (Not sure of the server off hand, a google search of the group ought to > find it no problem) > I found a few posts about Typhoon (the faulty server), but nothing about my case. -- Renaud
Re: [long] slrn and XPAT command
Author: Renaud Colinet
Date: Thu, 15 Mar 2001 13:35
Date: Thu, 15 Mar 2001 13:35
27 lines
2089 bytes
2089 bytes
On Thu, Mar 15 2001, those who know me have no need of my name wrote: > [f-u ignored so that we can argue whether typhoon or slrn sucks worse.] > All right, Xposting continues, no f-u set > > why? it specifically states it should be a wildmat. (man 3 wildmat) the Well, I admit I could have searched a little further... > only real problem is that 2980 isn't a standard. not even on the standards > track. so nobody really has to abide by it. to wit ... > Then why claim to implement its commands if you can't abide by it? > > highwind stuff likes to do this. slrn should probably ignore any line > returned that doesn't have anything after the article number, at least on > search responses. > IOW, slrn should do more stuff in order to fix buggy software's responses? Even if I'm quite sure that it would be easier to fix slrn (at least my version) than to ask my newsadmin to fix his server, I'm not convinced that this is the best approach. -- Renaud
Re: [long] slrn and XPAT command
Author: those who know me have no need o...
Date: Fri, 16 Mar 2001 15:22
Date: Fri, 16 Mar 2001 15:22
24 lines
1754 bytes
1754 bytes
<Wy3s6.722$Bk1.3015805@nnrp1.proxad.net> divulged: >> highwind stuff likes to do this. slrn should probably ignore any line >> returned that doesn't have anything after the article number, at least >> on search responses. >IOW, slrn should do more stuff in order to fix buggy software's >responses? given that the likelyhood of replacing all typhoon's with a patched version, provided anyone can convince software.com that it's worth changing -- yes. >Even if I'm quite sure that it would be easier to fix slrn (at least my >version) than to ask my newsadmin to fix his server, I'm not convinced >that this is the best approach. i'm not saying that it's the best. it is the only approach, for the near term. this isn't a case of misconfiguration of the server. also, there is no source available to patch, it's a commercial package. -- okay, have a sig then
buggy XPAT in typhoon (was: Re: slrn and XPAT command)
Author: Renaud Colinet
Date: Fri, 16 Mar 2001 16:12
Date: Fri, 16 Mar 2001 16:12
14 lines
1774 bytes
1774 bytes
On Fri, Mar 16 2001, those who know me have no need of my name wrote: [fixing newsreaders instead of waiting for typhoon fixes] > given that the likelyhood of replacing all typhoon's with a patched > version, provided anyone can convince software.com that it's worth > changing -- yes. > i'm not saying that it's the best. it is the only approach, for the near > term. this isn't a case of misconfiguration of the server. also, there > is no source available to patch, it's a commercial package. Kinda pessimistic, but also realistic view... -- Renaud
Re: [long] slrn and XPAT command
Author: A Meowbot
Date: Sun, 18 Mar 2001 17:51
Date: Sun, 18 Mar 2001 17:51
26 lines
2570 bytes
2570 bytes
In news.software.nntp, Russ Allbery <rra@stanford.edu> wrote: > The right approach is to dump the whole syntax of XPAT entirely and define > something that uses a real, generalized pattern-matching language like > regular expressions. Definitely. > Looking at IMAP's SEARCH command is probably the right direction to > go. At least in the last draft I saw, IMAP was making the mistake of inventing yet another incompatible regex syntax. IIRC it also contained a note that maybe 1003.2 syntax (hopefully with useful regcomp flags, egrep-ish perhaps) might be a better way to go. With luck that WG will ultimately follow that course. To get a decent NNTP search, it could help a lot to get the expressions off the command line and into a POST-like multiline type of input. A query could then resemble the output of a HEAD command, header names appearing one to a line and regexes appearing in place of header contents. Server responses might resemble [X]OVER, with all the requested header names spelled out to avoid the position dependence stuff. or use some of the other output ideas slung about these parts in the past.
Re: [long] slrn and XPAT command
Author: bill davidsen
Date: Thu, 22 Mar 2001 15:32
Date: Thu, 22 Mar 2001 15:32
18 lines
1852 bytes
1852 bytes
In article <Wy3s6.722$Bk1.3015805@nnrp1.proxad.net>,
Renaud Colinet <rcolinet@free.fr> wrote:
| IOW, slrn should do more stuff in order to fix buggy software's
| responses?
The reader software should expect conformance to a non-standard and
therefore should not be robust? Yes, it's non-intuitive, I think someone
used "delete the entries which fail the match" instead of "show the
entries which do match," but the reader software can deal with it, and
should.
--
bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc
"It's not true that life is one damn thing after another. It's one damn
thing over and over."
-Edna St Vincent Millay
Re: [long] slrn and XPAT command
Author: those who know me have no need o...
Date: Fri, 23 Mar 2001 14:19
Date: Fri, 23 Mar 2001 14:19
17 lines
1322 bytes
1322 bytes
<99d5tt$8f2i$1@newssvr05-en0.news.prodigy.com> divulged: >In article <Wy3s6.722$Bk1.3015805@nnrp1.proxad.net>, >Renaud Colinet <rcolinet@free.fr> wrote: > >| IOW, slrn should do more stuff in order to fix buggy software's >| responses? >the reader software can deal with it, and >should. it's also in keeping with "be liberal in what you accept," or at least i see it that way. -- okay, have a sig then
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