in reply to Communication between two processes

try using expect from shell or expect.pm from perl.
the hardest line to type correctly is: stty erase ^H
  • Comment on Re: Communication between two processes