On May 13, 2010, at 12:46 AM, Geoffroy Couprie wrote:
Hello,
On Thu, May 13, 2010 at 12:38 AM, Michael van der Gulik <mikevdg@gmail.com> wrote:
On Thu, May 13, 2010 at 10:31 AM, Geoffroy Couprie <geo.couprie@gmail.com> wrote:
Hello,
Following the discussion on VM remote administration ( http://lists.gforge.inria.fr/pipermail/pharo-users/2010-May/000268.html ), I started working on something like a remote workspace. So far, I'm able to connect to a VM running Pharo with netcat, and execute some code. It is not much, but it was fun to write, and I learned a lot of things :)
Now, before I add new features, I feel I should ask if someone would be interested by this, and what use case you would imagine: -Connecting from another VM or sticking with netcat? -Remote debugging (might not be easy, but should be fun to do) -Sending commands to a lot of VMs at once (and querying status) -Multiple connections possibles? -Being able to save a session (like http://www.gnu.org/software/screen/ ) -Authentication/encryption? Is there a way to use openssl, or should I steal the 3DES code from RFB (it should be quick enough for text only communication)?
There's a package called REPLServer for Squeak which does the above. It has command line editing and history.
Aww, you just killed my first real Smalltalk program :(
Have a look there is certainly space to improve. If it works in pharo it would be great to produce a ConfigurationOfREPL for pharo1.0 and pharo1.1
Well, I'll try it!
It doesn't have a debugger yet. I use it to "reboot" Morphic to get back to a debugger after a bad crash. Nor does it have session management, but that could be added easily. I never thought of doing that.
REPLServer just uses telnet and only listens to localhost. I figured that if anybody wants to do secure stuff, then they could SSH into the remote host and then use telnet from the command line to get to Squeak.
Yes, SSH tunnels work really well. Right now, my server listens on locahost too.
Best regards,
Geoffroy
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project