[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Sep 27 18:39:42 1994 
Subject:Re: pipes 
From:"A.Sloman" 
Volume-ID:940928.02 


> Does anyone out there have a piece of code that combines pipein
> and pipeout ??
>
> I would like to do something like
>
>         my_pipe('./prog',['./prog'],true) -> send -> receive;
>
>         send('command1');
> 	receive() -> answer1;
>
> 	send('command2');
> 	receive() -> answer2;
>
> 	;;; etc...
>
Look at John Williams' LIB RUN_UNIX_PROGRAM

NB: You need to read the code as well as the help file to
find all the options!

I have managed to use a version of this running telnet to a news server
to implement an NNTP based news server in VED.

Aaron