🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Jeroen Scheerder Tue, 26 May 1998 00:00
[Ann] GNKSAlib 0.71d
#41158
Author: Jeroen Scheerder
Date: Tue, 26 May 1998 00:00
58 lines
3313 bytes
As a conceptual exercise, and to explore the feasibility of it, I
started developing a set of routines to help improve news software
behaviour.

Its name is `GNKSAlib', and its purpose is to do some basic checks for
the validity of messages that are candidates for making a Usenet
appearance.  It can be obtained (and an illustrative call graph can be
inspected) at <http://www.xs4all.nl/%7Ejs/gnksa/gnksa-tools.html>.

In a bitmore detail, it

    * checks syntactic header validity, both for generic headers and for
      those specifically described in the Usenet Message Format RFCs
    * checks for presence of required headers
    * checks for (forbidden) header duplication
    * catches and fixes a few common errors -- for example, quite
      a few common forms of broken Subject header prefixing, such
      as in `Subject: RE:re^s:Aw:Re(2):Re^2: ...'
    * watches for some header dependencies, and can warns on 
      discrepancies (Subject looks like a followup, no References
      header in sight, vice versa; various forms of interplay
      between Newsgroups and Followup-To headers)
    * checks for problematic items -- excessively long lines,
      excessively long signatures, large `volume' postings, etc.

ObDisclaimer: this is not about limiting people's freedom.  It's about
improving Usenet software, about trying to keep Usenet working and open
to everyone.

Under the hood: GNKSAlib is written in (I hope) highly portable ANSI C
code.  It relies on well-established, and solid, generally available
libraries for its key functionality -- POSIX regular expressions.  I've
tried to make it as free from OS-dependencies as possible; and except
for one or two (trivial) things, I think it is.  Its performance is
remarkably high, if decent regular expression library functions are used
(such as the GNU regex library).

I've compiled it on various Unix versions (NEXTSTEP, Irix 5 and 6, SunOS
4, Solaris 2.[456], Linux 2, BSD 4.4), as well as on Mac OS.  At this
point it has been surviving high-duty tests gracefully for quite a while
now.

The one area that needs major work is the documentation of the design
and the interface; an informative sample application is provided,
though, that functions as a posting agent (inews replacement) that
performs basic message format compliance checking.

Anyone who'd like to have a look: please do.  Comments and suggestions
are welcome.


-- J$
-- 
dash dash space
this is my .sig                                         it's not so .big

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