2004-01-11 13:42:40 +01:00
|
|
|
The two perl items in this package are an stty shell script and a
|
2000-07-16 02:39:58 +02:00
|
|
|
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);
|
|
|
|
|
2004-01-11 13:42:40 +01:00
|
|
|
This has not been tailored to the IO::File stuff but will work with it as
|
2000-07-16 02:39:58 +02:00
|
|
|
indicated. Before you go futzing with term parameters it's a good idea to grab
|
|
|
|
the current settings and restore them when you finish.
|