|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re: Ascii value is differentby almut (Canon) |
| on Apr 19, 2010 at 12:56 UTC ( #835479=note: print w/ replies, xml ) | Need Help?? |
|
Term::Screen calls stty raw -echo under the hood, which unsets the tty feature "translate carriage return to newline" (icrnl) — i.e. "raw" means (among other things) -icrnl. Not sure if there are better ways... but a quick hack might be to patch Term::Screen to issue stty raw -echo icrnl instead, or maybe call stty icrnl yourself from your script after having used Term::Screen (haven't tested it for side effects, though). Your script with Term::Screen commented (just for demo):
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||