🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #11727

Re: Overriding ^C trap

#11727
From: Fred Walter
Date: Thu, 09 Mar 1989 04:36
10 lines
665 bytes
In article <9672@bloom-beacon.MIT.EDU> rlcarr@athena.mit.edu (Rich Carreiro) writes:
>I have Lattice C 5.02.  I would like to know how to disable CTRL-C checking.

#include <signal.h>

signal(SIGINT, SIG_IGN);

Le Voila ! CTRL-C's are now treated like just another character.

	fred
Technical Details
Message-ID: <24082@watmath.waterloo.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!grwalter
References: <9672@bloom-beacon.MIT.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!grwalter
From: grwalter@watmath.waterloo.edu (Fred Walter)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Overriding ^C trap
Message-ID: <24082@watmath.waterloo.edu>
Date: 9 Mar 89 04:36:40 GMT
References: <9672@bloom-beacon.MIT.EDU>
Reply-To: grwalter@watmath.waterloo.edu (Fred Walter)
Organization: U. of Waterloo, Ontario
Lines: 10