🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by John Kodis Mon, 08 May 2000 00:00
slrnpull fetch limit problem
#61386
Author: John Kodis
Date: Mon, 08 May 2000 00:00
51 lines
3086 bytes
I'm using slrnpull version 0.9.6.2 to fetch news articles to be read
off-line.  I would like to be able to fetch articles in small batches.

When I set a limit on the number of articles to be retrieved (10, for
example), slrnpull will retrieve the 10 newest articles, and mark all
articles up to the newest article as having been retrieved in the
.minmax file for that group.

This creates a problem in that slrnpull will not retrieve the older
articles on subsequent runs.  Shouldn't slrnpull fetch articles in
order, fetching the 10 oldest unfetched articles currently available
on the server, rather than the 10 newest articles?

Here is an example.  I created a mimimal slrnpull.conf file:

     default		       10      400
     rec.radio.shortwave

In the initial two runs of slrnpull, I got the following results (the
date was snipped to avoid too-long lines): The first run fetches the
10 most recent articles out of several thousand that are available,
then the second run reports that no articles are available.

$> slrnpull 
18:48:28 slrnpull started.
18:48:28 Reading /var/spool/slrnpull/slrnpull.conf
18:48:28 Created dir /var/spool/slrnpull/news/rec/radio.
18:48:28 Created dir /var/spool/slrnpull/news/rec/radio/shortwave.
18:48:28 Connecting to host news ...
18:48:29 Connected to host.  Posting Ok.
18:48:29 Fetching articles for rec.radio.shortwave.
18:48:30 The server may contain as many as 4714 articles in this group
18:48:30 Only examining last 204175 articles since this is a new group
18:48:31 rec.radio.shortwave: Retrieving articles 204175-204184.
18:48:31 rec.radio.shortwave: 10 articles available.
18:48:36 rec.radio.shortwave: 10/10 (0 killed), Time: 00:00:07, BPS: 2215
18:48:36 A total of 15510 bytes received, 318 bytes sent in 8 seconds.

$> slrnpull 
18:48:47 slrnpull started.
18:48:47 Reading /var/spool/slrnpull/slrnpull.conf
18:48:47 Connecting to host news ...
18:48:48 Connected to host.  Posting Ok.
18:48:48 Fetching articles for rec.radio.shortwave.
18:48:49 rec.radio.shortwave: no new articles available.
18:48:49 rec.radio.shortwave: 0/0 (0 killed), Time: 00:00:01, BPS: 74
18:48:49 A total of 74 bytes received, 33 bytes sent in 2 seconds.

-- John Kodis.

Re: slrnpull fetch limit problem
#61406
Author: Jurriaan W Kalkman
Date: Tue, 09 May 2000 00:00
34 lines
2313 bytes
On 8 May 2000 23:42:25 GMT, John Kodis
<kodis@jagunet.com> wrote:
>I'm using slrnpull version 0.9.6.2 to fetch news articles to be read
>off-line.  I would like to be able to fetch articles in small batches.
>
>When I set a limit on the number of articles to be retrieved (10, for
>example), slrnpull will retrieve the 10 newest articles, and mark all
>articles up to the newest article as having been retrieved in the
>.minmax file for that group.
>
>This creates a problem in that slrnpull will not retrieve the older
>articles on subsequent runs.  Shouldn't slrnpull fetch articles in
>order, fetching the 10 oldest unfetched articles currently available
>on the server, rather than the 10 newest articles?
>
Well I can not really imagine why you would want to download the oldest
articles if you put a limit on it. If you start it twice in close
succession, why not double the limit and run it once? If you start it
twice with some time in between, I'd assume you'd want the articles
added since the first start the second time, not some older articles.

In short, can you explain why you want to be able to fetch articles in
small batches? Expiry will kill them underneath you, you know!

Good luck,
Jurriaan

-- 
but beware, for the cast to void is a two-edged sword that sheddeth thine own
blood without remorse.
	Henry Spencer - The Ten Commandments for C programmers (Annotated Ed.)
GNU/Linux 2.2.15 SMP 7 users load av: 0.05 0.14 0.16

Re: slrnpull fetch limit problem
#61439
Author: Hans Peter Holm
Date: Wed, 10 May 2000 00:00
20 lines
1368 bytes
John Kodis wrote:

> I'm using slrnpull version 0.9.6.2 to fetch news articles to be read
> off-line.  I would like to be able to fetch articles in small batches.
> 
> When I set a limit on the number of articles to be retrieved (10, for
> example), slrnpull will retrieve the 10 newest articles, and mark all
> articles up to the newest article as having been retrieved in the
> .minmax file for that group.

In slrnrc:
set query_read_group_cutoff 10

Will allow you to read the 10 newest, unread articles when entering a 
group. Not exactly what you ask for, but it might work for you.

-- 
Hans

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads