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


Groups > gnu.bash.bug > #16292

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

Path csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail
From Paul Kelaita <paul@kelaita.com>
Newsgroups gnu.bash.bug
Subject Re: CTRL-C on command line does not cancel current command
Date Fri, 8 May 2020 14:26:34 -0700
Lines 30
Approved bug-bash@gnu.org
Message-ID <mailman.2452.1588973203.3066.bug-bash@gnu.org> (permalink)
References <22dc31c3-fda8-b701-334a-e9c58b748bb4@case.edu> <0C5E9173-C02D-43AF-99F5-BAC0BFE299D6@kelaita.com>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0 (1.0)
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding quoted-printable
X-Trace usenet.stanford.edu 1588973203 6396 209.51.188.17 (8 May 2020 21:26:43 GMT)
X-Complaints-To action@cs.stanford.edu
Cc bug-bash@gnu.org
To chet.ramey@case.edu
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 :subject:date:message-id:references:cc:in-reply-to:to; bh=NhPdtZvwIHtDU2vSw/n7DnLBHG9oTsmTEJqcU3dKdZo=; b=CDvf/Aq6t1W8JeXucQdPKIyGV5NFcU12aWNyMrX1W+iYYHgXF0EhevmRvYEeb2PxB6 gnncvRQHXQ3rNJ6S6wCBgHgMUqVvENpfYP3828rzGTirzJ4st6Wk9GmwUS4Uz8xcVNnY XD+RO0dU9gipUx8NMPj4a0eCyhMRacbYQOVtLXDJNpkGpKLlf6JngyAqQS4/hCuleAgq VKjwncdep1bPKzLzkm8WWPOyUc6BbH4uqUhBf2xCBkDmqQ/CtM0gUGVrWSTGH3B9aofq PgIMPRQxmLSa6M88cOALNiwVsHmIE+IsF6pgo0tVQl5VWx+NRvm5skN+An9eFdwqdMRI 6sZQ==
X-Gm-Message-State AGi0PuZLEKo5eN3rzx3QBeYsdI1FDk2c2xRT+7fjTRNPPruABFL7KozF DgXjWBAt6ALqDEE3IAbNWcg=
X-Google-Smtp-Source APiQypLHyks/HAHfGn4uQ0OOcHFOjO2oad3nc8TEqm4/89pVdXf1FejpxuzWW0oGWg2I6zk/tgXwJg==
X-Received by 2002:a17:902:227:: with SMTP id 36mr4266120plc.118.1588973197099; Fri, 08 May 2020 14:26:37 -0700 (PDT)
In-Reply-To <22dc31c3-fda8-b701-334a-e9c58b748bb4@case.edu>
X-Mailer iPad Mail (17E262)
Received-SPF pass client-ip=209.85.216.66; envelope-from=paulkelaita@gmail.com; helo=mail-pj1-f66.google.com
X-detected-operating-system by eggs.gnu.org: First seen = 2020/05/08 17:26:37
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, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN
X-Spam_action no action
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 <0C5E9173-C02D-43AF-99F5-BAC0BFE299D6@kelaita.com>
X-Mailman-Original-References <22dc31c3-fda8-b701-334a-e9c58b748bb4@case.edu>
Xref csiph.com gnu.bash.bug:16292

Show key headers only | View raw


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/

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


Thread

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

csiph-web