develooper Front page | perl.perl5.porters | Postings from July 2016

[perl #41043] perlio forget about buffering settings on EAGAIN

From:
Dan Collins via RT
Date:
July 14, 2016 19:06
Subject:
[perl #41043] perlio forget about buffering settings on EAGAIN
Message ID:
rt-4.0.18-15883-1468523199-1612.41043-14-0@perl.org
I get some very inconsistent results from this:

dcollins@nightshade64:~/toolchain$ perl5.25.0 41043.pl
-^C
dcollins@nightshade64:~/toolchain$ exit
Script done, file is /dev/null
dcollins@nightshade64:~/toolchain$ script /dev/null
Script started, file is /dev/null
dcollins@nightshade64:~/toolchain$ perl5.25.0 41043.pl
-+*^C
dcollins@nightshade64:~/toolchain$ perl5.25.0 41043.pl
-^C

Which is also what 5.8.8 does:

dcollins@nightshade64:~/toolchain$ perl5.8.8 41043.pl
-+*^C
dcollins@nightshade64:~/toolchain$ perl5.8.8 41043.pl
-^C

Even a `reset` doesn't get back to the original behavior, but Ctrl-D, script /dev/null does. What is going on here?

-- 
Respectfully,
Dan Collins



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About