🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #39698

Re: Long lines in slrn

#39698
From: Curt Welch
Date: Sun, 22 Mar 1998 00:00
36 lines
2656 bytes
Russ Allbery <rra@stanford.edu> wrote:
> Curt Welch <curt@kcwc.com> writes:
>
> > I generally agree with your point of view, but I'd just like to point
> > out that my computer does a pretty good job of parsing message IDs in
> > the body and allows you to click on them to look up the article.  I'm
> > sure other newsreaders parse them as well.
>
> I should have said "can't unambiguously parse."  It's very difficult or
> impossible in practice to distinguish between a message ID and an e-mail
> address without adding even more verbosity to the notation, and when
> there's already a perfectly decent header to put the stuff in, I think
> that's a better idea.

The References: header is the right way to do it and it's imporant for
newsreaders to create and use that header correctly.  But it still makes
sense for a newsreader to do its best at extracting Message IDs from
the text.

There's at least two good ways to deal with the ambiguity problem.  The
easy solution is to let the user decide.  You can, for example, give
them two different commands.  One for IDs and one for e-mail addresses.
This isn't difficult or impossible.

The other option, which I chose, is to just guess.  My code guesses
correctly about 95% of the time.  It's accurate enought that I haven't felt
the need to do any better.  It is difficult, and impossible to get right
all the time, but it's still very useful.  But as you point out, not a
replacement for the References: header.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Technical Details
Message-ID: <19980322161418.956$60@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn6h59so.qnf.adamb@huitzilo.tezcat.com> <slrn6h5fvr.8ra.dom+usenet@djd.ftech.co.uk> <m3emzw457o.fsf@windlord.Stanford.EDU> <slrn6h9f2l.c3m.ese002@spica.exile.org> <m3btuzxhtf.fsf@windlord.Stanford.EDU> <19980322114552.408$NO@newsreader.com> <m3wwdmr75d.fsf@windlord.Stanford.EDU>

Show Full Headers
Complete Article Headers
Message-ID: <19980322161418.956$60@newsreader.com>
Subject: Re: Long lines in slrn
Date: Sun, 22 Mar 1998 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <slrn6h59so.qnf.adamb@huitzilo.tezcat.com> <slrn6h5fvr.8ra.dom+usenet@djd.ftech.co.uk> <m3emzw457o.fsf@windlord.Stanford.EDU> <slrn6h9f2l.c3m.ese002@spica.exile.org> <m3btuzxhtf.fsf@windlord.Stanford.EDU> <19980322114552.408$NO@newsreader.com> <m3wwdmr75d.fsf@windlord.Stanford.EDU>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 336618472
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
X-User: Curt@NewsReader.Com
Organization: KCW Consulting
Newsgroups: news.software.readers