pkgsrc/devel/p5-IO-Stty/DESCR
2004-01-11 12:42:40 +00:00

10 lines
478 B
Text

The two perl items in this package are an stty shell script and a
module for setting terminal parameters. to use the Stty.pm module stuff it in
your $PERL_LIB_DIR/site_perl/IO directory. In your scripts do:
use IO::Stty;
IO::Stty::stty(\*TTYHANDLE, @modes);
This has not been tailored to the IO::File stuff but will work with it as
indicated. Before you go futzing with term parameters it's a good idea to grab
the current settings and restore them when you finish.