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
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

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