ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> activetcl
activetcl
[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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved