Mosh is a tool for running multiple Oz-applications at the same time within only one ozengine. It combines some frequently used shells-commands (for files, processes & environment) with some (thread-related) Oz-commands. It can be used as an interactive shell as well as a script processor. Output redirection is supported.
Once you have started some applications, you can disconnect and leave them alone running in the background until you choose to reconnect in order to read their output, start some new programs, or just terminate them and exit. This feature is useful e.g. for providing multiple little Oz-based internet-services.
This package can be installed by following the usual
configure, build, install procedure, i.e. by executing a the
shell:
./configure
make install
By default, all files of the package are
installed in the user's ~/.oz directory tree. In
particular, all modules are installed in the user's private cache.
$ ozengine x-ozlib://mathweb/mosh.exe -l
This is mozart shell version 1.0.0 beta.
Processing file `/home/afranke/.moshrc'...
Warning: ^C kills the entire oz process.
Type exit to leave.
> system date
Tue Jan 11 21:26:19 MET 2000
> system which emacs
/usr/bin/emacs
> exec {Show 1+1}
2
> eval {Log 2.0}
0.693147
> exit
Bye...