All of lore.kernel.org
 help / color / mirror / Atom feed
From: Edgar Toernig <froese@gmx.de>
To: "Bill J.Xu" <xujz@neusoft.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: "ctrl+c" disabled!
Date: Fri, 22 Aug 2003 04:42:18 +0200	[thread overview]
Message-ID: <3F45830A.5C0F5BCA@gmx.de> (raw)
In-Reply-To: 04b901c36852$dccc7660$2a01010a@avwindows

"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.

  reply	other threads:[~2003-08-22  2:43 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 [this message]
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=3F45830A.5C0F5BCA@gmx.de \
    --to=froese@gmx.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xujz@neusoft.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.