Re: "ctrl+c" disabled!

From: Edgar Toernig
Date: Thu Aug 21 2003 - 21:12:02 EST


"Bill J.Xu" wrote:
>
> when I connect linux through serial port,and run a program such
> as "ping xxx.xxx.xxx.xxx",then I can not stop it by using "ctrl+c".
> and the only way is to telnet it,and kill that progress
>
> why?

Try:

stty -a

and check the intr setting. Maybe it's set to DEL (^?).
You can correct it with:

stty intr "^c"

Ciao, ET.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/