[Top][All Lists]

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

Re: [help-texinfo] Advanced key bindings for stand-alone info

From: Gavin Smith
Subject: Re: [help-texinfo] Advanced key bindings for stand-alone info
Date: Tue, 8 Dec 2015 15:19:28 +0000

On 28 November 2015 at 18:47, Robert Ross <address@hidden> wrote:
> Is there still a way to map keys such as "F1" and "Ctrl-Down" in version 6.0? 
>  For xterm and mintty in version 5.2, the following worked:
> \eOP  get-help-window  # <F1>
> \e[1;5B  down-line  # <C-Down>
> Setting "key-time" to "0" did not help.  The ability to specify a "keyseq", 
> as in "readline", would restore flexibility.

Sorry, didn't see your message until now because it was marked as
spam. (Only saw it just now by accident.)

I found that specifying key sequences did work in some cases, but not
in the one you've mentioned. I think it's due to filtering unknown key
sequences from the input, to avoid them having unpredictable effects.

Indeed putting key-time=0 doesn't solve this. Putting key-time=1
allows you to type manually ESC O P, (for what it's worth). In fact,
key-time=0 has an inconsistent interpretation with any positive value,
in that it doesn't wait no time before it says ESC was pressed, it
waits infinite time. This could be confusing and maybe should be
changed. If someone wants to wait a long time they could do
key-time=1000000 or something.

reply via email to

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