delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/27/13:34:36

From: asimma AT geocities DOT com (Alex Simma)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Making programs un-Ctrl-C-able
Date: Thu, 24 Jul 1997 23:35:12 GMT
Organization: Flashnet Communications, http://www.flash.net
Lines: 12
Message-ID: <33d8e66b.3468239@news.flash.net>
References: <95U9qDAz2z1zEwot AT netbook DOT demon DOT co DOT uk>
NNTP-Posting-Host: lash7-84.flash.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Thu, 24 Jul 1997 12:34:11 +0100, James MacDonald
<trill AT netbook DOT demon DOT co DOT uk> wrote:

>
>I don't want people to Ctrl-C my programs, and I can capture Ctrl-Break
>with a go32 routine, but what about Ctrl-C?

Set up a signal handler for ctrl-c  Run a normal program, press ctrl-c
and look at what error you get.  Than use a signal handler to capture
that .

                   Alex

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019