On 9/24/13 5:36 AM, Pierre Muller wrote:
>   Hi Chet,
> 
>   finally it is much easier than
> what I expected...
> 
>   We can simply use the fact that
> the key sequence can be encoded as rl_translate_key  
> returns a char array and a length of this array,
> thus the '\0' value is not a problem anymore.
>   Thus using "\\000P" as a key sequence works like a charm!
> See the patch below.
> 
> 
>   Can this also be integrated in readline development?

Sure.  We will see how successful it is in the places where readline uses
the key sequence as a string.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    [email protected]    http://cnswww.cns.cwru.edu/~chet/

_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to