[ROOT] ctrl-C handler

From: Ken Teh (teh@phy.anl.gov)
Date: Tue Nov 20 2001 - 16:43:13 MET


Is it possible to install a handler in a root "script" to trap keyboard 
breaks?  I have a script that contacts a server via a TSocket and on each 
keyboard break, the server goes defunct.  If the TSocket is closed 
properly, this does not happen.

Thanks! Ken


/+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\
| Kenneth Teh                                Email: teh@phy.anl.gov |
| Argonne National Laboratory                  Tel: 630-252-3073    |
| 9700 S. Cass Ave.                            Fax: 630-252-2864    |
| Argonne, IL 60439                                                 |
\+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++/



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:09 MET