From: "Bill J.Xu" <xujz@neusoft.com>
To: Edgar Toernig <froese@gmx.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: "ctrl+c" disabled!
Date: Fri, 22 Aug 2003 10:12:39 +0800 [thread overview]
Message-ID: <04b901c36852$dccc7660$2a01010a@avwindows> (raw)
In-Reply-To: 3F457A19.8E8A1F65@gmx.de
The following is the stty' result, I think it's right
----------------------------------------------------------------------------------
bash-2.05# stty -a
speed 9600 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^X; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^U; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
-iuclc ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon -iexten echo -echoe -echok -echonl -noflsh -xcase -tostop echoprt
echoctl echoke
----------------------------------------------------------------------------------
but ^C is bad
----- Original Message -----
From: "Edgar Toernig" <froese@gmx.de>
To: "Bill J.Xu" <xujz@neusoft.com>
Cc: <linux-kernel@vger.kernel.org>
Sent: Friday, August 22, 2003 10:04 AM
Subject: Re: "ctrl+c" disabled!
> "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.
>
next prev parent reply other threads:[~2003-08-22 2:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-21 12:30 "ctrl+c" disabled! Bill J.Xu
2003-08-21 12:46 ` Richard B. Johnson
2003-08-22 1:50 ` Bill J.Xu
2003-08-22 13:16 ` Richard B. Johnson
2003-08-22 2:04 ` Edgar Toernig
2003-08-22 2:12 ` Bill J.Xu [this message]
2003-08-22 2:42 ` Edgar Toernig
2003-08-22 3:22 ` Bill J.Xu
2003-08-22 4:14 ` Charles Lepple
2003-08-22 4:55 ` Bill J.Xu
2003-08-22 11:27 ` Russell King
2003-08-22 13:22 ` Edgar Toernig
2003-09-01 4:50 ` Bill J.Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='04b901c36852$dccc7660$2a01010a@avwindows' \
--to=xujz@neusoft.com \
--cc=froese@gmx.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox