Save Imge in headless mode
avi at beta4.com
Mon May 5 19:56:47 UTC 2003
On Fri, 2 May 2003, Alain Fischer wrote:
> Hi nik,
> I think you could use Avi's REPLServer:
> Provides telnet access to a simple evaluate-print loop.
> See the REPLServer class comment for instructions.
> And you can add security with a SSH tunnel if you want remote access.
Actually, his initial suggestion of having a URL which snapshots the image
is what I use (see WAPackagePanel in the Seaside distribution).
Snapshotting the image in the middle of an REPL connection may be a bad
idea (start the image up again, and it expects that connection to still be
> On Vendredi, mai 2, 2003, at 11:15 Europe/Zurich, nik igu wrote:
> > hy all
> > I'am working on a project based on the seaside-webserver. One part of
> > the application makes changes in the image, so we have to save it
> > before exiting.
> > We start squeak with the -headless switch (on a linux machine). I
> > think the simplest approach to save the image before we shut-down
> > squeak, would be: "wget" a page wich would make a snapshot of the
> > image and quit.....
> > Is there another way to save the image from the commandline? Maybe
> > there is a (undocummented?) "trick", i could imagine that we could
> > "send" something to squeak with kill ... but I haven't found anything
> > on that topic on the net
More information about the Squeak-dev