🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #4059

PATCH: Archiving Newsgroups to a file

#4059
From: Peter A Krauss
Date: Fri, 16 Apr 1993 17:47
38 lines
2185 bytes
mdennie@xerox.com (Matt Dennie) writes:

|>I have been trying to archive a few newsgroups to a file by specifying
|>the file name thusly in the GROUPS file : 
|>
|>              rec.group.stuff >/home/mdennie/group.stuff
|>
|>I get all the headers in the file, but no articles.  Am I doing something
|>wrong?  Or is this what is meant by archiving?  
|>
|>I am running nn version 6.4.16 with nnmaster running on my local machine
|>and keeping the database here.  I am access the remote news service by NNTP.

In summer 1990 I have exchanged a few mails with Kim because of this
problem, and he came up with this solution (file collect.c):

   static collect_article(gh, art_num)
   ...
   {
       FILE *art_file;
   ...
   #ifdef NNTP
       if ((gh->master_flag & M_ALWAYS_DIGEST) == 0)
                              ^^^^^^^^^^^^^^^           <==== CHANGE THIS
                        (M_ALWAYS_DIGEST | M_AUTO_ARCHIVE)  <==== TO
           mode |= LAZY_BODY;
   #endif

Because I have applied this to my sources, which was done at version 6.4.5,
I don't know if this ever made its way into an official patch.

mfg  Peter

--
Peter A. Krauss                 Peter.A.Krauss@regent.e-technik.tu-muenchen.de
Lehrstuhl fuer                                                    Institute of
Rechnergestuetztes Entwerfen                      Electronic Design Automation
Technische Universitaet Muenchen       Technical University of Munich, Germany
Technical Details
Message-ID: <pak.734982434@regent.e-technik.tu-muenchen.de>
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!gmd.de!ira.uka.de!math.fu-berlin.de!fauern!lrz-muenchen.de!regent!pak
References: <mdennie.734728776@beryllium>

Show Full Headers
Complete Article Headers
Message-ID: <pak.734982434@regent.e-technik.tu-muenchen.de>
Subject: PATCH: Archiving Newsgroups to a file
Date: Fri, 16 Apr 1993 17:47:14 GMT
From: pak@regent.e-technik.tu-muenchen.dbp.de (Peter A Krauss)
References: <mdennie.734728776@beryllium>
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!gmd.de!ira.uka.de!math.fu-berlin.de!fauern!lrz-muenchen.de!regent!pak
Newsgroups: news.software.nn
Sender: news@regent.e-technik.tu-muenchen.de (News System.)
Organization: Technical University of Munich, Germany
Lines: 38