This patch implements the beginnings of a remote control
tool for GNU
Smalltalk. It is based on Mike Anderson's GSTI project from
http://www
.mail-archive.com/help-smalltalk gnu.org/msg00339.html
though
in practice I rewrote all the code. Still, the credit for
the
multiplexing transcript idea, and especially for using the
Compiler
package to have a working multiplexing transcript in the
first place
(!), goes to him.
I like a lot the way options like --snapshot, --pid, --kill
are
implemented: instead of having a complicated protocol, I
just send
Smalltalk commands like "ObjectMemory quit" or
"Smalltalk getpid
printNl". getpid(2) is accessed via DLD.
I found a typo in Compiler; that's been backported to the
3.0 branch.
Startup is slow mostly because the TCP package has to be
loaded. You
can improve that with a pre-prepared image that has the TCP
package in
it; I'll see if I can do something else.
There is still no interface to Swazoo, but that's a minor
improvement
compared to having the tool in the first place.
Paolo
_______________________________________________
help-smalltalk mailing list
help-smalltalk gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
|