[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] Bash not reacting to Ctrl-C

From: Chet Ramey
Subject: Re: [BUG] Bash not reacting to Ctrl-C
Date: Mon, 28 Feb 2011 21:02:53 -0500
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv: Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7

On 2/9/11 9:50 AM, Ingo Molnar wrote:
> * Oleg Nesterov <address@hidden> wrote:
>> That is why I provided another test-case, let me repeat it:
>>      #!./bash
>>      perl -we '$SIG{INT} = sub {exit}; sleep'
>>      echo "Hehe, I am going to sleep after ^C"
>>      sleep 100
> This reliably reproduces the (formerly sporadic) script Ctrl-C bug here,
> 100% of the time:
>  aldebaran:~> ./test-signal-perl.sh 
>  ^CHehe, I am going to sleep after ^C
>  [ it waits 100 seconds ]

It's not at all the same thing, as I think later discussion made clear.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]