J. Rifkin Links


NTTP and INND

pullart.c

My struggles with innd from www.isc.org have been less than successful, but I have produced pullart, a C program for pulling articles from cycbuffers. Useful if your system crashes and you need some or all of your articles.

Here's an example,

pullart cycbuff.1 Newsgroup rec.art

This pulls all articles from cycbuff.1 whose "Newsgroups" header field contains the string rec.art. In place of "Newsgroups" you can use the initial portion of any header name such as "Subject". Case is signficant.

How it works

Very simple. In cycbuffers articles start at offset 0xc withing 16 byte blocks. The first 5 characters of every article is "Path:" Each article ends with the five characters: 13, 10, '.', 13, 10. Thats carraige return, line feed, period, carriage return, line feed.