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: Emanuel Berg
Subject: Re: Make Super key work in console
Date: Mon, 15 Feb 2021 17:36:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jean Louis wrote:

> OK that almost works. I say almost. 
>
> First it started working so I can get the uncanny skills.
> But then I have tried to evaluated:
>
> (global-set-key [super-key ?\a] 'tetris)
>
> And that one does not work. 

Something up with a. Try with some other char, l for example,
it works. BTW I realized the ?\ isn't needed, like one does
just [l] for a one-element vector. No idea why a doesn't work.

> I have also discovered that it does not act as true
> modifier, it acts rather as a key after key. So I cannot
> press Super and hold it pressed to invoke other key.

It is described in the tutorial:

  https://dataswamp.org/~incal/tty-emacs-keys.txt

I you follow the links to the example files, you see I get
even very exotic combinations to works, for example
Meta Shift Return.

That said, let me ask, how do you define a "true modifier" in
Emacs? I mean not just for keys that previously don't work,
but in general?

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

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