[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <241b8f7b0909100337sc47f6a6yf1488d1bd7f17a00@mail.gmail.com>
Date: Thu, 10 Sep 2009 16:07:24 +0530
From: Prabhu Chawandi <prabhu.chavandi@...il.com>
To: Sven-Haegar Koch <haegar@...net.de>
Cc: linux-kernel@...r.kernel.org
Subject: Re: disable : Ctrl -C in the Kernel
Thansk,
Do u know which is enabling it.
Coz, after adding the line told by u, I am not able to disable, means
somewhere after this place its being enabled.
On Thu, Sep 10, 2009 at 3:59 PM, Sven-Haegar Koch <haegar@...net.de> wrote:
> On Thu, 10 Sep 2009, Prabhu Chawandi wrote:
>
>> I am running Some application at the end of rcS script file.
>>
>> I need to disable Ctrl-c, i.e. application should not kill after Ctrl-c.
>>
>> and in some case I want Ctrl-C to work normally.
>>
>> I am taking care in application about catching signal using signal(),
>> even then I think there is something from kernel side.
>>
>> Can any one help ?????/
>
> We are using the following command here in an rc script early at boot to
> disable Ctrl-C:
>
> stty intr ^@ quit ^@ susp ^@
>
> c'ya
> sven
>
> --
> The lights are fading out, once more...
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists