Dissimilar Program Interaction?

adm at cbneb.UUCP adm at cbneb.UUCP
Fri Oct 10 00:03:22 AEST 1986


/***** cbneb:net.unix / msunix!jon / 10:52 pm  Oct  6, 1986 */
> Wait a minute.  Does this mean I've been doing pipes wrong all my life?
> I thought if you wanted to have bidirectional communication with a pipe,
> you needed two pipe system calls.  

	You are right. I never meant to imply that the code I posted was 
meant for bi-directional communication. Even tho it may have sounded so. I've
typically used pipes for things like constantly updating the screen with
the output of 'ps' or any other command, where the child does the 'ps'
and the parent does the curses part. So all you need is one-way traffic.

	SO your last few years of life have not been pipe dreams ! Live on.

--------------------------------------------------------------------------------
S. Srinivasan 					UUCP: {cbosgd,ihnp4}!cbneb!srini
	     [AT&T Bell Labs,MiddleOfTheRoadOhio]
--------------------------------------------------------------------------------



More information about the Comp.unix mailing list