Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!cbmvax!ken From: ken@cbmvax.commodore.com (Ken Farinsky - CATS) Newsgroups: comp.sys.amiga.programmer Subject: Re: Dumb windows from SAS/C programs on Workbench Message-ID: <21685@cbmvax.commodore.com> Date: 17 May 91 15:30:06 GMT References: <1991May14.164909.19186@NCoast.ORG> <1991May17.022136.1539@NCoast.ORG> Reply-To: ken@cbmvax.commodore.com (Ken Farinsky - CATS) Organization: Commodore, West Chester, PA Lines: 21 In article <1991May17.022136.1539@NCoast.ORG> davewt@NCoast.ORG (David Wright) writes: > > But the big question now is how do I get to receive CTRL-[CDEF] >interupts? Many people sent me instructions on how to disable the SAS Wait() returns the signals set at a port and clears the signals. So you can say: signals = Wait(...); if (signals & SIGBREAKF_CTRL_C) { /* process signal */ } else if (signals & SIGBREAKF_CTRL_D) . . . -- -- Ken Farinsky - CATS - (215) 431-9421 - Commodore Business Machines uucp: ken@cbmvax.commodore.com or ...{uunet,rutgers}!cbmvax!ken bix: kfarinsky