[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-readline] [PING] Fix mingw support for Home, End, Insert and De
From: |
Chet Ramey |
Subject: |
Re: [Bug-readline] [PING] Fix mingw support for Home, End, Insert and Delete keys |
Date: |
Tue, 24 Sep 2013 10:02:45 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.0 |
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 address@hidden http://cnswww.cns.cwru.edu/~chet/
- Re: [Bug-readline] [PING] Fix mingw support for Home, End, Insert and Delete keys, Chet Ramey, 2013/09/22
- Re: [Bug-readline] [PING] Fix mingw support for Home, End, Insert and Delete keys, Pierre Muller, 2013/09/22
- Message not available
- Re: [Bug-readline] [PING] Fix mingw support for Home, End, Insert and Delete keys, Chet Ramey, 2013/09/23
- Re: [Bug-readline] [PING] Fix mingw support for Home, End, Insert and Delete keys, Pierre Muller, 2013/09/24
- Message not available
- Re: [Bug-readline] [PING] Fix mingw support for Home, End, Insert and Delete keys,
Chet Ramey <=
- Re: [Bug-readline] [PING] Fix mingw support for Home, End, Insert and Delete keys, Pierre Muller, 2013/09/24