Update installation and usage section

This commit is contained in:
mainzelm 2004-05-29 08:28:35 +00:00
parent 87c2ad3610
commit b2e6d71264
1 changed files with 33 additions and 10 deletions

View File

@ -54,7 +54,7 @@ following components:
\end{itemize} \end{itemize}
The server also ships with a sophisticated interface for writing The server also ships with a sophisticated interface for writing
server-side Web applications called "SUrflets". server-side Web applications called \textit{SUrflets}.
\item[The SUnet ftp server] \item[The SUnet ftp server]
This is a complete anonymous ftp server in Scheme. This is a complete anonymous ftp server in Scheme.
@ -82,21 +82,44 @@ following components:
The SUnet code is available The SUnet code is available
\urlhd{http://www.scsh.net/resources/sunet.html}{here}{from \urlhd{http://www.scsh.net/resources/sunet.html}{here}{from
\url{http://www.scsh.net/resources/sunet.html}}. To run the code, you need \url{http://www.scsh.net/resources/sunet.html}}. To run the code, you need
version 0.6.4 or later of \urlhd{http://www.scsh.net/}{scsh}{scsh from version 0.6.6 or later of \urlhd{http://www.scsh.net/}{scsh}{scsh from
\url{http://www.scsh.net/}}. \url{http://www.scsh.net/}}.
\section{How to use the packages} \section{How to install SUnet}
Untar the SUnet distribution somewhere. Fire up scsh and load the Starting with version 2.1 SUnet conforms to the packaging proposal for
SUnet \texttt{packages.scm} file into the configuration package. scsh by Michel Schinz and needs Michel's installation library to
After that, all structures defined by SUnet are available: install properly. For more information, please see
\url{http://lamp.epfl.ch/~schinz/scsh_packages/}.
In short, this means that you can install SUnet by unpacking the SUnet
tarball and issuing the following command in the created directory:
\begin{verbatim}
scsh-install-pkg --prefix /path/to/your/package/root
\end{verbatim}
See the file INSTALL for the generic installation instructions for
scsh packages.
You need to install version 4.9 of the SSAX package to use SUnet. SSAX
is available from \url{http://lamp.epfl.ch/~schinz/scsh_packages/}.
\section{How to use the packages}
%
After installation, you can use the \verb+-lel+ command-line option to
load the package definitions. If you installed SUnet including
SUrflets (the default), you need to load SSAX as well:
% %
\begin{alltt} \begin{alltt}
atari-2600[72] scsh atari-2600[72] scsh -lel SSAX-4.9/load.scm -lel sunet-2.1/load.scm
Welcome to scsh 0.6.4 (...) Welcome to scsh 0.6.6 (King Conan)
Type ,? for help. Type ,? for help.
> ,config ,load packages.scm \end{alltt}
modules.scm %
Now, all structures defined by SUnet and SSAX are available:
%
\begin{alltt}
> ,open ftp > ,open ftp
Load structure ftp (y/n)? y Load structure ftp (y/n)? y
[netrc netrc.scm] [netrc netrc.scm]