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

Robert P. J. Day rpjday at mindspring.com
Fri Feb 6 11:35:30 UTC 2004


  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.





More information about the busybox mailing list