Path: csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: Paul Kelaita Newsgroups: gnu.bash.bug Subject: CTRL-C on command line does not cancel current command Date: Fri, 8 May 2020 12:19:02 -0700 Lines: 31 Approved: bug-bash@gnu.org Message-ID: References: <4600384C-3205-4160-A822-BF2361DF8116@kelaita.com> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: usenet.stanford.edu 1588969589 4160 209.51.188.17 (8 May 2020 20:26:29 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-bash@gnu.org Envelope-to: bug-bash@gnu.org X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version:date :subject:message-id:to; bh=ezyGZQVBGttIcdEKsHpCDxbklsK4uqBs26OI8kl6CPA=; b=Sxrs7LCJcvckkPyAxDjyGxdc2iF/c/Gr5/BK9ly2QmFwgvM3bE2XIhGIt6W/7jlAeC v+6viu6E5m2IIByfvqxTaQf/0VXU+XkTMKmvW25zHHhaiKAuRZ/DCDmn3YBF8VDuxPTR CuKLL/8TGfZUu1lTbEs8jQfFQm2YTUQBLaLjTu6Ads0h70TK1SRosFRBzrG1EkNC342O t/nRaEafIxIetpjn0LsuVAkR3bmnBAsTIxUiFdkF2E8/R/6n5s+o63LU2zvHnZdz6i9V E7wp5DuRkW9L4cfTW7gQf531Nrkx1LwRW5efVS54BYuH2aYUvYKrIrW1oLnpP8lAoUvZ VKfg== X-Gm-Message-State: AGi0PuZEXv4Ogt+hC4uc3sgVOHr8w6Wi1pNeRcMnD4Wkh30Tel6pykTV zVPSEkla29b+80XFafcH3phl98XBDDM= X-Google-Smtp-Source: APiQypLCWV7NKxsRy9N2Yn+lCa08aYbzBvBJe9v1mJDLt4WJW223qguj1/ysYb0wSWkPi6nyUAaFjQ== X-Received: by 2002:aa7:8eca:: with SMTP id b10mr4543492pfr.4.1588965545940; Fri, 08 May 2020 12:19:05 -0700 (PDT) X-Mailer: iPad Mail (17E262) Received-SPF: pass client-ip=209.85.215.178; envelope-from=paulkelaita@gmail.com; helo=mail-pg1-f178.google.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/08 15:19:06 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Mailman-Approved-At: Fri, 08 May 2020 16:26:28 -0400 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <4600384C-3205-4160-A822-BF2361DF8116@kelaita.com> Xref: csiph.com gnu.bash.bug:16290 Configuration Information [Automatically generated, do not change]: Machine: i586 OS: linux-musl Compiler: gcc Compilation CFLAGS: -Os -fomit-frame-pointer -g -Wno-parentheses -Wno-format= -security uname output: Linux PuPadPro 3.2.0-ish iSH 1.0 (67) May 4 2020 00:20:06 i68= 6 Linux Machine Type: i586-alpine-linux-musl Bash Version: 5.0 Patch Level: 11 Release Status: release Description: CTRL-C works fine for anything run in the shell, however, the behav= ior while typing a command is wrong. The CTRL-C is ignored, and once Enter i= s hit, it appears that the first character is taken off the beginning of the= command typed, and the rest is echoed back. For example, if I type the com= mand 'date' on the command line, but then hit CTRL-C after the 'e', nothing h= appens. But after I hit Enter, I get the shell error: 'bash: ate: command no= t found' Repeat-By: see description above Fix: [Description of how to fix the problem. If you don't know a fix for the problem, don't include this section.]