Thread View: news.software.nntp
2 messages
2 total messages
Started by Bernie Cosell
Wed, 24 Aug 1994 03:42
Re: Let's make the perfect DOS News system!
Author: Bernie Cosell
Date: Wed, 24 Aug 1994 03:42
Date: Wed, 24 Aug 1994 03:42
222 lines
11708 bytes
11708 bytes
In article <-wfWuAeNBh107h@scs.scs.no>, Lennart Regebro writes:
} PC�s of the Usenet, unite!
} ==========================
} I wonder why the PC-community must suffer with bad software.
Just to put off the smart-alecks, you should probably make explicit
"...why the DOS/Windows-community ..." since I assume that's what
you're talking about [if you're willing to run one of the available
unixes on your PC your problems would be nearly solved: just run
Cnews and nn or trn or the like].
} Pancake, what�s needed and what�s there
} =======================================
} Part 0: General
} - Pancake should be free.
Why? I have an Amiga now and I see the same notion: everybody wants
something [and something *GOOD*] for nothing. I'd be *happy* to pay
for a package that really did all of this stuff smooth, clean and
good-housekeeping-seal-compliant. The real problem is that you can't
even throw _money_ at the problem now to get it solved.
} - I don�t think that Pancake in itself should include a reader. Let�s
} concentrate on the news transport first.
This point blurs a bit, to me, just what "Pancake" *is*. While I
agree with your trichotomy [transport, intermediate, useragents],
I see the overall system as being a bit more modular than you do.
What if "Pancake" were _nothing_more_ than the specification of the
Intermediate format. Really! Then what you would have is parallel
and independent development: folks could be working on Pancake-compliant
NNTP packages, or UUCP packages or NFS-mount packages, all quite
separate and a particular user could opt for one or more of them
as fits what the user wants/needs. Note that there's no reason
[for example] not to have a Pancake-compliant SOUP handler.
On the other side of the chasm, folks could be developing their
fanciest, most wonderful user agents, all quite separate. You
could pick the agent that best suits your fancies *regardless*
of what mix of transport agents you need to get everything
moved onto and off of your system.
Oh, and I'd have pancake include email, too, of course: you need
a fair bit of that machinery anyway [to support "reply" in addition
to "followup"].
} Part 1: Transport
}
} Pancake should include UUCP and NNTP.
I don't think it should "include" this: I think that at best there
should be separate modules. There are several other alternatives to
those two and I'd like it to be as easy as possible to plug'n'play
different packages.
So I'd start thinking "modular" rather than "include" right from the
start. That view would also more easily embrace oddball situations
[for example, I'm contemplating signing up for the usenet-via-satellite
service... if I did that, I'd have "ad hoc stuff" for the incoming
news, and [probably] SOUP or the like for outgoing news. Why not
make things like that _easy_, as long as we're designing it...
} Problems: To me this feels like the biggest part of this project. Maybe
} that�s just because I can�t do it. We need to be able to use both network
} boards and modems. UUCP goes directly to the modems, but it would be
} useful to run NNTP both over SLIP, PPP and over network boards. For
} network boards there�s the freeware packet drivers, but are there packet
} drivers for serial lines? I don�t know much about packet drivers, I�m
} used to Novells LAN WorkPlace myself. It would be great if we could
} include support for things like LAN WorkPlace, Beame & Whiteside, and
} other TCP/IP products for PC�s, but that�s second hand priority. We need
} just to think about it when writing the stuff so that we can just compile
} things for different networks. (And LWP can use ODI Packet drivers.)
As a long-time sysadmin, I sympathize with all of those problems, and
in terms of trickiness, I agree that that is probably a HUGE part
of the overall complexity of the pancake system. But I'd say: so why
start there? SOUP [say] and NFS-mounted news would be fairly easy
so why not start someplace where one can get something working
[and so get the 'intermediate interface' stuff really debugged]?
} Part 2: Intermediate format
}
} An intermediate format between the transport of news and the news handling
} is needed to enable the use of either UUCP or NNTP or any other way of
} transport. There are several formats suitable for this, like SOUP. Unless
} there�s a flaw in all the formats, well just pick one. SOUP seems fine to
} me. Maybe there�s one that would be more suitable? SOUP is happily used by
} both Waffle an WafCNews, so it seems good.
I don't know what SOUP format is, but why do you need an intermediate
format? Why not have the interface be the actual intermediate database?
Conventional usenet [and email!] propagation generally happens at
the article/message level. I cannot see the value of having a
message/article at a time underlying machine go to some bother to *pack*
the stuff, only, then, to have to worry about *unpacking* it later.
Now, _some_ users will need to do this, but this isn't really a
UUCP problem: if I have a shell account [which I do], I'd need the
transport agent that [say] used UQWK and SOUP and unpacked it into
the database. But if I had pagesat distribution, I sure as hell
don't want to bother picking up the 100megs that come in on my
satellite each day, and *pack* them _just_ so I can then unpack
them later....
} Part 3: News unpacking
}
} With this I mean the unpacking of incoming news and the packing of
} outgoing news and mail. News unpacking is not much of a problem, since
} it simply is a program that takes the intermediate format files and
} unpacks them into the finished format database.
I agree, except that is really a function of the particular transport
modules the user chooses [and, indeed, might vary: the incarnation I
metioned that I'm thinking about would use the satellite feed [which
is basically going to have something that is "rnews"-like to pull
in the incoming news] and then UQWK/SOUP for my outgoing news and
all of my email. Why should those sorts of twists and turns
affect my overall "pancake" installation. If my particular choice
of comm module needs a packer, let it come with that, but don't have
THAT module affect how any other module handles its communications.
} The news unpacking software should have the following features:
}
} - Handle cross-posting somewhat intelligently.
} - Handle article duplicates intelligently.
Actually, you need to look at how CNews works [since what you're doing
[and, as I say, I kind-of disagree with reinventing the wheel at this
level] is duplicating in your "unpack" module what rnews *already*
doesn in a standard Unix-style usenet implementation [and so you also
have things like "do something sensible with control messages" and
"do something reasonable with articles to non existent newsgroups" and
such...]
} Part 4: Database format
This is the real meat of what I think Pancake ought to/has to be.
There are, in fact, tricky issues here.
} Problems: Not physically putting one file in every news group when cross-
} posting makes this format �incompatible� with readers that don�t use the
} index-files. Cross-posting can instead be handled in the normal DOS way,
} with one file per news group. In that case �non-conformant� readers
} should still work. We just have to decide what. At the moment I�m for
} the �stupid� way.
Well, let me ask a meta-question: how much difference would it really
make [on a usenet world that moves something like 100megs a day] just
to *multiple*store* crossposted articles? It seems like it'd make
the implementation issues clean enough that perhaps it'd be worth the
extra disk space. Has anyone actually done a scan of a real
Unix spool [the one on world.std.com would be fun, since they carry
something like 9000 newsgroups...:-)] and seen how much it would grow
if crossposts were duplicated?
} Also, a problem is that the index files must be networkable, so we need
} a good stable networkable database structure in the bottom of this. Could
} also be a big job, don�t know much about databases. Maybe the dbz database
} stuff can be used.
This is a bit out of my league: I've a lot of experience in the Unix
world, where the spool doesn't have any indexes and each news agent
goes off and builds its own index of one sort or another. The idea
of having some sort of 'standard' indexes inherent in the spool seems
like a good one...
} Part 6: The readers
} There�s lot�s of readers out there. I have tried Helldiver and liked it.
} A Helldiver with REAL threading by using index files would be great.
} I don�t think there�s a need for writing new readers, the ones that
} exists could be easily modified.
Depends on what the format for the intermediate files looks like,
but I think you're right [except for many of the QWK-based ones,
that probably have all of the QWK-packet limitations and
assumptions wired into the code].
} Well?
} =====
} What do you think? I want feedback. Is it a good idea? Is there software
} out there that already does this, but nobody knows? What features should
} Pancake have? Who will volunteer?
I think this is a GREAT idea. Let me propose a slightly different way
to think about it, though. First, and I re-emphasize: I would NOT
focus on news so much. I think it is imperative that we do _both_ news
and mail.
Then I would worry *PRIMARILY* about the intermediate file
format. figure out how to handle crossposts. Figure out what a mailbox
will look like. Figure out what indexes you're going to build. Then
[I know, my unix view is showing] I would define four programs which
are the primary interfaces of the outside-modules with the intermediate
world: sendmail, rmail, postnews and rnews. make those programs be
a part of "Pancake" [together with expire and a few others].
Then when I go to write my NNTP module, my life is simple: I concentrate
on the mickey-mousing of dealing with my network connection, but then
when I actually _receive_ something, I just call rnews and let Pancake
worry about making it go away. Ditto if I were writing the SOUP handler.
Or UUCP. Or ...
Similarly, when I hack up my world's-best-usenet-for-windows, when the
user says "Followup", I just properly [RFC compliant!!!] format up
an article and feed it to postnews --- I neither have to know or care
if it is going to be bundled into a SOUP packet, or pushed out an NNTP
connection or whatever...
/Bernie\
--
Bernie Cosell bernie@fantasyfarm.com
Fantasy Farm Fibers, Pearisburg, VA (703) 921-2358
--->>> Too many people; too few sheep <<<---
Re: Let's make the perfect DOS News system!
Author: Lennart Regebro
Date: Wed, 24 Aug 1994 11:01
Date: Wed, 24 Aug 1994 11:01
97 lines
4733 bytes
4733 bytes
In <NFAjv*cg0@fantasyfarm.com> bernie@fantasyfarm.com (Bernie Cosell) writes: >In article <-wfWuAeNBh107h@scs.scs.no>, Lennart Regebro writes: >} I wonder why the PC-community must suffer with bad software. >Just to put off the smart-alecks, you should probably make explicit >"...why the DOS/Windows-community I'm not aware of any Windows News transport applications. Windows News readers, yes, but it's not primarily the News readers I'm concerned with. > ..." since I assume that's what >you're talking about [if you're willing to run one of the available >unixes on your PC your problems would be nearly solved: just run >Cnews and nn or trn or the like]. It's not 'my PC' I sometimes run UnixWare on 'my PC' it's 'our PC-network'. I don't think I'll be able to convert it into a UnixWare site this year. :) >} - Pancake should be free >Why? Because: 1. Otherwise nobody is going to use it. 2. If I don't make it for free It has to be shareware or commercial and then I have either start a company, or somehow distribute the shareware fees among the contributors. Complex. >The real problem is that you can't even throw _money_ at the problem >now to get it solved. Right. >} - I don�t think that Pancake in itself should include a reader. Let�s >} concentrate on the news transport first. >This point blurs a bit, to me, just what "Pancake" *is*. While I >agree with your trichotomy [transport, intermediate, useragents], >I see the overall system as being a bit more modular than you do. Well, it IS blurry. It's just vapourware, you know. :) Of course this is something that has to be decided. I have noticed that Unix software usually is very modular with lot's of small programs piping output to eachother. I think that pancake can be done that way, but I didn't want to restrict it to necessarily being so. (Or what kind of modularity did you think of?) >Oh, and I'd have pancake include email, too, of course: you need >a fair bit of that machinery anyway [to support "reply" in addition >to "followup"]. Oh, right. If youre doing NNTP, you'll need SMTP for the email too. Forgot that. >} Pancake should include UUCP and NNTP. >I don't think it should "include" this: I think that at best there >should be separate modules. There are several other alternatives to >those two and I'd like it to be as easy as possible to plug'n'play >different packages. Oh sure. I meant that these two separate modules should be included. The modularity thinking was there, sorry if it didn't get through in my text. >I don't know what SOUP format is, but why do you need an intermediate >format? SOUP is more or less lot's of messages concatenated to eachother with !#NEWS <messagelength> inbetween (or something like that). You might be right. Maybe we should drop it since it's only is needed with UUCP. >Actually, you need to look at how CNews works [since what you're doing >[and, as I say, I kind-of disagree with reinventing the wheel at this >level] is duplicating in your "unpack" module what rnews *already* >doesn in a standard Unix-style usenet implementation [and so you also >have things like "do something sensible with control messages" and >"do something reasonable with articles to non existent newsgroups" and >such...] Right. Thats why I mentioned WAf CNews here, since it's a DOS port of CNews. It could be used with very small modifications. >I think this is a GREAT idea. Thanks. I basically agree with the rest you are saying. Great input, thanks. -- Lennart Regebro Lennart.Regebro@scs.no (Try this first) Galactic Guide Field Researcher regebro@stacken.kth.se (Spare address)
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