[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CTRL-C on command line does not cancel current command
From: |
Paul Kelaita |
Subject: |
Re: CTRL-C on command line does not cancel current command |
Date: |
Fri, 8 May 2020 14:26:34 -0700 |
Only seeing this on Alpine BusyBox (iSH) on iOS 13.x with either 5.0.11 or
5.0.17
> On May 8, 2020, at 2:19 PM, Chet Ramey <chet.ramey@case.edu> wrote:
>
> 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/