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

From Paul Kelaita <paul@kelaita.com>
Newsgroups gnu.bash.bug
Subject CTRL-C on command line does not cancel current command
Date 2020-05-08 12:19 -0700
Message-ID <mailman.2448.1588969588.3066.bug-bash@gnu.org> (permalink)
References <4600384C-3205-4160-A822-BF2361DF8116@kelaita.com>

Show all headers | 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