Hi, Anthony DeRobertis wrote:
> ctrl-c probably doesn't work due to the terminal not being set up (wild
> guess). Maybe you could make it work with "stty intr ^C"
> 
Basically, it doesn't work because there's no controlling TTY set.
Opening a TTY usually sets the controlling TTY, but the linuxrc
context is set up by the kernel. Giving kernel processes a controlling
TTY is usually a bad idea (press ^c and kill a few kernel processes...).

There'a s the TIOCSCTTY ioctl call which a process can use to fix that,
but nothing in the linuxrc context does.

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  [EMAIL PROTECTED]
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
Never look a gift horse in the mouth.
                -- Saint Jerome


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to