Skip Menu |

This queue is for tickets about the TermReadKey CPAN distribution.

Report information
The Basics
Id: 6036
Status: resolved
Priority: 0/
Queue: TermReadKey

People
Owner: jns [...] gellyfish.co.uk
Requestors: ignasi.roca [...] fujitsu-siemens.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 2.21
Fixed in: (no value)



Subject: background install
Installing Term::ReadKey on background, test blocks when: - setting terminal attributes, SetControlChars(%origchars, IN); or at - END { ReadMode 0, IN; } # Just if something goes weird Attached there is the rudimentary patch I applied to solve it. Yours, Ignasi Roca.
> diff -bur test.pl.orig test.pl --- test.pl.orig Fri Apr 16 13:19:16 2004 +++ test.pl Fri Apr 16 13:17:56 2004 @@ -187,7 +187,7 @@ eval { - SetControlChars(%origchars, IN); + SetControlChars(%origchars, IN) if $interactive; print "ok 8\n"; }; @@ -196,7 +196,7 @@ #SetControlChars("FOOFOO"=>"Q"); #SetControlChars("INTERRUPT"=>"\x5"); -END { ReadMode 0, IN; } # Just if something goes weird +END { ReadMode 0, IN if $interactive; } # Just if something goes weird exit(0) unless $interactive;
Subject: Re: background install
Thanks for your patch - I have a couple of others pending for a soonish release.