IO::Tty and IO::Pty provide an interface to pseudo-ttys.

Homepage:
http://search.cpan.org/dist/IO-Tty/
