🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92850

Re: Combined LIST command

#92850
From: InterLinked
Date: Tue, 02 Jun 2026 16:06
31 lines
2768 bytes
On 6/2/2026 4:11 AM, Marcel Logen wrote:
> InterLinked in news.software.nntp:
> 
> [...]
> 
>> Another use case I've encountered is being able to limit the # of items
>> returned in certain commands, like OVER; otherwise if you only want the
>> first 50 items in a group, the most efficient thing seems to be to do a
>> LISTGROUP first to get the bounds, but even then you still have to read
>> the whole response and throw it away... seems like a "LIMIT" option
>> would help but I haven't thought about this problem as deeply.
> 
> | GROUP de.test
> | 211 613 310064 310710 de.test
> 
> No LISTGROUP needed.

Good point, but that's the easy case. If even one article is missing, 
you don't know where without doing a LISTGROUP. And if you don't, you 
could try getting the first 50 and only end up with 40.

Also, I question if a GROUP response with no gaps can be relied upon, 
given that INN advertises a false high water mark (based on the last 
article received, not the highest existing article), and similarly the 
count may just be an estimate. My software always tells the truth, but 
it seems that can't be relied on in general.

IMAP doesn't have this problem, because you can use sequence numbers 
rather than UIDs when paginating. NNTP only has the "UID" equivalent, no 
sequence numbers, which honestly is probably the better choice but 
raises a few unique issues here not present in IMAP.
Technical Details
Message-ID: <10vmv1u$320pj$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <10vfdpf$12fb7$1@dont-email.me> <10vktc7$lf7c$1@news.xmission.com> <10vl0uq$2hsmv$1@dont-email.me> <20260602tu081111@o15.ybtra.de>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: InterLinked <nntp@phreaknet.org>
Newsgroups: news.software.nntp
Subject: Re: Combined LIST command
Date: Tue, 2 Jun 2026 12:06:20 -0400
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <10vmv1u$320pj$1@dont-email.me>
References: <10vfdpf$12fb7$1@dont-email.me> <10vktc7$lf7c$1@news.xmission.com>
 <10vl0uq$2hsmv$1@dont-email.me> <20260602tu081111@o15.ybtra.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 02 Jun 2026 16:06:23 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3212083"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+ugn8MZ7b9kFonq+l4Xrj8+vmQZf2KWtg="; posting-host="43a6ef2cf129fbef75a61b99ec72bb1f"
Cancel-Lock: sha1:0DXJNR/FFTY8TPl8Jwtf7f9DIMw= sha256:ud+sIJfoAsle9tkCTheVKNLTchzAdVIpcWw0GPqhxto=
	sha1:/15SooJv3RcbMc9nbith6xm05N0=
Content-Language: en-US
X-Mailer: MailNews/52.9.9224a1
In-Reply-To: <20260602tu081111@o15.ybtra.de>