CountOrlok has asked for the wisdom of the Perl Monks concerning the following question:
stty intr 0x7f
stty intr 0x03
Or setting input settings like:
stty raw
stty -crlf
I have seen a package on CPAN named IO::Stty, but my boss would prefer not to install any extra packages on the system. I couldn't see how the POSIX module could do this. I know in newer versions of Perl, I can use the open pragma, e.g.
use open IN => ":crlf", OUT => ":bytes";
but I am using an older version of Perl that does not have this pragma.
Any ideas?
Thanks,
Imran
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: stty functionality in Perl
by ambrus (Abbot) on Apr 08, 2005 at 19:40 UTC | |
by CountOrlok (Friar) on Apr 08, 2005 at 20:00 UTC | |
by ambrus (Abbot) on Apr 08, 2005 at 20:11 UTC | |
by derby (Abbot) on Apr 08, 2005 at 20:12 UTC | |
by CountOrlok (Friar) on Apr 08, 2005 at 20:29 UTC | |
by rev_1318 (Chaplain) on Apr 09, 2005 at 10:19 UTC |