home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / amiga / programm / 12473 < prev    next >
Encoding:
Text File  |  1992-08-19  |  1.6 KB  |  42 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!mcsun!Germany.EU.net!news.netmbx.de!zrz.tu-berlin.de!math.fu-berlin.de!Sirius.dfn.de!chx400!bernina!wild
  3. From: wild@nessie.cs.id.ethz.ch (Markus Wild)
  4. Subject: Re: Emulating UNIX pipes on Amiga (GCC?)
  5. Message-ID: <1992Aug19.210033.15535@bernina.ethz.ch>
  6. Sender: news@bernina.ethz.ch (USENET News System)
  7. Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
  8. References: <KENTD.92Aug19091130@zappa.FtCollins.NCR.com>
  9. Date: Wed, 19 Aug 1992 21:00:33 GMT
  10. Lines: 30
  11.  
  12. In article <KENTD.92Aug19091130@zappa.FtCollins.NCR.com> Kent.Dalton@FtCollinsCO.NCR.com writes:
  13. >
  14. >Does anybody know how Amiga GCC 2.1/ixemlib implements pipes? I am
  15.  
  16. Yes I do actually ;-)
  17.  
  18. >porting a program which extensively uses pipes and the file handles
  19. >provided by the GCC popen function are behaving like they are pointed at
  20. >/dev/null. Does it even work at all?
  21.  
  22. Try 2.2.2. Pipes have changed radically in the meantime. They're now
  23. completely internal (ringbuffers ;-)), generate nice SIGPIPE signals, so
  24. should be as close to unix as you probably can get. 2.2.2 also comes
  25. with ixpipe-handler, that is able to turn an ixemul filedescriptor into
  26. an AmigaDOS filehandle. This was missing before, you just ended up with
  27. a nil: filehandle if the popen()d program didn't know about the ixemul
  28. execve() entry vector.
  29.  
  30. >Looking at the source it looks like the straight Berkeley code. 
  31.  
  32. It is;-)
  33.  
  34. -Markus
  35.  
  36.  
  37.  
  38. -- 
  39. Markus M. Wild    -  wild@nessie.cs.id.ethz.ch  |  wild@amiga.physik.unizh.ch 
  40. Vital papers will demonstrate their vitality by spontaneously moving
  41. from where you left them to where you can't find them.
  42.