Re: [Activetcl] X connection broken (explicit kill or servershutdown).
by Michael Barth other posts by this author
Sep 9 2008 1:04AM messages near this date
view in the new Beta List Site
[Activetcl] X connection broken (explicit kill or server shutdown).
|
[Activetcl] (Resent) Re: X connection broken (explicit kill or servershutdown).
Tillmann A. Basien | ToolBox Solution GmbH wrote:
> 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.
In Tcl nothing is hardcoded :-)
You can change the [exit] command as follows:
rename exit exit.orig
proc exit {{code 0}} {
puts "exiting ..."
exit.orig $code
}
Regards
Michael
_______________________________________________
ActiveTcl mailing list
ActiveTcl@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Tillmann A. Basien | ToolBox Solution GmbH
Michael Barth
Matthias Kraft
|