Skip Menu |

This queue is for tickets about the Term-Clui CPAN distribution.

Report information
The Basics
Id: 56766
Status: resolved
Worked: 15 min
Priority: 0/
Queue: Term-Clui

People
Owner: Nobody in particular
Requestors: JOGLA [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.44
Fixed in: 1.56



Subject: Script can not be aborted with Ctrl+c while confirm is asking the question.
When confirm is asking for confirmation, one cannot terminate the script using Ctrl+c. If you use "confirm" in a loop to ask for a couple of things, you will not be able to end the script. I had to kill perl.
On Tue Apr 20 19:26:54 2010, JOGLA wrote: Show quoted text
> When confirm is asking for confirmation, one cannot terminate the > script using Ctrl+c. > If you use "confirm" in a loop to ask for a couple of things, > you will not be able to end the script. I had to kill perl.
Greetings. This is fixed in 1.56. I've been meaning to fix it for a while; originally it was a "feature", since Term-Clui descends from something that was aimed at offering an application via telnet or ssh to users who were not to be allowed to break out of it. In practice, it's never used that way, and especially since I translated the thing into python I've been wanting to make the two versions consistent. Thanks for raising the bug. There was the same issue also in choose() and ask(). Regards, Peter