comp.lang.ada
 help / color / mirror / Atom feed
From: bourguet@my-dejanews.com
Subject: Re: How to bypass CTRL-C?
Date: 1999/01/28
Date: 1999-01-28T00:00:00+00:00	[thread overview]
Message-ID: <78pei6$srd$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 36AF61EE.93C36E67@videotron.com

In article <36AF61EE.93C36E67@videotron.com>,
  psx2@videotron.ca wrote:
> The topic says it all.
> How can I block the CTRL-C keys so that the
> program can not terminate that way.
>
> Thanks.
>

Depending on your compiler and OS, CTRL-C may be interpreted as an interuption
for which you may attach an handler. (With GNAT 3.10p, you could not attach
handler to this interrupt, GNAT 3.11p has a provision for it but I've no
tried yet).

Yours,

-- Jean-Marc

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




  parent reply	other threads:[~1999-01-28  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-27  0:00 How to bypass CTRL-C? psx2
1999-01-27  0:00 ` Larry Kilgallen
1999-01-28  0:00 ` robert_dewar
1999-01-28  0:00 ` bourguet [this message]
1999-01-28  0:00 ` Geert Bosch
  -- strict thread matches above, loose matches on Subject: below --
1999-01-28  0:00 John Herro
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox