Getting news via term.

inews/* holds a hacked version of inews that posts via NNTP. It edits
the From: header. The From: header is edited to be..

From: $LNAME@tartarus.uwa.edu.au ($NAME)

so you have to set the environment variables LNAME and NAME to be your
login name and real name, and edit inews/conf.h to match you hostname.
(i.e. change it away from tartarus.uwa.edu.au).

nntpread/* holds the program I use to get news via NNTP. It is a
version I wrote, based on nntpxfer (with lots of code from nntpxfer).
It's only claim to fame is that it 'stacks' nntp commande. i.e. it
sends the next command before the previous had finished. This is
intended to maximize bandwith usage and minimize time taken to get
news. 

scripts/* holds the various scripts I use to drive nntpread. getnews
is the mail one. It uses the data files act.uniwa, and act.bilby to
get news from the news hosts 'uniwa' and 'bilby'. If it very specific
to my case. You will very likely need to at least modify it if not
re-write it.

scripts/getnews uses a mod to tredir. Specifically, tredir now writes
its PID to stdout. i.e. change the section around line 32 of connect.c
to read..

  if ((pid = fork())) {
    printf("%d\n", pid);
    exit(0);
  }

(it was)
   if ((pid = fork()))
	exit(0);
(I think.. )


Hope this works...


WARNING!!!!
	All these scripts assume that the data files will be in the
directory ~/n (that being where mine are). edit to suit your
situation. I run these scripts as root, but you shoulnd't need to.
(well, the tredir will need to run as root so that it can bind port
119).


Michael
