[GNKSA Home]

The GNKSA Toolkit (under development)


Presently, a toolkit called GNKSAlib is under construction. GNKSAlib is a library of routines that can (such is the intention) easily be incorporated in almost any (existing) news software. The toolkit is written in ANSI C, and uses nothing platform-specific. It uses either standard POSIX or PCRE regular expressions for basic Usenet message syntax validation, and performs some additional sanity checks in the area of header dependencies. It also touches upon some other areas related to the concept of net keeping, such as excessive crossposting, bad wrapping, etc. etc.

For those interested in GNKSAlib's architecture: at present, the documentation is not quite finished yet. However, the `call graph', which is quite insightful, is available in the platform-independent PDF (Adobe Acrobat), PostScript, and GIF formats.

GNKSAlib is currently at version 0.73d, dated January 13, 2002. Hopefully there will be some opportunity to prepare a "one-dot-oh!" version to appear shortly.

If you plan to use GNKSAlib, be aware that what you're getting at this point is a not-quite-finished-yet product. At present, all included functionality has been tested exhaustively, the APIs seem to have stabized, and the functionality is quite complete. The documentation is the main area of attention at this point. A sample program, gnksafy, is included in the distribution for the purpose of demonstrating GNKSAlib: it can be used as a replacement for the inews posting program, with the bonus of basic message format validation as a claim to fame. Another example of GNKSAlib usage is uqwk, an off-line mail and news helper.


A while ago, I wrote a little (perl) snippet to restrict References: headers correctly, when I had to use a buggy inews that bluntly cut off lines at a length of 512 bytes. It's fairly generic, not too hard to read, and shows quite handsomely how to restrict the References: header the proper way. It's called restrict-refs.

Related tools

Of related interest, I've encountered (or received) some stuff that might be of interest, or simply useful.

Best viewed with ANY browser Brought to you by <js@gnksa.org>.
Last modification: Thu Feb 15 2001 by JS.