in reply to Re: How to change Open2 input buffering
in thread How to change Open2 input buffering

Thank you tye, ptkdb, and sgifford for your excellent replies.

The pseudo-tty code sgifford posted worked wonderfully in Linux, but not when I moved to my final target, SunOS. I eventually found a small C program called ircflush, part of the ircII distribution that does the same thing and seems to work in SunOS. I also looked into using IPC::Run but it does not connect file handles to pseudo-ttys.

  • Comment on Re: Re: How to change Open2 input buffering

Replies are listed 'Best First'.
Re: Re: Re: How to change Open2 input buffering
by sgifford (Prior) on Oct 20, 2003 at 03:53 UTC
    Huh. What version of SunOS?
      I tested your code again on SunOS and it worked. Since I don't admin the machines I'm not sure if the system has been changed since I first claimed it didn't work. Perhaps I had run into a more complex problem with IO::Pty but don't feel the need to try to reproduce it any longer.