Article View: news.software.nn
Article #858Re: Lost nnn.[dx] + suggestion
From: Kim F. Storm
Date: Tue, 04 Sep 1990 11:46
Date: Tue, 04 Sep 1990 11:46
37 lines
2180 bytes
2180 bytes
>>rrr@u02.svl.cdc.com (rich ragan) writes: >>>Suggestion: How about allowing NNTP sites to use the >>>nnmaster feature where the GROUPS file can specify >>>groups where articles are to be appended to a local file? asd@mace.cc.purdue.edu (Kareth) writes: >I had some trouble with this. The man page didn't make it real clear, >but it ended up that I couldn't have the articles appended to an already >existing file (bug in my opinion, or real shitty feature). >... said something about an illegal archive. And that is exactly the reason why nnmaster can't append to an existing file: The first line of the file is a dedicated line which nnmaster uses to keep track of which articles have already been added to the file. This information must be kept somewhere, and the simplest place I could find was in the archive file itself. It is necessary to keep this information outside the normal database, since recollecting a group (e.g. after reinitializing the database) would otherwise cause articles which are already archived to be appended to the archive again. So it might be a "shitty feature", but it would be even more shitty if nnmaster didn't keep track of this information at all. Of course you can use an existing file if you manually edit it to have the proper format which is to have a first line with this format: "Archived-Last: %8d %s\n", article_number, group_name -- Kim F. Storm <storm@texas.dk> No news is good news, Texas Instruments A/S, Denmark but nn is better!
Technical Details
Message-ID:
<660@texas.dk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!stormReferences:
<25165@shamash.cdc.com> <656@texas.dk> <5455@mace.cc.purdue.edu>Show Full Headers
Complete Article Headers
Message-ID: <660@texas.dk> Subject: Re: Lost nnn.[dx] + suggestion Date: Tue, 04 Sep 1990 11:46:18 +0000 From: storm@texas.dk (Kim F. Storm) References: <25165@shamash.cdc.com> <656@texas.dk> <5455@mace.cc.purdue.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm Newsgroups: news.software.nn Keywords: lost files nn groups nntp Organization: Texas Instruments, Denmark Lines: 37 Posted: Tue Sep 4 12:46:18 1990