home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / shell / 3154 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  1.1 KB

  1. Xref: sparky comp.unix.shell:3154 comp.unix.aix:8223
  2. Path: sparky!uunet!olivea!bu.edu!bumetb.bu.edu!tesco
  3. From: tesco@bumetb.bu.edu (Dances With Babes)
  4. Newsgroups: comp.unix.shell,comp.unix.aix
  5. Subject: Named pipes
  6. Message-ID: <92033@bu.edu>
  7. Date: 27 Jul 92 20:05:23 GMT
  8. References: <19076@fritz.filenet.com> <14u80cINNbd8@grasp1.univ-lyon1.fr> <1992Jul26.165838.1278@news.eng.convex.com>
  9. Sender: news@bu.edu
  10. Reply-To: tesco@bumetb.bu.edu (Dances With Babes)
  11. Followup-To: comp.unix.programmer
  12. Organization: Boston University
  13. Lines: 18
  14.  
  15.  
  16. I have recently discovered named pipes but can't seem to get them to do
  17. what I want.  Is it possible to use a background process to read from a
  18. named pipe while many other processes write to that named pipe.
  19. When i try to test this capability in the unix k shell the background
  20. process ends.
  21.  
  22. ex. 
  23. mknod testpipe p
  24. cat testpipe &
  25. ls > testpipe
  26. The "cat" process ends after the ls is sent to the screen.
  27.  
  28. I've been told by IBM tech support that this is the way it supposed to work.
  29. This is on an RS6000 running AIX ver 3.2.2. 
  30.  
  31. thanx
  32. -tesco
  33.