On 1/5/06, Gautham Anil <firstname.lastname@example.org> wrote:
> I need to find out how I can open packages opened using ,open such as
> ,open sockets etc. in the program itself.
> So a program could be something like
> (run-shell (,open sockets))
> (run-shell (,open locks))
> (run-shell (,open threads))
The easy way is to provide the package name on the command line:
scsh -o sockets -o locks -o threads
Another way is to use the package MODULE-SYSTEM in the s48 section of
sunterlib (http://savannah.nongnu.org/projects/sunterlib/). There is a
README file that contains a short docu.
The SUnet project uses this package in its SUrflet server.
http://sf.net/projects/sunet, see there the function
GET-SURFLET-RT-STRUCTURE in scheme/httpd/surflets/surflet-handler.scm