[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] _rl_untranslate_macro_value with meta control chars
From: |
Chet Ramey |
Subject: |
Re: [PATCH] _rl_untranslate_macro_value with meta control chars |
Date: |
Mon, 7 Aug 2023 15:14:27 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 8/3/23 10:03 AM, G. Branden Robinson wrote:
I think the canonical way to represent a null byte (or, in this case, a
null bit septet within a byte) with this notation is ^@. And that is in
fact what I see.
Readline uses a different notation, so the null byte would be represented
as \C-@. But you can't be sticking NULs into the middle of a translated
key binding no matter what.
--
``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/