1753970 Members
7554 Online
108811 Solutions
New Discussion

Perl IO::Pty module

 
Dan Sullivan
New Member

Perl IO::Pty module

I am trying to use the Expect.pm module for Perl on HP-UX 10.20 and 11.00 machines. Unfortunately, the IO::Pty module, which Expect uses, does not appear to function properly on HP-UX. Has anyone else gotten this to run?

I have found several postings to the comp.lang.perl.modules group and other places, but no one seems able to answer the question. This is one of the clearest postings:


> I am trying to use the Expect Perl module on > HP-UX 10.20 with no luck. I've seen mention > of problems with Tty.pm and HP-UX, but not
> related to this problem. There is a perl
> script called 'try' as documented with the
> IO::Tty package - it is supposed to return
> several lines of output when run with no
> args, but all I get is:
>
> Using /users/global/cokm/exp/IO-Tty-
> 0.04/blib/io_pty_ttyname/dev/pts/10
> master IO::Pty=GLOB(0x401378b8)
> *Symbol::GEN0 /dev/pts/10
>
> and it hangs at that point. It seems to be
> trying to open a slave Pty, but I'm just
> guessing based on what output is expected
> following what I get.

Thanks!