🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #44945

Re: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT)

#44945
From: Marshmallow Fluffy
Date: Thu, 09 Mar 2000 00:00
71 lines
4172 bytes
[playing with odd lynx options here, so advance apologies if formatting goes
to hell.]

Curt Welch wrote:
> Or you could just use some other control character to separate
> the multiple headers (say \01 - ASCII Start of Header :)):
>
>   HEADERS 45-46 from x-meow
>   221 From X-meow headers follow
>   45\tpedophile@example.net\tWoff1\01Woff2\01Woff3
>   46\tnetscum@cabal.invalid\tMeow
>   .

This has good potential.  It also stands a better chance of offering
backward compatibility with older score code that gets retrofitted to the
newer commands (the typical application I foresee on this kind of thing is
"I want to score down anything that has an X-Meow: containing a woof.") The
primary headers usually used in article list displays are already more or
less guaranteed to be unique so the duplicate issue doesn't apply to them.

(This reader really does include X-Meow: in its default header displays, but
it's a pretty safe bet that feature won't be propagated too widely; and at
that point it's using "real" headers rather than anything from an
overview-ish command anyway.)

> You would want to pick a control character that had the least possible
> chance of being used in a header. I don't know much about all the other
> character sets used, or proposed, so I don't know of ^A would be best.

It can always be doubled in the odd case that one actually does appear in
the wild, so it shouldn't matter too too much.  UTF-8 avoids the control
range, so pretty much any uncommon control char should work.

> \r or \n are options here as well but I suspect that would cause too
> many problems.

Way too many, since so many libraries take "be liberal in what you accept"
to heart when it comes to line endings.

> I think the wildmat pattern would be applied to each header separately and
> if it matched any of the multiple headers, it would be counted as a match.
>
> So

YM "Zo." HTH HAND M.

>   HEADERS 45-46 from x-meow:Woff2
>
> would match article 45 from the example above.

Okay, but "Woff2" is a really strange thing to put into a header.

> My first thought on whether you should support duplicate headers is that
> it's not needed for the "real" headers in use on Usenet today, and doing so
> would only encourage people to use duplicates in the future.

They happen, particularly in moderated groups.  Also, we're going to have
some ugly chained proxy arrangements out there for a long time to come, with
variations on X-NNTP-Posting-Host well after the newfangled paths with @
and , and % (oh my!) appear.

> But my second thought is if we don't support it, then one day down the
> road we will be back here again talking about adding the ALLHEADERS command
> to deal with the fact that HEADERS doesn't work right.  So now I'm thinking
> it might be the right thing to do.

That's just it.  The X command problem shows how anything that catches on
will be effectively set in stone, so we might not even be able to really fix
it later.

Technical Details
Message-ID: <mW.8a792s$2nf@meowhost.meow.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <87aeknd2ua.fsf@erlenstar.demon.co.uk> <87r9dw1yqz.fsf@erlenstar.demon.co.uk> <951884803.798712@news.netscum.dk> <slrn8bprr0.sh6.meowing@slip-32-100-244-33.ma.us.prserv.net> <952036622.999006@news.netscum.dk> <slrn8buhgk.vfi.meowing@meowhost.meow.invalid> <87bt4weebx.fsf@erlenstar.demon.co.uk> <slrn8cduhh.h1q.meowing@slip-32-101-160-153.ma.us.prserv.net> <20000308221123.782$4P@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <mW.8a792s$2nf@meowhost.meow.invalid>
Subject: Re: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT)
Date: Thu, 09 Mar 2000 00:00:00 +0000
From: Marshmallow Fluffy <meowing@banet.net>
References: <87aeknd2ua.fsf@erlenstar.demon.co.uk> <87r9dw1yqz.fsf@erlenstar.demon.co.uk> <951884803.798712@news.netscum.dk> <slrn8bprr0.sh6.meowing@slip-32-100-244-33.ma.us.prserv.net> <952036622.999006@news.netscum.dk> <slrn8buhgk.vfi.meowing@meowhost.meow.invalid> <87bt4weebx.fsf@erlenstar.demon.co.uk> <slrn8cduhh.h1q.meowing@slip-32-101-160-153.ma.us.prserv.net> <20000308221123.782$4P@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.nntp.mbox.zip!not-for-mail
X-Deja-AN: 595015039
X-Proxy-Path: meowhost.meow.invalid!127.0.0.1!meow 952575900
X-Complaints-To: abuse@prserv.net
X-Trace: 9 Mar 2000 04:24:50 GMT, 32.100.55.175
Organization: Meow Industries
User-Agent: INNweb/2.3d354-F (Python 1.5.2)
Newsgroups: news.software.nntp
X-Meow: Meow