termios_new#
Create a fresh POSIX::Termios object, all fields zeroed.
Synopsis#
use POSIX;
my $t = POSIX::Termios->new;
$t->getattr(fileno(STDIN));
What you get back#
A blessed POSIX::Termios reference. To fill it with the
current terminal settings, follow up with $t->getattr($fd).
Differences from upstream#
Fully compatible with upstream POSIX.
See also#
getattr,setattr— populate and apply terminal settings.