Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: gjw@spurr.wr.usgs.GOV (Gregory J. Woodhouse) Newsgroups: comp.windows.x Subject: WM_SAVE_YOURSELF (again) Message-ID: <9101312333.AA06556@spurr.wr.usgs.gov> Date: 31 Jan 91 23:33:10 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 20 Assume an application supports both the WM_DELETE and WM_SAVE_YOURSELF proto- cols. Under what normal circumstgances will olwm send a save yourself request to the application? What about mwm? (I expect my current project to be used in both environments.) No doubt this was covered some how in the recent discussion of this protocol, but (excuse alert!) I haven't really been able to read my mail carefully enough to tell these past few days. Now for the really interesting question: Process A knows process B's pid, and process B supports the save yourself protocol. Can process A kill process B and invoke this protocol? Can process B arrange for this to happen? Ultimately, I want process A to be able to kill process B and then restart it at a later time, but in the state in which it exited. What I can do is have it write a command on the root window (to what I call _XP_COMMAND), but I'd think this all ought to involve the save yourself protocol somehow. Thanks! Gregory Woodhouse gjw@ags.wr..usgs.gov