Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site umcp-cs.UUCP Path: utzoo!watmath!clyde!floyd!harpo!seismo!rlgvax!cvl!umcp-cs!chris From: chris@umcp-cs.UUCP Newsgroups: net.unix-wizards Subject: Re: generalized suspend wanted: "undump" program Message-ID: <5592@umcp-cs.UUCP> Date: Thu, 1-Mar-84 23:35:40 EST Article-I.D.: umcp-cs.5592 Posted: Thu Mar 1 23:35:40 1984 Date-Received: Sat, 3-Mar-84 23:15:06 EST References: <1488@mordor.UUCP> Organization: Univ. of Maryland, Computer Science Dept. Lines: 16 Or you can get real fancy: Spencer Thomas wrote a little subroutine called "unexec" which writes an executable image of the current process. We used to use this for Emacs #85, to "preload" mlisp packages. (Now we have #264 so there's no need for preloading.) Unfortunately "unexec" is not portable as it reads the u. area by using *((struct user *)(0x80000000 - ctob(UPAGES))) [or something like that]. I guess there is an advantage to the core dump method after all... Sigh... if only Unix could pass process trees around, you could send a SIGSTOP to a process and log out, then come back the next day and take it back, and give it a SIGCONT. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci UUCP: {seismo,allegra,brl-bmd}!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris.umcp-cs@CSNet-Relay