SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

BotDetect - Real-Time Bot Detection API
 
 

MAN page from RedHat Other IO-Tty-0.02-2.i386.rpm

Pty

Section: User Contributed Perl Documentation (3)
Updated: perl 5.004, patch 04
Index 

NAME

IO::Pty - Pseudo TTY object class 

SYNOPSIS

    use IO::Pty;
    $pty = new IO::Pty;
    $slave  = $pty->slave;
    foreach $val (1..10) {        print $pty "$val\n";        $_ = <$slave>;        print "$_";     }            
    close($slave);
 

DESCRIPTION

IO::Pty provides an interface to allow the creation of a pseudo tty.

IO::Pty inherits from IO::Handle and so provide all the methodsdefined by the IO::Handle package. 

CONSTRUCTOR


new
The new contructor take no arguments and returns a new object whichthe master side of the pseudo tty.
 

METHODS


slave
The slave method will return a new IO::Pty object whichrepresents the slave side of the pseudo tty
ttyname
Returns the name of the pseudo tty. On UNIX machines this will bethe pathname of the device.
 

SEE ALSO

the IO::Handle manpage 

AUTHOR

Graham Barr <gbarrAATTti.com>

Based on original Ptty module by Nick Ing-Simmons<nikAATTtiuk.ti.com> 

COPYRIGHT

Most of the C code used in the XS file is covered by the GNU GENERALPUBLIC LICENSE, See COPYING

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
CONSTRUCTOR
METHODS
SEE ALSO
AUTHOR
COPYRIGHT

This document was created byman2html,using the manual pages.
 
ICM Bot detect detector