Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!pepper!cmcmanis From: cmcmanis%pepper@Sun.COM (Chuck McManis) Newsgroups: comp.sys.amiga Subject: Re: SIGINT, Level2 I/O, Lattice4.0 Message-ID: <47598@sun.uucp> Date: 30 Mar 88 19:53:25 GMT References: <164000012@uiucdcsb> Sender: news@sun.uucp Reply-To: cmcmanis@sun.UUCP (Chuck McManis) Organization: Sun Microsystems, Mountain View Lines: 18 In article <164000012@uiucdcsb> roch@uiucdcsb.cs.uiuc.edu writes: >/* Crossposted from .tech after a week w/o response */ So do you win a prize for stumping the Gurus? :-) >Does anyone know if there is a way to receive >a SIGINT interrupt during a level 2 read >operation (say scanf) without waiting for the >user to hit Return? I'm using Lattice 4.0. The answer is, by default, no. Hopefully John Toebes can answer this one. An alternative is to do the scanf 'manually' with a few calls to a non blocking getc() routine and call ChkAbort() each time. Ugly but it will work. --Chuck McManis uucp: {anywhere}!sun!cmcmanis BIX: cmcmanis ARPAnet: cmcmanis@sun.com These opinions are my own and no one elses, but you knew that didn't you.