why is tty->pgrp set to -1 for console?
mod+linuxppc-dev at MissionCriticalLinux.com
mod+linuxppc-dev at MissionCriticalLinux.com
Fri Feb 1 07:49:41 EST 2002
>> We had a problem that ctrl-c was not working on the console.
>
>You need to be running something like mingetty on the console to
>have signals (like ctrl-c) picked up. If you start Linux with
>something like "init=/bin/bash" then job control signals (like
>control C and control Z) won't work.
That doesn't sound correct. When the system is in
single-user mode the console shell is a direct child
of init and is spawned without any kind of getty, yet
(at least in my case) the behavior of the shell is
indistinguishable from one spawned from mutiuser mode -
all signals (and job control, etc) are handled correctly.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list