Thread View: news.software.nntp
2 messages
2 total messages
Started by Jim Jagielski
Wed, 21 Aug 1991 12:22
A modification to mini-inews 1.5.11
Author: Jim Jagielski
Date: Wed, 21 Aug 1991 12:22
Date: Wed, 21 Aug 1991 12:22
48 lines
3399 bytes
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..."
Re: A modification to mini-inews 1.5.11
Author: Paul Graham
Date: Fri, 23 Aug 1991 03:02
Date: Fri, 23 Aug 1991 03:02
15 lines
1495 bytes
1495 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.
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