Casper.Dik at Sun.COM wrote:
> >We combine low footprint with ultra high performance, serving the
> >needs of embedded systems like ARM-powered mobile devices and servers
> >like M8000. All in one go!
>
> It would be nice if the "shell" library was reusable for other
> shells.
Erm... technically the commands from libcmd can be easily used from
other shells ([1]). The commands from libshell require a |Shell_t|
object being created and passed as context which makes it a bit more
tricky to use those commands but it should be possible (see the
"busybox"-like "alias.c" wrapper which uses both commands from libcmd
and libshell).
[1]=(assuming the shells do not rely on any fancy control over files or
signals (the embedding wrapper has to restore the original state anyway
(and AFAIK neither { bash3, bash4, zsh, tcsh } require this))).
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)