From b2e6d712645db6aab62a30250ba0b49112045c90 Mon Sep 17 00:00:00 2001 From: mainzelm Date: Sat, 29 May 2004 08:28:35 +0000 Subject: [PATCH] Update installation and usage section --- doc/latex/intro.tex | 43 +++++++++++++++++++++++++++++++++---------- 1 file changed, 33 insertions(+), 10 deletions(-) diff --git a/doc/latex/intro.tex b/doc/latex/intro.tex index 8ec2d51..fcc4ae0 100644 --- a/doc/latex/intro.tex +++ b/doc/latex/intro.tex @@ -54,7 +54,7 @@ following components: \end{itemize} 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] This is a complete anonymous ftp server in Scheme. @@ -82,21 +82,44 @@ following components: The SUnet code is available \urlhd{http://www.scsh.net/resources/sunet.html}{here}{from \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/}}. -\section{How to use the packages} +\section{How to install SUnet} -Untar the SUnet distribution somewhere. Fire up scsh and load the -SUnet \texttt{packages.scm} file into the configuration package. -After that, all structures defined by SUnet are available: +Starting with version 2.1 SUnet conforms to the packaging proposal for +scsh by Michel Schinz and needs Michel's installation library to +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} -atari-2600[72] scsh -Welcome to scsh 0.6.4 (...) +atari-2600[72] scsh -lel SSAX-4.9/load.scm -lel sunet-2.1/load.scm +Welcome to scsh 0.6.6 (King Conan) Type ,? for help. -> ,config ,load packages.scm -modules.scm +\end{alltt} +% +Now, all structures defined by SUnet and SSAX are available: +% +\begin{alltt} > ,open ftp Load structure ftp (y/n)? y [netrc netrc.scm]