Ctrl-C does not work

Dan Malek dan at mvista.com
Fri Sep 7 03:56:09 EST 2001


Mark Hatle wrote:

> .....  There is a problem with the
> way the serial consoles are started on CDK 1.0 and 1.2, it was left up
> to the serial driver to turn on or off the control-c activation.

It actually has to do with the way tty process groups are created and
signals are managed.  If you boot _any_ Linux kernel using something
like 'init=/bin/sh', ctl-C doesn't work because the process in slot 1
(normally init) is treated with special signal handling by the kernel.

> .... login has a patch that ensures that the
> control-c stuff is enabled.

Huh?  All you need to do is properly start up an interactive
session from init to get process group signal handling.  This is
just standard Linux userland stuff documented in a variety of places.



	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list