Welcome to LEGCAP: the SML ACAP server
--------------------------------------

Sure, it's missing a few features, such as "saving to disk".  Details.
This ACAP server implements the major functionality in RFC 2244 in a
high level language, SML.  Don't have an SML compiler?  No problem!
This distribution has helpfully included the SML/NJ compiler, and
you'll compile it right before installing SML/NJ.

Here's the step by step directions:

0) Compile and install the Cyrus SASL library, available from
ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/

Make sure to install the ANONYMOUS mechanism: it's the easiest way to
log into the ACAP server.

1) untar legcap-1.0.tar.gz via:

% gunzip -d < legcap-1.0.tar.gz | tar xvf -

2) If you are not on a x86-linux or a sparc-solaris machine, obtain
the appropriate binary tar file from:

ftp://ftp.research.bell-labs.com/dist/smlnj/release/110/

There's some additional configuration you'll probably have to do; send
mail to cyrus-bugs+@andrew.cmu.edu and we'll explain.

The binary tar files are included for x86-linux and sparc-solaris and
it should compile out of the box.

3) Start compiling SML/NJ:

% cd legcap-1.0
% config/install.sh
...
%

4) Go to lunch while you wait for it to compile.

5) Compile the ACAP server:

% cd legcap
% ../bin/cml-cm
Concurrent ML, Version 1.0.10, September 15, 1997[CML autoload]
- CM.make ();
...
- 

6) Run the ACAP server:

- AcapServer.doit 5000;

where "5000" is the port #.

7) Enjoy.

8) Send mail to cyrus-bugs@andrew.cmu.edu.
   The first 3 people who successfully compile the server will receive
   a free postcard!

Take a look at legcap/notes to see more details on the state of the
server.