home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / amiga / programm / 12544 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  2.6 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!gatech!hubcap!ncrcae!ncrlnk!ncr-mpd!kentd
  2. From: kentd@FtCollins.NCR.com (Kent Dalton)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Emulating UNIX pipes on Amiga (GCC?)
  5. Message-ID: <KENTD.92Aug21092701@zappa.FtCollins.NCR.com>
  6. Date: 21 Aug 92 08:27:01 GMT
  7. References: <KENTD.92Aug19091130@zappa.FtCollins.NCR.com>
  8.     <1992Aug19.210033.15535@bernina.ethz.ch>
  9. Sender: uucp@ncr-mpd.FtCollins.NCR.COM
  10. Organization: NCR Microelectronics, Ft. Collins, CO
  11. Lines: 44
  12. In-reply-to: wild@nessie.cs.id.ethz.ch's message of 19 Aug 92 21:00:33 GMT
  13.  
  14. >>>>> On 19 Aug 92 21:00:33 GMT, wild@nessie.cs.id.ethz.ch (Markus Wild) said:
  15.  
  16. Markus> In article <KENTD.92Aug19091130@zappa.FtCollins.NCR.com> Kent.Dalton@FtCollinsCO.NCR.com writes:
  17. >
  18. >Does anybody know how Amiga GCC 2.1/ixemlib implements pipes? I am
  19.  
  20. Markus> Yes I do actually ;-)
  21.  
  22. I'm not surprised ;^)
  23.  
  24. >porting a program which extensively uses pipes and the file handles
  25. >provided by the GCC popen function are behaving like they are pointed at
  26. >/dev/null. Does it even work at all?
  27.  
  28. Markus> Try 2.2.2. Pipes have changed radically in the meantime. They're
  29. Markus> now completely internal (ringbuffers ;-)), generate nice SIGPIPE
  30. Markus> signals, so should be as close to unix as you probably can get.
  31. Markus> 2.2.2 also comes with ixpipe-handler, that is able to turn an
  32. Markus> ixemul filedescriptor into an AmigaDOS filehandle. This was
  33. Markus> missing before, you just ended up with a nil: filehandle if the
  34. Markus> popen()d program didn't know about the ixemul execve() entry
  35. Markus> vector.
  36.  
  37. I grabbed 2.2.2 and it fixed my problems. Thanks Markus. If possible,
  38. let us know what's changed in the next ixemul release readme file...
  39. My code uses setjmp/longjmp (which I changed the the "_" versions.),
  40. vfork, exec*, wait, etc, etc, some of which you've mentioned may change
  41. in the next release (after 2.1).
  42.  
  43.  
  44. And finally, a sincere word of thanks, you're doing a great job Markus!
  45. And I for one (among many others I'm sure) appreciate the magnitude of
  46. your efforts,  the GCC port and ixemul are excellent! Keep up the good
  47. work :^)
  48.  
  49.  
  50. --
  51. /**************************************************************************/
  52. /* Kent Dalton                   * EMail: Kent.Dalton@FtCollinsCO.NCR.COM */
  53. /* NCR Microelectronics          * Phone: (303) 223-5100 X-319            */  
  54. /* 2001 Danfield Ct. MS470A      *   FAX: (303) 226-9556                  */
  55. /* Fort Collins, Colorado 80525  *                                        */
  56. /**************************************************************************/
  57. I'm ANN LANDERS!!  I can SHOPLIFT!!
  58.