Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!akgua!gatech!ut-sally!seismo!columbia!garfield!ji From: ji@garfield.UUCP Newsgroups: net.unix-wizards,net.wanted Subject: Re: Pipes like tty's ? Message-ID: <1403@garfield.columbia.edu> Date: Tue, 25-Feb-86 18:11:43 EST Article-I.D.: garfield.1403 Posted: Tue Feb 25 18:11:43 1986 Date-Received: Fri, 28-Feb-86 08:24:12 EST References: <471@rna.UUCP> <641@puff.UUCP> Organization: Columbia University CS Department Lines: 27 Xref: watmath net.unix-wizards:16951 net.wanted:8272 Summary: pty's vs pipes In article <641@puff.UUCP>, tom@puff.wisc.edu (Thomas Scott Christiansen) writes: > Does anyone have a nice package that allows you to say something > like > process("silly_game arg1 arg2",&input_fd,&output_fd,&error_fd) > and start the process running not on a pipe (I have one of these) but > rather on a pty so that the proc can 1) do ioctls 2) have line buffered > output ? > I have hacked popen(3) and used parts of script(1) to do a read-write version of popen (which I call prwopen!), which also uses pty's instead of pipes. (popen(3) can be used for either reading or writing to the child, but not for both). If you people out there think there is no problem with posting modified unix (tm) sources on the net, I'll gladly post it. #include VOICE: +1 212 280 5510 ARPA: ioannidis@cs.columbia.EDU USnail: John Ioannidis ji@garfield.columbia.EDU 450 Computer Science Columbia University, USENET: ...{seismo|topaz}! New York, NY 10027 columbia!garfield!ji ... It's all Greek to me!