Re: "ctrl+c" disabled!

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

  • Next message: Jim Houston: "[PATCH2] Pentium Pro - sysenter - doublefault"
    Date:	Fri, 22 Aug 2003 10:12:39 +0800
    To: Edgar Toernig <froese@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.
    >
    -
    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: Jim Houston: "[PATCH2] Pentium Pro - sysenter - doublefault"

    Relevant Pages

    • Re: UTF-8 filenames
      ... and it seems that Linux stty had none of the necessary options. ... Sorry I cannot check details on which bits are used by commercial Unix ... "man stty" page in Japanese. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: synchronous serial port communication (16550A)
      ... > CRTSCTS with tcsetattror even stty)? ... > Mike. ... RTS has a special meaning with this lcd-controller, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Linux 2.6.7 (stty rows 50 columns 140 reports : No such device or address)
      ... > don't like the way it's implemented and the drivers are not ready ... There is a bug in stty. ... We should implement this in fbset as well. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Linux 2.6.7 (stty rows 50 columns 140 reports : No such device or address)
      ... and the code that was removed from stty it's clear that -1 means don't ... 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: A shell question
      ... /usr/share/root # stty ... speed 38400 baud; line = 0; ... so which parameter affect this? ...
      (comp.os.linux.development.apps)