[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to save/restore (all?) bindings
From: |
Chet Ramey |
Subject: |
Re: how to save/restore (all?) bindings |
Date: |
Fri, 20 Oct 2023 09:53:17 -0400 |
User-agent: |
Mozilla Thunderbird |
On 10/19/23 7:29 PM, Christoph Anton Mitterer wrote:
=> So seems, that the bind -r has an effect on anything "already
queued".
It works also when removing after the sleep:
bind -x '"\C-f": echo foo; sleep 5; bind -r "\C-a"'
Characters are queued, not readline commands. So if a key binding isn't
there by the time the key sequence is read, there's no action to take.
--
``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/
- Re: could there be a bash built-in that allows executing readline functions?, (continued)
- Re: could there be a bash built-in that allows executing readline functions?, alex xmb sw ratchev, 2023/10/23
- Re: could there be a bash built-in that allows executing readline functions?, Christoph Anton Mitterer, 2023/10/23
- Re: could there be a bash built-in that allows executing readline functions?, Chet Ramey, 2023/10/24
- Re: could there be a bash built-in that allows executing readline functions?, Chet Ramey, 2023/10/24
- Re: could there be a bash built-in that allows executing readline functions?, Christoph Anton Mitterer, 2023/10/24
- Re: could there be a bash built-in that allows executing readline functions?, Chet Ramey, 2023/10/25
- Re: could there be a bash built-in that allows executing readline functions?, Christoph Anton Mitterer, 2023/10/25
- Re: could there be a bash built-in that allows executing readline functions?, Chet Ramey, 2023/10/27
- Re: could there be a bash built-in that allows executing readline functions?, G. Branden Robinson, 2023/10/24
- Re: could there be a bash built-in that allows executing readline functions?, Chet Ramey, 2023/10/24
- Re: how to save/restore (all?) bindings,
Chet Ramey <=