Re: Bash not reacting to Ctrl-C

From: Ingo Molnar
Date: Sat Jan 29 2011 - 05:37:36 EST



* julie Sullivan <kernelmail.jms@xxxxxxxxx> wrote:

> (apologies for not replying to original thread, I wasn't subscribed)
>
> >Might be some Bash assumption or race that works under other OSs but somehow Linux
> >does differently. IIRC Bash is being developed on MacOS-X.
>
> Yep, and I can confirm that this behaviour is the same on MacOS-X too
> (I tested Ingo's
> bash scripts in my break on a machine at work today).
> Ctrl-C is lost about once in every 10 times.

Ok, so it's likely a Bash bug.

[ It's annoying nevertheless :) ]

> >See that '^C^C' line? That is where i had to do Ctrl-C twice.
>
> I beat Ingo - I got three '^C's in a row on the Mac a couple of times :-)

:-)

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/