Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16291
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: CTRL-C on command line does not cancel current command |
| Date | 2020-05-08 17:19 -0400 |
| Organization | ITS, Case Western Reserve University |
| Message-ID | <mailman.2451.1588972788.3066.bug-bash@gnu.org> (permalink) |
| References | <4600384C-3205-4160-A822-BF2361DF8116@kelaita.com> <22dc31c3-fda8-b701-334a-e9c58b748bb4@case.edu> |
On 5/8/20 3:19 PM, Paul Kelaita wrote: > 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' I can't reproduce this on Mac OS X or RHEL 7 with bash-5.0.17. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
Back to gnu.bash.bug | Previous | Next | Find similar
Re: CTRL-C on command line does not cancel current command Chet Ramey <chet.ramey@case.edu> - 2020-05-08 17:19 -0400
csiph-web