Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!decvax!tektronix!uw-beaver!cornell!batcomputer!johnth From: johnth@batcomputer.UUCP Newsgroups: net.unix Subject: pipes and buffers HELP Message-ID: <1185@batcomputer.TN.CORNELL.EDU> Date: Wed, 8-Oct-86 11:54:33 EDT Article-I.D.: batcompu.1185 Posted: Wed Oct 8 11:54:33 1986 Date-Received: Thu, 9-Oct-86 04:11:20 EDT Reply-To: johnth@batcomputer.UUCP (john thurtell) Distribution: na Organization: Theory Center, Cornell University, Ithaca NY Lines: 25 I am new to UNIX so this may be a dumb queation but I'll ask anyway. I am trying to write a program to control the input to and output from the telnet utility. A pipe will do half of what I need but I need help on how to go the whole way. Here is what I have working: keyboard -> telnet -> | -> prog -> screen What I need is: keyboard -> \ - prog <-> telnet / screen <- I have heard of two way pipes and buffers etc but I have no idea how to make it all go. I would appreciate any suggestions and/or good references. Thanks John Thurtell UUCP: johnth@batcomputer.UUCP ARPA: Thurtell@cheme.tn.cornell.edu BITNET: p8tj@cornelld.bitnet