[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CTRL-C on command line does not cancel current command

From: Chet Ramey
Subject: Re: CTRL-C on command line does not cancel current command
Date: Fri, 8 May 2020 17:19:29 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

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    address@hidden    http://tiswww.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]