Thread View: news.software.readers
9 messages
9 total messages
Started by David Woolley
Fri, 17 Feb 1995 14:08
TRN / Offliner Conflict - TRN Not Threading Good(?) Thread
Author: David Woolley
Date: Fri, 17 Feb 1995 14:08
Date: Fri, 17 Feb 1995 14:08
38 lines
2645 bytes
2645 bytes
I've just set up trn (3.4, Slackware build) on Linux and noticed that it treats threads from Offliner as broken, even though there is a good Reference, and the only unusual feature is that there are two, rather than one space after the colon. Is this a known problem? Has it been fixed? A sample pair of headers is as follows: >Article 4407 of alt.usenet.offline-reader: >Path: djwhome.demon.co.uk!demon!peernews.demon.co.uk!doc.news.pipex.net!pipex!howland.reston.ans.net!agate!newsxfer.itd.umich.edu!zip.eecs.umich.edu!panix!ddsw1!news.rtd.com!seagull.rtd.com!neil >From: neil@RTD.COM (Neil Albala) >Newsgroups: alt.usenet.offline-reader >Subject: Paperboy vs RoboMail >Date: 11 Feb 1995 16:02:30 GMT >Organization: RTD Internet Access >Lines: 9 >Message-ID: <3hin2m$34q@baygull.rtd.com> >NNTP-Posting-Host: seagull.rtd.com >X-Newsreader: TIN [version 1.2 PL2] > >Article 4431 of alt.usenet.offline-reader: >Newsgroups: alt.usenet.offline-reader >Path: djwhome.demon.co.uk!demon!peernews.demon.co.uk!doc.news.pipex.net!pipex!news.sprintlink.net!cs.utexas.edu!uwm.edu!caen!hearst.acc.Virginia.EDU!murdoch!usenet >From: jct5y@faraday.clas.virginia.edu (Simon Tracy) >Subject: Re: Paperboy vs RoboMail >X-Nntp-Posting-Host: faraday.clas.virginia.edu >Message-ID: <no9vjlIE6vqSUuol06b@faraday.clas.virginia.edu> >Sender: usenet@murdoch.acc.Virginia.EDU >Organization: University of Virginia >X-Newsreader: Offliner for Windows 0.6b >References: <3hin2m$34q@baygull.rtd.com> >Date: Sun, 12 Feb 1995 01:10:37 GMT >Lines: 19 > [ Followups to n.s.r, on the assumption that the problem is with trn. ]
Re: TRN / Offliner Conflict - TRN Not Threading Good(?) Thread
Author: Paul Tomblin
Date: Sun, 19 Feb 1995 02:02
Date: Sun, 19 Feb 1995 02:02
16 lines
1474 bytes
1474 bytes
In a previous article, david@djwhome.demon.co.uk (David Woolley) said: >I've just set up trn (3.4, Slackware build) on Linux and noticed that it >treats threads from Offliner as broken, even though there is a good >Reference, and the only unusual feature is that there are two, rather >than one space after the colon. Is this a known problem? Has it been >fixed? According to RFC-822 and the other one (RFC-1194?), a header with two spaces after it the colon is invalid. I'd say the blame lies squarly with Offliner. -- Paul Tomblin This is my computer, and I speak for me. <a url=http://watt.oedison.com/~tomblinp/>My home page</a>
Re: TRN / Offliner Conflict - TRN Not Threading Good(?) Thread
Author: Stefan Kurth
Date: Sun, 19 Feb 1995 18:35
Date: Sun, 19 Feb 1995 18:35
13 lines
1351 bytes
1351 bytes
Paul Tomblin <ptomblin@compass.telemax.com> wrote: > According to RFC-822 and the other one (RFC-1194?), a header with two spaces > after it the colon is invalid. Huh? In structured field bodies, linear white space is allowed between lexical tokens, and I'd say "between" includes before the first and after the last one. So you can put as many spaces or tabs after the colon as you like. ________________________________________________________________________ Stefan Kurth Berlin, Germany stk@berlin.snafu.de
Re: TRN / Offliner Conflict - TRN Not Threading Good(?) Thread
Author: Paul Tomblin
Date: Sun, 19 Feb 1995 20:50
Date: Sun, 19 Feb 1995 20:50
44 lines
2552 bytes
2552 bytes
In a previous article, stk@berlin.snafu.de (Stefan Kurth) said:
>Paul Tomblin <ptomblin@compass.telemax.com> wrote:
>
>> According to RFC-822 and the other one (RFC-1194?), a header with two spaces
>> after it the colon is invalid.
>
>Huh? In structured field bodies, linear white space is allowed between
>lexical tokens, and I'd say "between" includes before the first and
>after the last one. So you can put as many spaces or tabs after the
>colon as you like.
You're right. I just reread RFC822, and I can't even find the requirement
that there has to ANY spaces after the colon. And yet I'm sure lots of
software would break if there wasn't.
Look at:
3.2. HEADER FIELD DEFINITIONS
These rules show a field meta-syntax, without regard for the
particular type or internal syntax. Their purpose is to permit
detection of fields; also, they present to higher-level parsers
an image of each field as fitting on one line.
field = field-name ":" [ field-body ] CRLF
field-name = 1*<any CHAR, excluding CTLs, SPACE, and ":">
field-body = field-body-contents
[CRLF LWSP-char field-body]
field-body-contents =
<the ASCII characters making up the field-body, as
defined in the following sections, and consisting
of combinations of atom, quoted-string, and
specials tokens, or else consisting of texts>
My mistake.
--
Paul Tomblin
This is my computer, and I speak for me.
<a url=http://watt.oedison.com/~tomblinp/>My home page</a>
Re: TRN / Offliner Conflict - TRN Not Threading Good(?) Thread
Author: Tim Pierce
Date: Mon, 20 Feb 1995 00:34
Date: Mon, 20 Feb 1995 00:34
35 lines
2415 bytes
2415 bytes
In article <D485ot.GGF@compass.telemax.com>, Paul Tomblin <ptomblin@compass.telemax.com> wrote: >In a previous article, david@djwhome.demon.co.uk (David Woolley) said: > >>[trn treats a thread as broken] even though there is a good >>Reference, and the only unusual feature is that there are two, rather >>than one space after the colon. Is this a known problem? Has it been >>fixed? > >According to RFC-822 and the other one (RFC-1194?), a header with two spaces >after it the colon is invalid. I'd say the blame lies squarly with Offliner. Can you pin down the part of RFC 822 that specifies that? I can't even find a place where RFC 822 requires even *one* space after the colon in a header name, and I find several points where it says explicitly that a series of contiguous spaces should be treated as a single logical space. Even if Offliner is misbehaving here, it's ridiculous for a robust threading agent to be so sensitive to such small changes. I don't think it's quite fair to say that "the blame lies squarely" on either agent, since both are behaving stupidly. Lastly, trn should be getting thread indexes (either mthreads or overviews) from your server. The problem might simply be that the threading mechanism at your site is too demanding. The problematic article in question doesn't seem to be present on our spool, so I can't check this for myself. -- Unsolicited commercial electronic mail sent to this address will be proofread at a cost of $200/hour (one half-hour minimum).
Re: TRN / Offliner Conflict - TRN Not Threading Good(?) Thread
Author: Paul Tomblin
Date: Mon, 20 Feb 1995 04:48
Date: Mon, 20 Feb 1995 04:48
49 lines
3138 bytes
3138 bytes
In a previous article, ptomblin@compass.telemax.com (Paul Tomblin) said:
>In a previous article, stk@berlin.snafu.de (Stefan Kurth) said:
>
>>Paul Tomblin <ptomblin@compass.telemax.com> wrote:
>>
>>> According to RFC-822 and the other one (RFC-1194?), a header with two spaces
>>> after it the colon is invalid.
>>
>>Huh? In structured field bodies, linear white space is allowed between
>>lexical tokens, and I'd say "between" includes before the first and
>>after the last one. So you can put as many spaces or tabs after the
>>colon as you like.
>
>You're right. I just reread RFC822, and I can't even find the requirement
>that there has to ANY spaces after the colon. And yet I'm sure lots of
>software would break if there wasn't.
Well, of course, if anybody cares, I looked at rfc1036. And it states:
A standard USENET message consists of several header lines, followed
by a blank line, followed by the body of the message. Each header
line consist of a keyword, a colon, a blank, and some additional
information. This is a subset of the Internet standard, simplified
to allow simpler software to handle it.
So there you see a requirement to have at least one space. But no requirment
not to have *more* than one space.
So a did a few experiments on the "Newsgroups:" line (since it's a structured
header like "References:", so I assumed it would work the same).
If there was no space, then Pnews didn't like it and refused to post it. But
if you feed it directly to inews, defhdr.awk (or was it canonhdr.awk?) put the
space back in.
If there was two spaces, trn didn't complain, but you got an error message
from defhdr.awk and it didn't get posted.
Pnews/trn also didn't like it if you left out the space in the Subject line,
but once again inews put it back. Neither Pnews nor inews cared about extra
spaces - they were left alone.
But more to the point on my machine, trn threads correctly if you put an extra
space in the References header.
--
Paul Tomblin
This is my computer, and I speak for me.
<a url=http://watt.oedison.com/~tomblinp/>My home page</a>
Re: TRN / Offliner Conflict - TRN Not Threading Good(?) Thread
Author: Wayne Davison
Date: Mon, 20 Feb 1995 17:40
Date: Mon, 20 Feb 1995 17:40
15 lines
1482 bytes
1482 bytes
I think that david@djwhome.demon.co.uk (David Woolley) said: > >[trn treats a thread as broken] even though there is a good > >Reference, and the only unusual feature is that there are two, rather > >than one space after the colon. There's no such problem in trn. Trn scans the references line backwards from the end of the line (as it should) and couldn't care less about spaces on the line between the items or after the colon. It even allows the (illegal) separation of ids using a comma and the mangling of the '>'s into various quoting characters by overzealous quoting-kludgers. There's some other problem with the reference -- probably a bad format of the last Message-ID on the line. -- Wayne Davison wayne@trn.com
Re: TRN / Offliner Conflict - TRN Not Threading Good(?) Thread
Author: David Woolley
Date: Mon, 20 Feb 1995 23:31
Date: Mon, 20 Feb 1995 23:31
27 lines
1977 bytes
1977 bytes
In article <D485ot.GGF@compass.telemax.com> you write:
>
>According to RFC-822 and the other one (RFC-1194?), a header with two spaces
>after it the colon is invalid. I'd say the blame lies squarly with Offliner.
RFC-822 clearly allows multiple spaces here and would even allow:
|References:
| <m0rfTMI-0005l4C@djwhome.demon.co.uk>
| <D485ot.GGF@compass.telemax.com>
(RFC 1036 says a blank, but doesn't specifically bar multiple blanks and
doesn't overrule RFC 822 on this point. Son of RFC 1036 says any mix of
spaces and tabs, as long as there is at least one, and in fact
reccommends the use of multiple blanks to indicate missing message-IDs,
presumably on the grounds that this notation would be invisible to a
reader which was unaware of the convention.)
I have since discovered that several PC based news readers use multiple
spaces.
Back to trn, I think.
P.S. This is RFC 1194:
1194 Zimmerman, D. Finger User Information Protocol. 1990 November; 12 p.
(Format: TXT=24626 bytes) (Obsoletes RFC 742; Obsoleted by RFC 1288)
Re: TRN / Offliner Conflict - TRN Not Threading Good(?) Thread
Author: Bruce Lilly
Date: Tue, 28 Feb 1995 06:00
Date: Tue, 28 Feb 1995 06:00
25 lines
2135 bytes
2135 bytes
In article <D49LwC.Krz@compass.telemax.com>,
posted to newsgroup news.software.readers,
ptomblin@compass.telemax.com (Paul Tomblin) wrote:
>You're right. I just reread RFC822, and I can't even find the requirement
>that there has to ANY spaces after the colon. And yet I'm sure lots of
>software would break if there wasn't.
RFC 822 applies to text messages in general. RFC 1036 has a more
restrictive set of requirements for news messages. In particular,
see RFC 1036 section 2 which states
``The header lines consist of a keyword, a colon, a blank, and some
additional information. This is a subset of the ARPANET standard,
simplified to allow simpler software to handle it.''
There are additional restrictions specified in section 2's
subsections.
Note that for Usenet news articles,
1) there may be no space between the keyword and colon
2) there must be a space after the colon.
--
Bruce Lilly, Product Manager, |
Routers, Peripherals & Still Store,| uupsi!monymsys!sonyd1!bruce
Sony, 3 Paragon Drive, Montvale, | lillyb@ccmail.nhq.sony.com
NJ 07645-1735 | Telephone: +1 201 358 4161 | FAX: +1 201 358 4317
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