I
Ilya Zakharevich
I'm trying to design a workaround for Perl PerlIO bugs...
Could people with working Term::ReadKey determine what happens on
pressing Enter key (possbly many times, if needed)? E.g., please run
both
perl -MTerm::ReadKey -wle "open $in, '+< CONIN$' or die; binmode $in or die; ReadMode 4, $in; $|=1; print ord while defined($_=getc)"
perl -MTerm::ReadKey -wle "open $in, '+< CONIN$' or die;
ReadMode 4, $in; $|=1; print ord while defined($_=getc)"
(one with binmode, another without). If possible, use pre-5.6 Perl
and one of the current Perls, 5.8.7 and 5.8.8. Especially interesting
is to know how many Enter keypresses are needed to get "some action",
and how many lines are printed when "an action" happens.
A lot of thanks,
Ilya
Could people with working Term::ReadKey determine what happens on
pressing Enter key (possbly many times, if needed)? E.g., please run
both
perl -MTerm::ReadKey -wle "open $in, '+< CONIN$' or die; binmode $in or die; ReadMode 4, $in; $|=1; print ord while defined($_=getc)"
perl -MTerm::ReadKey -wle "open $in, '+< CONIN$' or die;
ReadMode 4, $in; $|=1; print ord while defined($_=getc)"
(one with binmode, another without). If possible, use pre-5.6 Perl
and one of the current Perls, 5.8.7 and 5.8.8. Especially interesting
is to know how many Enter keypresses are needed to get "some action",
and how many lines are printed when "an action" happens.
A lot of thanks,
Ilya