Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!mcnc!uvaarpa!mmdf From: mer6g@virginia.edu (Marc Rouleau) Newsgroups: comp.lang.perl Subject: Open Pipe to Interactive-only Process? Message-ID: <1990Oct30.212537.1904@uvaarpa.Virginia.EDU> Date: 30 Oct 90 21:25:37 GMT Sender: mmdf@uvaarpa.Virginia.EDU (Uvaarpa Mail System) Reply-To: mer6g@virginia.edu Organization: The Internet Lines: 14 Has anyone written a routine to open a pipe to a process which requires that its input come from a tty? I think the fakeout involves pseudo-terminals, but I don't know much about them and would just as soon use someone else's code if it exists. To be slightly more specific, I'm trying to run tip from perl on a Sun4. Being able to do something like ptyopen(TIP,"|/usr/bin/tip portb"); would be wonderful, but even if you have it in less elegant form I would love to see your code. -- Marc Rouleau