[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: looking for consistent C-c trap behavior
From: |
gentoo_eshoes |
Subject: |
Re: looking for consistent C-c trap behavior |
Date: |
Mon, 20 Apr 2020 00:02:22 +0200 (CEST) |
Apr 19, 2020, 21:20 by chet.ramey@case.edu:
> On 4/18/20 6:45 PM, gentoo_eshoes@tutanota.com wrote:
>
>>
>>
>> The code that allows 'read -p' to be interrupted when posixly_correct, must
>> then be somewhere else, I shall keep lookin', yet I fear I might not find it
>> :-"
>>
>
> Look in read_builtin() and the calls to various zread* functions there.
>
Excelent! Thank you very much for this useful information!
with it I was able to make the necessary local-only changes for myself (patch
attached)
I also did this:
> This is a reasonable idea for posix mode, since the trap action is run
> after the read command returns.
^ in context here:
https://lists.gnu.org/archive/html/bug-bash/2020-04/msg00116.html
Much appreciated, Chet!
Cheers!
changed_two_things.patch
Description: Text Data
- Re: looking for consistent C-c trap behavior, (continued)