linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Dan Malek <dan@mvista.com>
To: Mark Hatle <fray@mvista.com>
Cc: Navin Boppuri <navin.boppuri@newisys.com>,
	"Linuxppc-Embedded (E-mail)"
	<linuxppc-embedded@lists.linuxppc.org>
Subject: Re: Ctrl-C does not work
Date: Thu, 06 Sep 2001 13:56:09 -0400	[thread overview]
Message-ID: <3B97B8B9.115B1569@mvista.com> (raw)
In-Reply-To: 3B97984C.CCE09FE7@mvista.com


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/

  reply	other threads:[~2001-09-06 17:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-05 20:57 Ctrl-C does not work Navin Boppuri
2001-09-05 21:53 ` Cal Erickson
2001-09-06 15:37 ` Mark Hatle
2001-09-06 17:56   ` Dan Malek [this message]
2001-09-06 18:11     ` Mark Hatle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B97B8B9.115B1569@mvista.com \
    --to=dan@mvista.com \
    --cc=fray@mvista.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=navin.boppuri@newisys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).