[Activetcl] (Resent) Re: X connection broken (explicit kill or servershutdown).
by Matthias Kraft other posts by this author
Sep 9 2008 12:03AM messages near this date
view in the new Beta List Site
Re: [Activetcl] X connection broken (explicit kill or servershutdown).
|
[Activetcl] Tcl URL
Tillmann A. Basien | ToolBox Solution GmbH schrieb:
> If the display closes (xserver shutdown) it would be help ful to catch
> this event, do do also some closings.
> What I see so far from the source code, this is exit is hard coded.
This is no event, this is a hard exit() call within Xlib, unfortunately.
You can't do anything except running an exit-handler to do some final
cleanup.
You are doing this from C-level with atexit(), or from Tcl-level using
an apropriate extension, e.g. Expect can do this with [exit -onexit ...].
kind regards
--
Matthias Kraft
Software AG, Germany
_______________________________________________
ActiveTcl mailing list
ActiveTcl@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Tillmann A. Basien | ToolBox Solution GmbH
Michael Barth
Matthias Kraft
|