Deutsch English Français Italiano |
<vgbqa7$fbd$1@nntp.de> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!feeds.phibee-telecom.net!2.eu.feeder.erje.net!feeder.erje.net!nntp.de!.POSTED.akk21-int.akk.kit.edu!not-for-mail From: Urs =?UTF-8?Q?Jan=C3=9Fen?= <urs@buil.tin.org> Newsgroups: news.software.nntp Subject: Re: Improving trn: LISTGROUP with no arguments vs. ...? Date: Tue, 5 Nov 2024 00:53:27 -0000 (UTC) Organization: tin.org Archive: no Message-ID: <vgbqa7$fbd$1@nntp.de> References: <vgbkk1$30c1$1@news.xmission.com> 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 Bytes: 2012 Lines: 24 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).