🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #21728

Right newsreader writing. (was Re: Newsreader Pet Peeves)

#21728
From: Reality is a point of view
Date: Thu, 16 May 1996 00:00
85 lines
3533 bytes
 +---- billy@mix.com wrote (15 May 1996 19:22:01 -0700):
 | Appended is my personal favorite.

Most excellent!

 | >From: tal@plts.org (Tom Limoncelli)
 | Read This Before You Write a Newsreader, News Transport System, etc.
 | --------------------------------------------------------------------
 |                 By Tom Limoncelli
 | Version 1.12. Updated 1995-03-30
 | 
 | Point #1:
 | "I think I'll write a newsreader!"
 | Stop.  Stop right there.

No way man.  I have a C++ vision! :)  Actually I just want to
learn, and the best way to do that is to implement.  I'm not
sure if I will make the public suffer a release of the source.
I also feel the need to put my money where my mouth is after
berating Netscape's newsreader. (that comment being the main
reason for posting this publicly)

 | Point #2:
 | If you are writing a newsreader or transport

Hey, a transport too, great idea!

 | Point #4:
 | 
 | Why get bogged down writting tons of NNTP code when you can link to a
 | pre-written client library?

Because I want practice writing an industrial strength protocol
client or two.  Odds are good that any transgression, if publicly
visible, will not be tolerated by the public.

 | DO USE "MODE READER"

Check.

 | DO USE A PRE-WRITTEN DATABASE: Don't use your own database, use NOV.

Check.

 | POSTING: DON'T VALIDATE HEADERS:

Well, that falls under the industrial strength trip.  I just
tried inews -D (and inews -N) as the man page suggests.
Unfortunately the version I have posts the article.  So I will
probably end up reinventing that wheel.

 | WHEN YOUR USER IS IDLE, DON'T GENERATE TRAFFIC:  If your user isn't
 | typing, mouse'ing, clicking, etc. your newsreader shouldn't be
 | generating work for the server.

That is the plan.  Simple feature set, optimal in every way
possible.

 | DON'T GENERATE VANITY HEADERS:  Don't include a header that identifies
 | what newsreader the user is using.  Son-of-RFC1036 explicitly states
 | that this is A Bad Thing.  If you haven't seen this header before it
 | basically looks like: "X-Newsreader:

This one seems to be open to debate.

 | TRASH CERTAIN HEADERS:  News posting agents shouldn't generate
 | NNTP-Posting-Host: or Path: headers.

Check.  Even if it conflicts with 'don't validate'.

 | TIPS WHEN REPLYING AND DOING A FOLLOWUP-POST:
 +----

Cool!  A most excellent document.  After I wrestle [n]curses to
the ground I'll be be on a quest for the ultimate small and fast
newsreader, OO even. :)

-- 
Gary Johnson                   "There's no union called the AFL-CIA is there?"
gjohnson@season.com            <a href="http://www.efm.org">Walk The Talk</a>
                   CAMPAIGN '96: Juck 'em if they can't fake a toke.


Technical Details
Message-ID: <slrn4pmv6a.2d.gjohnson@dream.season.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn4p7d38.19c.guckes@euler.math.fu-berlin.de> <rjenoo9ta1.fsf@babbage.dina.kvl.dk> <slrn4pifqo.9q.gjohnson@dream.season.com> <4ne3g9$7eo@nnrp1.news.primenet.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn4pmv6a.2d.gjohnson@dream.season.com>
Subject: Right newsreader writing. (was Re: Newsreader Pet Peeves)
Date: Thu, 16 May 1996 00:00:00 +0000
From: gjohnson@dream.season.com (Reality is a point of view)
References: <slrn4p7d38.19c.guckes@euler.math.fu-berlin.de> <rjenoo9ta1.fsf@babbage.dina.kvl.dk> <slrn4pifqo.9q.gjohnson@dream.season.com> <4ne3g9$7eo@nnrp1.news.primenet.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 155166649
Organization: season.com [205.179.33.0]
Newsgroups: news.software.readers