* disable : Ctrl -C in the Kernel
@ 2009-09-10 10:10 Prabhu Chawandi
2009-09-10 10:29 ` Sven-Haegar Koch
0 siblings, 1 reply; 4+ messages in thread
From: Prabhu Chawandi @ 2009-09-10 10:10 UTC (permalink / raw)
To: linux-kernel
Hi,
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 ?????/
Thanks in advance
Prabhu
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: disable : Ctrl -C in the Kernel
2009-09-10 10:10 disable : Ctrl -C in the Kernel Prabhu Chawandi
@ 2009-09-10 10:29 ` Sven-Haegar Koch
2009-09-10 10:37 ` Prabhu Chawandi
0 siblings, 1 reply; 4+ messages in thread
From: Sven-Haegar Koch @ 2009-09-10 10:29 UTC (permalink / raw)
To: Prabhu Chawandi; +Cc: linux-kernel
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...
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: disable : Ctrl -C in the Kernel
2009-09-10 10:29 ` Sven-Haegar Koch
@ 2009-09-10 10:37 ` Prabhu Chawandi
2009-09-10 11:03 ` Matt
0 siblings, 1 reply; 4+ messages in thread
From: Prabhu Chawandi @ 2009-09-10 10:37 UTC (permalink / raw)
To: Sven-Haegar Koch; +Cc: linux-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@sdinet.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...
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: disable : Ctrl -C in the Kernel
2009-09-10 10:37 ` Prabhu Chawandi
@ 2009-09-10 11:03 ` Matt
0 siblings, 0 replies; 4+ messages in thread
From: Matt @ 2009-09-10 11:03 UTC (permalink / raw)
To: Prabhu Chawandi; +Cc: Sven-Haegar Koch, linux-kernel
On Thu, 2009-09-10 at 16:07 +0530, Prabhu Chawandi wrote:
> 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.
>
>
Firstly, this really isn't a kernel problem; this is the wrong list for
this kind of question.
Secondly, there are typically hundreds of processes started at boot
time, you'll need to check them to find out which is changing the
terminal settings. I would suggest hooking up strace to init somehow and
tracing all the ioctl()s to /dev/tty or /dev/console.
Matt
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-09-10 11:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-10 10:10 disable : Ctrl -C in the Kernel Prabhu Chawandi
2009-09-10 10:29 ` Sven-Haegar Koch
2009-09-10 10:37 ` Prabhu Chawandi
2009-09-10 11:03 ` Matt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®