Xref: utzoo comp.windows.open-look:523 alt.sys.sun:2602 Path: utzoo!utgpu!cs.utexas.edu!uunet!fernwood!portal!gdc!nms!bergquis From: bergquis@nms.gdc.portal.com (Brett Bergquist) Newsgroups: comp.windows.open-look,alt.sys.sun Subject: How do I catch the exit of olwm in Xview applications? Keywords: olwm exit xview Message-ID: <169@sun35.nms.gdc.portal.com> Date: 2 Feb 91 16:28:03 GMT Organization: General DataComm, Middlebury CT Lines: 19 My problem is this: I have Xview applications that need to know that they are being terminated so that they can cleanup things (rpc connections, etc.). I know how to monitor and interpose on the frame's destruction, and I know about notify_set_destroy_func() to catch SIGTERM, but how do I catch whatever is happening when "EXIT" is chosen from the OpenWindows menu. Some of my applications may need a lot of time to cleanup relatively speaking (20 seconds maybe). Is there away to do this? Thanks in advance for any advice. -- Brett M. Bergquist, Principal Engineer | "Remind me" ... "to write an General DataComm, Inc., | "article on the compulsive reading Middlebury, CT 06762 | of news." - Stranger in a Strange Land Email: bergquis@nms.gdc.portal.com or ...!portal!gdc!nms!bergquis