Messages in this thread | | | From | Bernd Eckenfels <> | Subject | Re: Booting into /bin/bash | Date | Tue, 12 Sep 2000 06:05:02 +0200 |
| |
In article <00091121173500.17171@tabby> you wrote: >>>>However, ^C does not stop anything. No signal gets sent to anybody. >>>>I don't want to make it too large because it won't fit on a floppy >>>>if I do. >>> >>> That means you don't have a controlling tty. >> >>But why is /dev/console not a tty? Is there any good reason, >>or is just "because nobody has done it"?
> Sometimes /dev/console is a printer, or an uninitialized > tty being used as a printer (serial dot matrix printers make > excellent trace logs).
Actually I think /dev/console is (at least if you dont use serial console) only a alias for a virtual console, therefore it can send signals. I guess the break char is simply not set to ^C. use stty to set break to ^c and then save the settings to ioctl.save. This will be restored by init. Or if you want to avoid init, set stty by hand.
Greetings Bernd - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |