Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16290

CTRL-C on command line does not cancel current command

Path csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Paul Kelaita <paul@kelaita.com>
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 <mailman.2448.1588969588.3066.bug-bash@gnu.org> (permalink)
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 <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <4600384C-3205-4160-A822-BF2361DF8116@kelaita.com>
Xref csiph.com gnu.bash.bug:16290

Show key headers only | View raw


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 i686 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 behavior while typing a command is wrong. The CTRL-C is ignored, and once Enter is 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 command 'date' on the command line, but then hit CTRL-C after the 'e', nothing happens. But after I hit Enter, I get the shell error: 'bash: ate: command not 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.]

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

CTRL-C on command line does not cancel current command Paul Kelaita <paul@kelaita.com> - 2020-05-08 12:19 -0700

csiph-web