help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Make Super key work in console


From: Yuri Khan
Subject: Re: Make Super key work in console
Date: Sat, 20 Feb 2021 22:26:04 +0700

On Sat, 20 Feb 2021 at 21:35, Jean Louis <bugs@gnu.support> wrote:

> > You understand that the main obstacle to that is the lack of a
> > standardized encoding for key data in the terminal protocol? Before we
> > have that, you will have to find a new workaround for every terminal
> > emulator you use.
>
> I got that, but let me know where is that defined that I can at least
> ask one by one so that implementation comes sooner. I think it is sooo
> late that some keys used for decades are not implemented.

Probably nowhere except each terminal emulator’s source code.

> > Earlier, I have pointed you to the only terminal emulator I know that
> > is trying to actually solve the problem, by inventing a protocol
> > extension that faithfully represents all keys. Get Emacs playing nice
> > with that, then push for adoption of that protocol extension in other
> > terminal emulators, including Linux console.
>
> That sounds as good strategy. I have yet to research that. I know that
> `konsole' works, I have to research your option.

I was surprised to learn that Konsole chose to translate Super+<key>
into C-x @ s <key>, exactly what Emacs interprets back as S-<key>.

https://bugs.kde.org/show_bug.cgi?id=96282

In my opinion, it’s not a good way. Just piling dirty hacks to cover
the lack of general-purpose key representation.



reply via email to

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