>>>>> "RN" == Ranga Nathan <[EMAIL PROTECTED]> writes:

  RN> SIGINT is what I needed to trap for this purpose. SIGKILL may be
  RN> an overkill !

SIGKILL isn't overkill, but just wrong. as several of us have mentioned,
you can't ever catch KILL as it is defined to be uncatchable. so setting
a handler for it is useless code. and the signal given by ^C is usually
INT but you can change that with stty to some other char and ^C could
deliver another signal. read up on stty, signal, sigaction and related
docs.

uri

-- 
Uri Guttman  ------  [EMAIL PROTECTED]  -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org
 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to