On 02/08, Chet Ramey wrote:
>
> On 2/8/11 1:21 PM, Oleg Nesterov wrote:
> > Hello,
> >
> > We believe that the non-interactive bash doesn't handle CTRL-C
> > correctly, please look into the attached thread from lkml for
> > more details.
>
> Read http://www.cons.org/cracauer/sigint.html

oooh... it is huge! will try tomorrow.

> and see if you still
> feel the same way.

Which way? ;)

Please note that I wasn't sure when I sent this bug-report. Although
as a bash user I certainly dislike the fact you can never interrupt
the shell script reliably. Lets return to the first example,

        $ sh -c 'while true; do /bin/true; done'

Do you think it is OK to miss ^C in this case?

Once again, I won't persist if you think this is fine, and I'll try
to read the docs above tomorrow. But I'll appreciate very much if
you can explain why exactly this is fine. So far I am looking at

        WUE shell would not have this problem, since they discontinue
        the script on their own. But as I said, they don't support
        programs using SIGINT for non-exiting purposes

part of the documentation, but can't understand.

Oleg.


Reply via email to