tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: curses: Home key sends 0x162 in tmux
On 30/11/2016 22:11, Carsten Kunze wrote:
> Brett Lymn <blymn%internode.on.net@localhost> wrote:
>
>> But here we see:
>>
>>> kbeg=\E[1~
>>> khome=\E[1~
>>
>> So, we have two keys that map to ESC [1~ so it would depend entirely on
>> how the termcap is processed as to which leaf symbol is assigned to the
>> escape sequence. Looking at the source, the khome symbol gets assigned
>> first so that gets the key sequence.
>>
>> This looks to be a bug with tmux, it really shouldn't be overlaying key
>> escape sequences - you can't return both.
>
> tmux on OpenBSD and Linux sets "khome=\E[1~" but kbeg is not set on both systems. Could it also be an issue of the terminfo DB?
$ infocmp
# Reconstructed from $TERMCAP
I would look into the content of this environment variable.
Roy
Home |
Main Index |
Thread Index |
Old Index