home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18406 < prev    next >
Encoding:
Internet Message Format  |  1993-01-09  |  1.4 KB

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