🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
6 messages
6 total messages Started by Jim Jagielski Wed, 21 Aug 1991 12:22
A modification to mini-inews 1.5.11
#2000
Author: Jim Jagielski
Date: Wed, 21 Aug 1991 12:22
48 lines
3331 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..."
Re: A modification to mini-inews 1.5.11
#2001
Author: Paul Graham
Date: Fri, 23 Aug 1991 03:02
15 lines
1427 bytes
jim@jagubox.gsfc.nasa.gov (Jim Jagielski) writes:
|
|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.

i must have missed something.  how does an article get into NEWSSPOOL
without passing through a "real" inews?

-- 
pjg@acsu.buffalo.edu / rutgers!ub!pjg / pjg@ubvms (Bitnet)
opinions found above are mine unless marked otherwise.
Re: A modification to mini-inews 1.5.11
#2008
Author: Jim Jagielski
Date: Fri, 23 Aug 1991 10:12
25 lines
1920 bytes
pjg@acsu.buffalo.edu (Paul Graham) writes:

>jim@jagubox.gsfc.nasa.gov (Jim Jagielski) writes:
>|
>|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.

>i must have missed something.  how does an article get into NEWSSPOOL
>without passing through a "real" inews?

Well, if you are using an NNTP server, then you use mini-inews to "post" the
message to your server. That server then uses "real" inews.
-- 
==============================================================================
#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..."
Re: A modification to mini-inews 1.5.11
#2012
Author: Don Lewis
Date: Fri, 23 Aug 1991 20:27
15 lines
1476 bytes
In article <241@jagubox.gsfc.nasa.gov> jim@jagubox.gsfc.nasa.gov (Jim Jagielski) writes:
>pjg@acsu.buffalo.edu (Paul Graham) writes:
>>i must have missed something.  how does an article get into NEWSSPOOL
>>without passing through a "real" inews?
>
>Well, if you are using an NNTP server, then you use mini-inews to "post" the
>message to your server. That server then uses "real" inews.

Which adds the Date: and Message-ID:.  What is the point of adding this
to mini-inews?

-- 
Don "Truck" Lewis              Phone: +1 916 265-3211   Silicon Systems
Internet: (under contruction)  FAX:   +1 916 265-2931   138 New Mohawk Road
UUCP: {uunet,tektronix!gvgpsa.gvg.tek.com}!ssigv!lewis  Nevada City, CA  95959
Re: A modification to mini-inews 1.5.11
#2013
Author: Paul Graham
Date: Sat, 24 Aug 1991 00:29
23 lines
1743 bytes
lewis@ssigv.UUCP (Don Lewis) writes:
|jim@jagubox.gsfc.nasa.gov (Jim Jagielski) writes:
|>pjg@acsu.buffalo.edu (Paul Graham) writes:
|>>[eh?]
|>
|>Well, if you are using an NNTP server, then you use mini-inews to "post" the
|>message to your server. That server then uses "real" inews.
|
|Which adds the Date: and Message-ID:.  What is the point of adding this
|to mini-inews?

hmmm, perhaps someone has been reading the nntp rfc which does imply
that incoming articles need to be complete.  brian kantor has told me
that this will be clarified (removed) from the forthcoming nntp rfc. i
don't think anyone really cares if the input to nntp is missing fields
that inews is going to add and i, for one, don't want nntp clients
inserting message-id's or dates.

sorry i wasn't clear enough about the true nature of my puzzlement.

-- 
pjg@acsu.buffalo.edu / rutgers!ub!pjg / pjg@ubvms (Bitnet)
opinions found above are mine unless marked otherwise.
Re: A modification to mini-inews 1.5.11
#2014
Author: Pekka Kytolaakso
Date: Sat, 24 Aug 1991 06:37
30 lines
2250 bytes
In <1991Aug23.202737.29578@ssigv.UUCP> lewis@ssigv.UUCP (Don Lewis) writes:

>In article <241@jagubox.gsfc.nasa.gov> jim@jagubox.gsfc.nasa.gov (Jim Jagielski) writes:
>>pjg@acsu.buffalo.edu (Paul Graham) writes:
>>>i must have missed something.  how does an article get into NEWSSPOOL
>>>without passing through a "real" inews?
>>
>>Well, if you are using an NNTP server, then you use mini-inews to "post" the
>>message to your server. That server then uses "real" inews.

>Which adds the Date: and Message-ID:.  What is the point of adding this
>to mini-inews?

>Don "Truck" Lewis              Phone: +1 916 265-3211   Silicon Systems

The reason was the NNTP server of ANU NEWS. It was written by reading
the RFC's without ever seeing other code.  The rfc's specified that
messages posted using NNTP command POST must have all the defined
headers and ANU NEWS server required this. I checked ANU NEWS code to
see wich headers it needed and with Kim Storm we added the missing
one's to mini-inews.

I think the latest ANU NEWS doesn't any more require this but i'm not
running the server side anymore so i don't know it for sure.

Pekka Kyt|laakso
---------------------------------------------------------------
netmgr@venus.csc.fi      Centre for Scientific Computing
netmgr@csc.fi            PL 40   SF-02101 Espoo FINLAND
Phone: +358 0 4571       Telefax: + 358 0 4572302
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