[Top][All Lists]

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

Re: New Context Menu

From: Yuri Khan
Subject: Re: New Context Menu
Date: Tue, 24 Aug 2021 18:44:44 +0700

On Tue, 24 Aug 2021 at 15:01, Ergus <spacibba@aol.com> wrote:

> >> lk201.el:35:    (define-key map "\e[29~" [menu])
> >> rxvt.el:67:    (define-key map "\e[29~" [S-f6])
> >> xterm.el:353:    (define-key map "\e[29~" [print])
> >>
> >> where "\e[29~" is the sequence the menu key sends. So maybe you could
> >> use [S-f6] instead?
> >>
> >> That will make it work out of the box in urxvt.
> Maybe I miss explained myself. The idea to put it in [S-f6] is to make
> the context menu work with the [menu] button out of the box when
> available in urxvt (and on xterm if fixed).

That would be wrong. Better:

* Push for terminfo to include a string capability that indicates the
sequence sent by the Menu key. Push for the terminfo database to
include that capability for major terminal emulators.

* Push for rxvt to change its Menu sequence to something different
from Shift+F6, and submit that sequence to the terminfo database.

* In rxvt.el, change \e[29~ to the new rxvt Menu sequence.

Even better:

* Use a terminal emulator that lets you distinguish all key combinations.

reply via email to

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