Kind of an installation manual...

copy/untar/unshar all the stuff in /usr/lib/fnet or any directory
you would like to use as lib dir.

If you haven't got any publicdomain dial package, I would recommend
getting one, I have never seen working version of SVR* dial package.
I tried using HDB, but its configuration happens same way the login
handshake in Systems (expect-send-expect), which doesn't give much
chance for regognizing different kind of responses etc, I would like
to continue redialing continuously if system is busy and so on.  I
have been using dial package from Gene H. Olson, ihnp4!quest!gene,
thanks for his nice work! I picked it up from local pay-unix-bbs (City
Lines Oy/mcvax!clinet), so it may be a bit old version.

Edit Config.h, follow instructions there.

Makefile
--------

ENA should be something which allows you to change ownerships to something
else. I found it easier to make this work running under ena shell (I know,
I'm trying to commit a suicide :-). If you want to be yourself,
make OWNER and GROUP you and make ENA empty.

CFLAGS define -DSAFE_STDIO_ROUTINES. Macros probably don't work in
your environment, I know they work in following computers/operating
systems. If you want to look at those, they are in hsu.h:

Motorola 8400 SVR3
Microport V/386 SVR3
CT Miniframe SVR[12] (~3b1/7300?)
Mesh-dosh MS C 4.00

SHELL should be /bin/sh, ksh might work also if you have it. In fact, in
this Microport version of 386 I have there is a bug in /bin/sh which
causes problems when using it.

OWNER
GROUP
Uucp and daemon or uucp and mail are good candidates?

Check out chmod's in Makefile, I have been probably too open with them.
(Single user 386 with no external logins :-)

Files and rest of work
----------------------

If you haven't got unistd.h, there is one included, it might be a good
idea to arrange it to be copied to /usr/include.

To get scandir for a computer without one, there are several similar
routines available in public domain. Search for magic words ndir or
dirent.

chown all files for same groups you specified in Makefile, make the
spool directory and other directories under it and chown them too.
Make install might do,

Edit the rfmail.cf and Aliases files following the instructions in
them.

You need to generate newsgroups for echomails (usually using inews -C?).
I have names groups as fidonet.echo-mail-name.

install it to crontab/etc so that it calls to fidonet host you
should be polling at. I use packer & fcaller, but you can try
fnetdemon.day which probably is better, though may need checking up.

my interface:
18 0 * * * /u2/lib/fnet/packer 2>&1 | /bin/mail hsu
20 0,18,19,20,21,22 * * * /u2/lib/fnet/fcaller 2>&1 | /bin/mail hsu

fnetdemon.day from jam@hut:
20 0 * * * /usr/lib/fnet/fnetdemon.day 2>&1 | /bin/mail hsu

Get new nodelist. Best place to hunt for it is nearest fidonet system.
Convert it to unix format before using it (just lfs, no cr+lf, no ^Z).

Modifying rn common.h (line 559 in version 4.3 I have) from

#	define NEWSHEADER "Newsgroups: %(%F=^$?%C:%F)\nSubject: %(%S=^$?%\"\n\nSubject: \":Re: %S)\nSummary: \nExpires: \n%(%R=^$?:References: %R\n)Sender: \nReply-To: %L@%H.UUCP (%N)\nFollowup-To: \nDistribution: %(%i=^$?%\"Distribution: \":%D)\nOrganization: %o\nKeywords: %[keywords]\n\n"

to
#	define NEWSHEADER "Newsgroups: %(%F=^$?%C:%F)\nSubject: %(%S=^$?%\"\n\nSubject: \":Re: %S)\nSummary: \nExpires: \n%(%R=^$?:References: %R\n)Sender: \nReply-To: %L@%H.UUCP (%N)\nFollowup-To: \nDistribution: %(%i=^$?%\"Distribution: \":%D)\nOrganization: %o\nKeywords: %[keywords]\nComment-To: %t\n\n"

(Just added Comment-To: %t\n in the end!)

It adds name of recipent to news messsages, so it will be in fidonet
echo replies, otherwise you need to type it hand or leave it out in which
case to-field be set to All.

You should arrange addresses which look like fidonet addresses,
probably everything of format huu@something.fidonet to be passed to
rfmail.  You could try rmail which comes with this software, though I
haven't tried it yet, better choice would be to use sendmail or
anything which can forward certain kind of addresses to other mailer.

