Re: "ctrl+c" disabled!

From: Bill J.Xu (xujz_at_neusoft.com)
Date: 08/22/03

  • Next message: Micha Feigin: "PROBLEM: compilling 2.6.0-test3-bk8 - apic/ioapic"
    Date:	Fri, 22 Aug 2003 11:22:30 +0800
    To: Edgar Toernig <froese@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/
    >
    -
    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 message: Micha Feigin: "PROBLEM: compilling 2.6.0-test3-bk8 - apic/ioapic"

    Relevant Pages

    • Re: "ctrl+c" disabled!
      ... > and the only way is to telnet it,and kill that progress ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: "ctrl+c" disabled!
      ... > But I use SecureCRT with the same configration at the same PC to telnet the linux box,everything is OK. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • RE: Catching NForce2 lockup with NMI watchdog
      ... >table in the system BIOS which the motherboard vendors supply. ... Is it not possible that Linux could be made to handling this hardware ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.7 (future kernel) wish
      ... > I've never seen one give a STOP error from that but I guess a bad driver ... I would like to see the HAL type crap for Linux. ... to have uniform user device control from a gui programmable means. ... 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/ ...
      (Linux-Kernel)
    • Re: [RFC][PATCH] Way for platforms to alter built-in serial ports
      ... For platforms that can't do that, ... >> and we automatically switch to the corresponding ttyS device later. ... so I hope we can make some progress. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)