portable coproccesses, openpty, forkpty?

2003-05-30 Thread Gabriel Ambuehl
Hi, ok maybe I'm offtopic here, if so please excuse me ;-). I need to implement a coprocess feature (a.stdin gets fed to b.stdin and b.stdout becomes a.stdin, so basically replacing stdin with a processed version thereof). Now the most obvious approach would be to use pipes to redirect

Re: portable coproccesses, openpty, forkpty?

2003-05-30 Thread Joshua Oreman
On Thu, May 29, 2003 at 07:01:21PM +0200 or thereabouts, Gabriel Ambuehl seemed to write: Hi, ok maybe I'm offtopic here, if so please excuse me ;-). I need to implement a coprocess feature (a.stdin gets fed to b.stdin and b.stdout becomes a.stdin, so basically replacing stdin with a