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 11:22:30 +0800 [thread overview]
Message-ID: <053301c3685c$9ea6fe50$2a01010a@avwindows> (raw)
In-Reply-To: 3F45830A.5C0F5BCA@gmx.de
after run od -tx1, the following is the result
------------------------------------------------
bash-2.05# ./od -tx1
0000000
------------------------------------------------
and I use "killall xxx_appname" to kill the progress after telnet the linux box.
----- 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:42 AM
Subject: Re: "ctrl+c" disabled!
> "Bill J.Xu" wrote:
> >
> > 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
>
> Hmm... looks fine. intr set to ^C and isig enabled. Maybe you should check what
> the terminal program is actually sending:
>
> od -tx1
>
> Then type Ctrl-C Ctrl-D. Should print "00000000 03".
>
> How do you kill the process from telnet? kill -9 <pid> or kill -2 <pid>?
> Maybe sigint is ignored (possible if bash was started with ignored sigint -
> broken/strange getty). Is job control (^Z/fg) working?
>
> Ciao, ET.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
next prev parent reply other threads:[~2003-08-22 3:22 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
2003-08-22 2:42 ` Edgar Toernig
2003-08-22 3:22 ` Bill J.Xu [this message]
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='053301c3685c$9ea6fe50$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