bug-bash
[Top][All Lists]
Advanced

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

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


From: Dale R. Worley
Subject: Re: CTRL-C on command line does not cancel current command
Date: Sun, 10 May 2020 21:50:46 -0400

Paul Kelaita <paul@kelaita.com> writes:
> Sorry, I'm wondering if I should have taken this to the iSH forums,
> but it just seems like a bash issue.

You should ask around, because how Ctrl-C cancels input involves the
interaction of the OS, the bash code proper, and (I assume) the stdin
library.  E.g. if the OS doesn't actually deliver the characters to bash
until you type RET, then the OS has to take care of clearing the
partially-input line.  And all of these actions can be modulated by your
stty settings and any special input mode(s) that bash activates.

Dale



reply via email to

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