[BusyBox] is there a trick to getting ^C to interrupt?

Erik Andersen andersen at codepoet.org
Fri Feb 6 12:14:10 UTC 2004


On Fri Feb 06, 2004 at 06:35:30AM -0500, Robert P. J. Day wrote:
>   i'm at a loss as to how to get ^c to behave as a simple interrupt.
> as an example, if, once my target board is running, i "ping" another
> host with no count limit, there is no way to interrupt the ongoing
> ping -- i have to physically reboot the board.
> 
>   i've tried both sh and ash shells, i've activated job control
> (even though i'm sure that's not necessary, but what the heck),
> i've verified with "stty -a" that, sure enough, intr is mapped
> to ^c.  not sure what to try next.
> 
>   thoughts?  have i overlooked an obvious config option?
> 
> rday
> 
> p.s.  i've tested this with a simple "sleep 10" as well.  once
> the sleep is running, neither ^c nor ^\ will kill it.  i have
> to let it run its course and terminate normally.  and yet,
> stty -a shows predictable settings for both intr and quit.

What do you have in your /etc/inittab file?
Do you see a "job control disabled" message when starting
your shell?

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the busybox mailing list