2002-08-21 10:52:34 -04:00
|
|
|
\chapter{Overview}\label{sec:intro}
|
2002-08-21 11:15:48 -04:00
|
|
|
|
2003-01-10 08:28:11 -05:00
|
|
|
\section{What's SUnet?}
|
2002-02-12 06:50:54 -05:00
|
|
|
|
2003-01-10 08:28:11 -05:00
|
|
|
The Scheme Untergrund Networking Package (SUnet, for short) contains a
|
|
|
|
set of libraries for doing Internet hacking from scsh. It includes:
|
2002-02-12 06:50:54 -05:00
|
|
|
|
|
|
|
\begin{description}
|
2002-08-21 10:52:34 -04:00
|
|
|
\item[The SUnet Web server]
|
2002-02-12 06:50:54 -05:00
|
|
|
This is a complete implementation of an HTTP 1.0 server in Scheme.
|
2003-01-10 08:28:11 -05:00
|
|
|
The server is accompanied some libraries which may also be used separately:
|
2002-02-12 06:50:54 -05:00
|
|
|
\begin{itemize}
|
2003-01-10 08:28:11 -05:00
|
|
|
\item URI and URL parsers and unparsers
|
|
|
|
\item a library for writing CGI scripts in Scheme
|
|
|
|
\item server extensions for interfacing to CGI scripts
|
|
|
|
\item server extensions for uploading Scheme code
|
|
|
|
\item simple structured HTML output library
|
2002-02-12 06:50:54 -05:00
|
|
|
\end{itemize}
|
2002-08-21 11:15:48 -04:00
|
|
|
\item[The SUnet ftp daemon]
|
2003-01-10 08:28:11 -05:00
|
|
|
This is a complete anonymous ftp server in Scheme.
|
|
|
|
\item[ftp client library] This library allows you to access ftp
|
|
|
|
servers programmatically.
|
|
|
|
\item[netrc library] This library parses authentication information
|
|
|
|
contained in \verb|~/.netrc|.
|
|
|
|
\item[SMTP client library] This library allows you to forge mail from
|
|
|
|
the comfort of your own Scheme process.
|
2002-08-21 11:15:48 -04:00
|
|
|
\item[POP3 client library]
|
2003-01-10 08:28:11 -05:00
|
|
|
This library allows you to access your POP3 mailbox from inside scsh.
|
|
|
|
\item[RFC822 header library] This library parses email-style headers.
|
2002-08-21 11:15:48 -04:00
|
|
|
\item[Daytime and Time protocol client library]
|
2003-01-10 08:28:11 -05:00
|
|
|
This library lets you find out what time it is without paying for a
|
|
|
|
Rolex.
|
|
|
|
\item[DNS client library] This is a fairly complete, multithreaded DNS
|
|
|
|
library.
|
|
|
|
\item[An \texttt{ls} clone] This library Displays Unix-style directory
|
|
|
|
listings without running \texttt{ls}.
|
2002-02-12 06:50:54 -05:00
|
|
|
\end{description}
|
2002-08-21 11:15:48 -04:00
|
|
|
|
2002-08-21 10:52:34 -04:00
|
|
|
\section{Obtaining the system}
|
2002-02-12 06:50:54 -05:00
|
|
|
|
2002-08-21 11:15:48 -04:00
|
|
|
The SUnet code is available
|
2002-08-21 10:52:34 -04:00
|
|
|
\urlhd{http://www.scsh.net/sunet/}{here}{from
|
2002-08-21 11:15:48 -04:00
|
|
|
\url{http://www.scsh.net/sunet/}}. To run the code, you need
|
|
|
|
version 0.6.3 or later of \urlhd{http://www.scsh.net/}{scsh}{scsh from
|
|
|
|
\url{http://www.scsh.net/}}.
|
2002-02-12 06:50:54 -05:00
|
|
|
|
2002-08-21 10:52:34 -04:00
|
|
|
\section{How to use the packages}
|
2002-02-12 06:50:54 -05:00
|
|
|
|
2003-01-10 08:28:11 -05:00
|
|
|
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:
|
2002-08-21 11:15:48 -04:00
|
|
|
%
|
2002-08-21 09:35:41 -04:00
|
|
|
\begin{alltt}
|
2003-01-10 08:28:11 -05:00
|
|
|
atari-2600[72] scsh-0.6.3
|
|
|
|
Welcome to scsh 0.6.3 (Health Reform)
|
2002-02-12 06:50:54 -05:00
|
|
|
Type ,? for help.
|
2002-08-21 10:52:34 -04:00
|
|
|
> ,config ,load packages.scm
|
2002-02-12 06:50:54 -05:00
|
|
|
modules.scm
|
|
|
|
> ,open ftp
|
|
|
|
Load structure ftp (y/n)? y
|
|
|
|
[netrc netrc.scm]
|
|
|
|
[ftp ftp.scm]
|
2002-08-21 11:15:48 -04:00
|
|
|
> ; call library code
|
2002-02-12 06:50:54 -05:00
|
|
|
> ,exit
|
2002-08-21 09:35:41 -04:00
|
|
|
atari-2600[73]
|
|
|
|
\end{alltt}
|
2002-02-12 06:50:54 -05:00
|
|
|
|
|
|
|
%%% Local Variables:
|
|
|
|
%%% mode: latex
|
2002-08-21 10:52:34 -04:00
|
|
|
%%% TeX-master: "man"
|
2002-02-12 06:50:54 -05:00
|
|
|
%%% End:
|