Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!kth!enea!naggum!isncr!m2cs!frode From: frode@m2cs.uu.no (Frode Odegard) Newsgroups: comp.windows.news Subject: Re: Toolplaces for NeWS Summary: Saving/Restoring NeWS windows (& programs) Message-ID: <135@m2cs.uu.no> Date: 27 Feb 89 18:49:33 GMT References: <1116@cmx.npac.syr.edu> Organization: Modula-2 CASE Systems A.S, Oslo, Norway Lines: 28 This should be possible. In fact, provided one has a decent library used by the applications on the client side, one should be able to save and restore THE WHOLE DESKTOP like in Smalltalk. GNU Emacs has some nice code that it uses for loading faster. It will load the ELISP code into its data segment and then produce a core dump of itself. Then this core dump is converted into a new executable which has all the ELISP stuff preloaded (minus user ELISP files, of course, I'm only talking about the basic editor code here). If one could also save info about the call chain, a RESUME would be in reach. We have the problem with limbo descriptors of course, but that's what the "decent library" is all about.... I expect the library would also have to talk to NeWS to save/restore what ever the client had going over there. If the client only goes trough The Nice Library for doing graphics (farewell, extensibility ;->), the graphics wouldn't be a problem either. Comments from Real Unix Hackers? [I'm just a Modulean, I write my own operating systems ;-)] - Frode -- | Frode L. Odegard |"The world is coming to an end! Repent and| | Modula-2 CASE Systems |rm /bin/cc" | | NORWAY (EUROPE) | | | Email: frode@m2cs.uu.no | |