home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!uvaarpa!adastra!mbs
- From: mbs@adastra.cvl.va.us (Michael B. Smith)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: GCC signal handling bug
- Distribution: world
- Message-ID: <mbs.1jk6@adastra.cvl.va.us>
- References: <SIE.93Jan8094837@introitus.fulcrum.co.uk>
- X-NewsSoftware: GRn-beta 1.16g (04.01.93) by Michael B. Smith & Mike Schwartz
- MIME-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- Date: 8 Jan 93 20:54:27 EST
- Organization: Well, I haven't decided on a name yet...
- Lines: 22
-
- In article <SIE.93Jan8094837@introitus.fulcrum.co.uk> sie@fulcrum.co.uk (Simon Raybould) writes:
- > On the amiga, I have to press return after the ^C for it to see it
- > which I don't have to do on the SUN. Also the ^C is only seen if it is
- > on the first line typed, i.e. before the first newline.
- >
- > The ^C is only seen it I comment out the puts() line, with this line,
- > the signals are ignored.
- >
- > Any advice much appreciated, this is stopping me finishing a rather
- > important project.
-
- I don't have any good news for you. That is the way Markus built stdio.
- There are a variety of reasons, and my memory on them is foggy, but they
- made sense at the time.
-
- Someone runs into this every couple of months.
-
- I suggest that you don't use stdio and use read()/write() with FNONBIO.
- That is, roll your own.
- --
- // Michael B. Smith
- \X/ mbs@adastra.cvl.va.us -or- uunet.uu.net!virginia.edu!adastra!mbs
-