The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

IO::Tty - Low-level allocate a pseudo-Tty

VERSION

0.05

SYNOPSIS

use IO::Tty;
...
# don't use, see IO::Pty for a better way to create ptys.

DESCRIPTION

IO::Tty is used internally by IO::Pty to create a pseudo-tty. You wouldn't want to use it directly, use IO::Pty.

Windows is now supported (under the Cygwin environment, see http://source.redhat.com/cygwin).

Please note that pty creation is very system-dependend. From my experience, any modern POSIX system should be fine. Find below a list of systems that IO::Tty should work on.

If you have problems on your system and your system is listed in the "verified" list, you probably have some non-standard setup, e.g. you compiled your Linux-kernel yourself and disabled ptys (bummer!). Please ask your friendly sysadmin for help.

If your system is not listed, unpack the latest version of IO::Tty, do a 'perl Makefile.PL; make; make test; uname -a' and send me (RGiersig@cpan.org) the results and I'll see what I can deduce from that.

If it's working on your system, please send me a short note with details (version number, distribution, etc. 'uname -a' is a good start) so I can get an overview. Thanks!

VERIFIED SYSTEMS

This is a list of systems that IO::Tty seems to work on ('make test' passes):

  • Linux 2.2.x & 2.4.0 (Redhat 6.2 & 7.0, Suse 7.1 & 7.2)

  • AIX 4.3

  • FreeBSD 4.3

  • OpenBSD 2.8 sparc

  • SCO Unix v??

  • OSF 4.0

  • Solaris 2.6 & 8

  • Windows NT/2k (under Cygwin)

If you have additions to this list, please mail them to <RGiersig@cpan.org>.

SEE ALSO

IO::Pty

MAILING LISTS

As this module is mainly used by Expect, support for it is available via the two Expect mailing lists, expectperl-announce and expectperl-discuss, at

http://lists.sourceforge.net/lists/listinfo/expectperl-announce

and

http://lists.sourceforge.net/lists/listinfo/expectperl-discuss

AUTHORS

Graham Barr <gbarr@pobox.com> (retired)

Now maintained by Roland Giersig <RGiersig@cpan.org>

COPYRIGHT

The C code used in the XS file is covered by the GNU GENERAL PUBLIC LICENSE, See COPYING.

All other code is free software; you can redistribute it and/or modify it under the same terms as Perl itself.