I suspect the answer lies in this comment in HELP NEWS in Poplog V14.5
--- From Version 14.5, Poplog saved images created by syssave and
sys_lock_system no longer attempt to save the run-time state of
externally-loaded code. In particular, they no longer save areas
of dynamic memory allocated by the O/S library memory allocators
malloc (Unix) and lib$get_vm (VMS).
Thus saved images can now only be used to save the state of
external loads immediately after compilation. They cannot now be
used to save the state of external variables and data structures
after external code has been run.
This change was necessitated by various factors. First, external
state-saving never really worked properly anyway (or rather, it
worked partially on some systems but not on others), and
REF?*?EXTERNAL has always advised against its use.
Second, Poplog's use of shareable libraries under the Solaris
and HP-UX operating systems mean that even that previous
unsatisfactory behaviour is now unsupportable.
See Saving and Restoring Images in REF?*?EXTERNAL for more
details.
It unfortunately means that if you are running X you cannot save an
image after you have started running anything in Poplog. You can,
however, compile lots of stuff and then save an image. Here is an
example of a shell script I have that does that, to create an image with
rc_graphic installed, which I can run by typing
pop11 +rc_graphic
which is very much faster than loading rc_grahic every time. (The same
applies to objectclass, go, etc.). the "%nort" flag prevents any run
time actions being performed prior to saving the image. I also compile
several different VED keymaps as our users use different terminals, so
the maps might as well be in the image, which is shared on our main
compute servers.
=======================================================================
#!/bin/sh
# $poplocal/local/com/mkrc_graphic
# Make image containing ved with rc graphics
# A.Sloman 3 Nov 1992
$popsys/pop11 %nort mkimage $poplocalbin/rc_graphic.psv \
popxlib.p rc_graphic.p \
vedxterm.p vedhpxtermkeys.p vedncdxtermkeys.p \
vedsunxtermkeys.p
rm -f $poplocalbin/rc_graphic.psv-
=======================================================================
Aaron
|