In article <[EMAIL PROTECTED]>,
Richard B. Johnson <[EMAIL PROTECTED]> wrote:
>Whmm. I have a shell-script that makes a RAM-Disk bootable "Rescue Disk".
>It allows one to boot from two floppies and repair stuff, even execute
>vi, fdisk, mke2fs, tar, tar-gz, etc. Just about everything one would
>need (even modules) to rescue a system.
>
>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.
Try opening /dev/tty1 instead of /dev/console. Something like this
should do it:
#! /bin/bash
# Get a real controlling tty instead of /dev/console
exec 0<>/dev/tty1 1>&0 2>&0
Mike.
--
Deadlock, n.:
Deceased rastaman.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/