🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #1325

A modification to mini-inews 1.5.11

#1325
From: Jim Jagielski
Date: Wed, 21 Aug 1991 12:22
48 lines
3399 bytes
I am finished my modification/fix of mini-inews version 1.5.11. The complete
package is available via anon-ftp on my machine under ~ftp/pub/inews.tar.Z.

The only differences between this mini-inews and the current version is that
this version and the nntp-release version (1.5.11) is that this one will
also add the Date: and Message ID: header lines if they are missing. Since
the "real" inews does this, this makes the use of either one a bit more trans-
parent. It also alleviates the need for some hacks in various news readers/
posters (such as nn) that must work around this deficiency.

Another bonus is that mini-inews can also generate "incremental" Message ID:
values, as does inews (for example: Message ID: <452@foo.bar.edu>). It does
so by calling a support program that generates these numbers and assures
their uniqueness and validity. If you prefer, or if the validity of the correct
message number is in doubt, then mini-inews will create a "nn-style" header:
e.q. Message ID: <boris.627726363@whatsa.matta.u>

The complete package includes replacements for the entire ./inews directory
except that conf.h is greatly reduced. Please note that the reason I started
this fix was for better support of nn. As a result, the conf.h file is
basically a hacked version of the conf.h file that came with nn. If you are
replacing the one that came with nntp, then you'll need to look in the "new"
conf.h file to see what to add to the "old" one (just a few additional defines,
actually and some logic checks). If FOR_NN isn't defined, then the flow of
all defines should be the same as the nntp release (the main area this is a
concern is the begining of clientlib.c... The original #define/#include
lines are wrapped around the #else section of an #ifdef FOR_NN statement.
Something similar also occurs in inews.c). Also included are patches
for some nn source files that are required for the modification to work.
Note that this "fix" for nn only makes sense when you are using mini-inews,
of course. As far as nn is concerned, there is no longer any more need for
MINI_INEWS_HEADER...

I have submitted these changes to NNTP's keeper, Stan Barber, as well as NN's
keeper, Kim Storm. If they like 'em, they may even include them in the "real"
distributions!

Enjoy!
-- 
==============================================================================
#include <std/disclaimer.h>

           Jim Jagielski                    NASA/GSFC, Code 711.4
     jim@jagubox.gsfc.nasa.gov               Greenbelt, MD 20771

  "...there is no cannibalism in the British Navy. Absolutely none. And 
   when I say none, I mean there is a certain amount..."
Technical Details
Message-ID: <230@jagubox.gsfc.nasa.gov>
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!uunet!iggy.GW.Vitalink.COM!pacbell.com!ames!dftsrv!jagubox!jim

Show Full Headers
Complete Article Headers
Message-ID: <230@jagubox.gsfc.nasa.gov>
Subject: A modification to mini-inews 1.5.11
Date: Wed, 21 Aug 1991 12:22:32 +0000
From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
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!uunet!iggy.GW.Vitalink.COM!pacbell.com!ames!dftsrv!jagubox!jim
Newsgroups: news.software.nn,news.software.nntp
Sender: news@dftsrv.gsfc.nasa.gov
Reply-To: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
Organization: NASA/Goddard Space Flight Center
Lines: 48