home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
usenet
/
altsrcs
/
3
/
3138
/
README
< prev
next >
Wrap
Text File
|
1991-03-26
|
3KB
|
67 lines
The CNews Extension Set
Revised: 03/26/91
This is the latest edition of my programs to speed up the C-News
process a bit. Note: it is NOT an official extension or part of C
News; it is simply my effort to jazz it up a bit more. It has not been
blessed by Henry or Geoff. (In fact, they object to it because it
takes away the configure-on-the-fly nature of using shell scripts.
This is if you don't think you'll ever be changing anne.jones,
spacefor [save changing the minimum requirements, in spacefor.h], or
tear very often.)
Included are replacements for the anne.jones shell script &
defhdrs.awk awk program, to help speed up the parsing of headers; a C
version of spacefor, to keep the checks for disk space as fast as
possible (no parsing of the output of df anymore); and a new version of
tear, to replace the awk method of splitting an article's header &
body. The version of rnews that was previously released with this kit
won't be included until it's been updated to compensate for the
staleness facility with expires.
Anne.jones (thanks to John Palkovic) now also includes the option of
having it do "minimalist" message ID's. They produce message ID
strings of (e.g.):
Message-ID: <9NM#2K-@cs.widener.edu>
rather than
Message-ID: <1991Mar06.191450.10734@cs.widener.edu>
Note that all parts of this package are compatible with and are
currently running in the CNews system patched to 24-Mar-90 (all four
of the March patches). Also the changes in the December patches have
been fully incorporated. As far as I can tell, these should be drop-in
replacements.
The set is currently available via anon. FTP from ftp.cs.widener.edu
[192.55.239.132].
Thanks to Geoff Collyer & Henry Spencer for writing really intuitive code.
Check out the top of the Makefile for how to build all of this.
1. To install just anne.jones and none of the others, type:
make installaj
2. To install everything, type:
make install
3. If you want to replace only certain ones, or see what gets
moved, check out the file
'FilePlaces'.
4. Spacefor will let you say how much space you want by doing:
spacefor.stub 1 article 3500
so you can tweak inews on the fly if need be.
5. To make them all work on your site, you'll want to check
out anne.h, spacefor.h, & the Makefile and customize them
as necessary.
One new thing with this set is that you MUST have libcnews.a from
the CNews build. If you didn't save it, you'll have to go and re-run
doit.bin (or re-run build if you didn't save build.def) up to the
point where it's created. (It'll add a bunch, then do 'ranlib ../libcnews.a'
and 'touch ../ranlibed'. Then it'll go on to libstdio again, about to do
all of the compatability tests .. you can stop it there.)
Good luck! Any questions, comments, complaints, bug reports, etc. are welcome.
Brendan Kehoe (brendan@cs.widener.edu)