  To get it compiled, cd src, copy Make.dist to Makefile and defs.dist
to defs.h.  Edit these two new files to reflect your system.
'fgetmfs' is an external subroutine that should be added to a library
somewhere, but you can add it to the Makefile.  You may want to modify
and use localize.sh to save time on future updates.  If I've done as
well as I like to think, it should make and run without error.

  Stop here and test.  All the rest of this can be done later.

  Other things:

  'lib/Editors'   contains the available editors, if the users are 'local'
              and already have user accounts, the environment variable
              "EDITOR" will be used to pick the editor from this file.

  'lib/Floors'    contains descriptions of floors.  If absent, all rooms
              appear on one floor, "lobby.".

  'lib/Transfers' is used to define upload/download programs.  If absent
              then no protocol transfers can be used.  Local 'cp' will
              still be used for 'local' users.

  'lib/fileDirs'  describes directories and permissions for rooms that
              have files in them.

  In your news directory, Unidel will use 'active' to get the latest
article numbers to find rooms with new messages, and 'newsgroups' to
get the descriptive names of rooms.  If the description in
'newsgroups' is less than 30 characters then it's displayed as the
room name.

  A 'local' user is one that logs in normally, and then uses unidel to
read news and mail, they upload and download files and messages by
using 'cp'.  In defs.h are two variables, _local and _isLocal, that
define how to find out if a user is on a local terminal or dialed-in
and needs a file transfer protocol.  Set _local to a file that lists
all the terminals and dial-up lines (/etc/inittab for sysV, or you can
create your own) and set _isLocal to a string to look for in that file
to see if the tty line is local.  Example

  #define _local "myTTYFile"
  #define _isLocal "local"

  myTTYFile:
     tty01	local
     tty02      local
     tty03	dial-in
     tty04	dial-in


  And last, but not least, mail.  Until I get a better way to deal
with various message bases, Unidel wants each user's mail database to
look like a second news database.  That means there's an
'$HOME/.mail/active' file, a '$HOME/.mail/newsgroups' file,
directories for each mail room under $HOME/mail, and each mail message
in an individually numbered file.

  If you have a mailer that can forward to a program (SMail, SysVR4,
Sendmail?) I've written a program 'misc/place' that will place a
single message into the mail message base and update .mail/active.  On
my SysVR4 machine each user using Unidel mail-reading has

     Forward to |/usr/local/lib/unidel/place mail

in their /var/mail/USERNAME file (actually, they are all linked to one
file).  On SunOS I had a .forward file in my home directory that
called deliver (see next).

  If you install Chip Salzenberg's 'deliver' program you will be able
to direct mail into specific mail rooms.  Deliver handles taking
messages from 'sendmail' (in BSD) or replacing 'rmail' (in Sys V) and
handing them to a shell script for further delivery.  That shell
script figures out what newsgroup to place the message in and passes
it to 'misc/place' which places the file under '$HOME/mail/...' and
updates '$HOME/.mail/active'.

  Here is my deliver script:

---------------------------------- Cut Here
function pmail
{
    echo "Path: snowhit!ken
Newsgroups: $1" | cat - $HEADER | egrep -v "^From[ 	]" | cat - $BODY | place $1
}

SENDERID=`echo $SENDER | sed "s/.*!//"`
case "$SENDERID" in
    srandall|wayne)
        pmail $SENDERID
        ;;
    *)
        pmail general
        ;;
esac
---------------------------------- Cut Here
