AnyEvent::Subprocess::Job::Delegate::Pty - give the child a pseudo-terminal
You can have more than one of these, but the last one will become the
controlling tty.
A list of filehandles that will be connected to this Pty in the child. Defaults
to stdout and stderr.
Returns the IO::Pty object. You can use this object to set the child's window
size, etc.
The handle that you can read/write to communicate with the child. Note that
writing can be confusing; because the Pty emulates a terminal, and terminals
echo input, you will get back things that you write. You can disable this
behavior by changing the terminal parameters in the child process.
(If you don't know what "raw mode" and "cooked
mode" are, you should read up on UNIX terminals. You might really want
a pipe, not a pseudo terminal.)
Jonathan Rockway <jrockway@cpan.org>
This software is copyright (c) 2011 by Jonathan Rockway.
This is free software; you can redistribute it and/or modify it
under the same terms as the Perl 5 programming language system itself.