delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/27/08:32:27

Date: Sun, 27 Oct 1996 15:15:55 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jeremy Bourque <jbourque AT cs DOT mun DOT ca>
Cc: djgpp AT delorie DOT com
Subject: Re: Turning off stack traces
In-Reply-To: <Pine.OSF.3.91.961027012136.31793A-100000@garfield.cs.mun.ca>
Message-Id: <Pine.SUN.3.91.961027151523.14799c-100000@is>
Mime-Version: 1.0

On Sun, 27 Oct 1996, Jeremy Bourque wrote:

> All I want to know (having spent hours searching the website) is, how do 
> I trun off the error displays when I quit a program using Ctrl-C or 
> Ctrl-break.  I want my program just to end, not to produce an error 
> message or a stack trace.  Can that be done?

Define your own handler for the SIGINT signal and make it just call 
`exit'.

- Raw text -


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