[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Jan 31 15:41:11 1995 
Subject:Re: How do you do a syssave under X 
From:Adrian Howard 
Volume-ID:950202.01 

In article <3gj4kl$at8@rockall.cc.strath.ac.uk>,
David Stevenson <david@cad.strath.ac.uk> wrote:
>hi,
>can someone out there help with this one?
>
> ? what do you have to do to `syssave' an image while running pop11 %x ?
> ? - or, to put it another way, what do you have to not-do or un-do ?!!
>
>I recall from the days of PWM that you could syssave from PWM as long as
>you didn't have windows up, then contrive to get the sysrestore'd image
>to load in a separate file that DID create the windows ... I'm presuming
>it's similar with X/OpenLook ... but what's the magical incantation?
>
>- I *have* browsed the on-line help in POPLOG, but have found nothing
>that explains the rules of this particular game simply, clearly and
>comprehensively - it's very tedious doing a `load' of everything every
>time you want to run, because you don't know what you *can* syssave
>and what you can't!

A reasonably accurate summary is that you can syssave Pop-11 things (lists,
records, etc) but you cannot syssave external objects (X stuff, widgets,
propboxes etc). External functions will be saved ok, but their runtime state
will *not* be recorded --- therefore you have to do all the necessary
initialisation at runtime.

You also have to be careful that runtime actions get run at the appropriate
times (see REF * SYSTEM). You may find HELP * MKIMAGE useful.

Hope this helps.

Adrian

aids (adrianh@cogs.susx.ac.uk)  ObDisclamer: Poplog used to pay my wages
Phone: +44 (0)1273 678367 URL: http://www.cogs.susx.ac.uk/users/adrianh/