Article View: news.software.nntp
Article #91962Re: Improving trn: LISTGROUP with no arguments vs. ...?
From: Urs Janßen
Date: Tue, 05 Nov 2024 00:53
Date: Tue, 05 Nov 2024 00:53
25 lines
2266 bytes
2266 bytes
Richard wrote: > What's the best alternative to LISTGROUP with no args? you could implement something like tins -G option: | -G article-limit | Limit the number of articles/group to retrieve from the | server. If article-limit is > 0 not more than the last ar‐ | ticle-limit articles/group are fetched from the server. If | article-limit is < 0 tin will start fetching articles from | your first unread minus absolute value of article-limit. De‐ | fault is 0, which means no limit. see art.c:setup_hard_base() ~240 (or just the part with the negative limit). or just rely on the overview data and article numbers (if present). both suggestion do have drawbacks (which partially undermine the actual purpose of listgroup - get zthe numbers of all available articles). with limits you do not see all articles in the group (which i.e. may affect threading) and relying on overview data is not fail-safe as that data may not be up to date (regadring expired or cancelled articles).
Technical Details
Message-ID:
<vgbqa7$fbd$1@nntp.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!nntp.de!.POSTED.akk21-int.akk.kit.edu!not-for-mailReferences:
<vgbkk1$30c1$1@news.xmission.com>Show Full Headers
Complete Article Headers
Message-ID: <vgbqa7$fbd$1@nntp.de>
Subject: Re: Improving trn: LISTGROUP with no arguments vs. ...?
Date: Tue, 05 Nov 2024 00:53:27 +0000
From: Urs Janßen <urs@buil.tin.org>
References: <vgbkk1$30c1$1@news.xmission.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!nntp.de!.POSTED.akk21-int.akk.kit.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: tin.org
Archive: no
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 5 Nov 2024 00:53:27 -0000 (UTC)
Injection-Info: nntp.de; posting-host="akk21-int.akk.kit.edu:129.13.131.67";
logging-data="15725"; mail-complaints-to="abuse@nntp.de"
User-Agent: tin/2.6.4-20241019 ("Banff") (Linux/6.1.0-25-amd64 (x86_64))
Cancel-Lock: sha1:S2dCGcRXEZTemjyuinmsODcL9o8=
X-No-Archive: yes
X-No-HTML: yes