Okay here is non-ANSI version of Milliways that will compile
straight off, on a Sun.

To be reading this, you have obviously untarred the source code.
Okay, you will need to make a few minor changes.


What Do i Do Now......
======================

in the src directory edit the file bb.h

Change the following fields :-

HOMEPATH     - This tells mw where to keep all its files
               (the folders and user files etc. )

		You will need to copy login.banner into the above
		directory, also you must create a sub-directory 
		called   mesgs    (this is where the communications
		stuff for tell and wiz goes, empty this directory 
		occasionally, preferably when no one is using mw)

		Also, due to a small bug you will have to create a file
		called who.bb in the HOMEPATH directory as well.
		Just type 'touch who.bb' when in that directory.

SECUREEDITOR	- This is the editor that people will be allowed to use
		to edit their messages, normal this is red (supplied)
		after compilation, copy red to somewhere appropriate
		(maybe HOMEPATH) and set this field to point to it.

EDITOR		- This is the editor that wizards get to use to edit other
		peoples messages, usually vi, which shouldnt need to be changed
		but type 'whereis vi' to make sure.

LOCKFILE	- You can change this if you really want, this is just the 
		name of the file that milliways creates if you ask it to 
		lock the board. It can be any file, anywhere.

Once all the above stuff has been set correctly, then just cd to the src
directory and type 'make'. After a while it should beep and tell you that
it has finished.

If you set the field BB in the file 'Makefile', as the directory that
you want mw to live in, then simple typing, 'make install'
will copy mw to the correct place and set the mode correctly.

Otherwise, you can do it by hand, simply type the following commands
cp newbbs mw
strip mw
cp mw <Somewhere>  (Where you want to keep mw)
cd <Somewhere>
chmod 6711 mw

Now, anyone can run mw, and it should all work correctly.

-------------

So, Now you've Compiled it...
=============================

When you first run mw, it will ask you for a name etc.
the same as when anyone logs in for the first time.

But, if your username is the same one that owns the file, (look on ls)
then when its finished asking you what name, email address etc.
It will ask you what status you want to be.
The obvious answer at this point is all of them [rms]
So that this username can be used to administer the system.

So, Your a SuperUser, But theres no folders....
===============================================

Once in (for the first time) do not panic about the error messages
that say that there are no folders, this is perfectly natural,
as you havent created any yet.

Use the 'addfol' command to create a folder,
Its usually a good idea for the First four folders to be something like,
Notices, General, Mail, Bugs.

With the following flags

folder     ingroup    outgroup   groups
======     =======    ========   ======
Notices    arR        arR        
General    arRW       arRW     
Mail       aRWp       aRWp
Bugs       aW         aRW         8

Other Examples

Staff      a          aRW         8
Flames     aRWm       aRW         8
Locals     a          arRW        1

Etc.    (Where group 8 is for bbs operators)
	(Anyone who directly runs mw get created with group 1)


What do all these flags mean
============================
There are help files (for superusers only) explaining what most of
the flags are, try 'help status' 'help special' etc..

It is very useful to give yourself the special flag S
as this then allows you to use the 'su' command in mw,
to swap between a superuser and a normal user
(i.e. it toggles your [s] status flag on and off)

All users with the [s] flag can use the wizchat system, but
if you give the [W] special flag to a normal user, 
then they can also use wizchat.


Have Fun....
Any questions email

suarthur.ug@swansea.ac.uk
or
arthur@sugalaxy.swan.ac.uk



