bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash readline remap ESC insert/command mode key


From: Chet Ramey
Subject: Re: Bash readline remap ESC insert/command mode key
Date: Sun, 22 Jan 2012 16:52:06 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0

On 1/22/12 7:35 AM, Roger wrote:
>> On Sat, Jan 21, 2012 at 09:17:32PM -0500, Chet Ramey wrote:
>>
>> I could look at putting in some sort of inter-character timeout, but I
>> don't know yet how well the code structure lends itself to that.

Pretty easily, as it turns out.  The attached patch adds a half-second
timeout to the key sequence code.  Please let me know whether or not it
works for you.

Chet

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

Attachment: readline.inter-char-timeout.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]