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: Jean Louis
Subject: Re: Make Super key work in console
Date: Mon, 22 Feb 2021 07:59:43 +0300
User-agent: Mutt/2.0 (3d08634) (2020-11-07)

* Emanuel Berg via Users list for the GNU Emacs text editor 
<help-gnu-emacs@gnu.org> [2021-02-21 09:11]:
> Jean Louis wrote:
> 
> > (global-set-key
> >  [super-key ?\l]
> >  (lambda ()
> >    (interactive)
> >    (message "Manny's skills are uncanny"))
> 
> add one )
> 
> >  (global-set-key [super-key ?\t] 'tetris)
> 
> (global-set-key [super-key t] #'tetris)

Thank you.

That one works well, thank you. Now there is workaround for Super key
to work in console.

That does not yet solve working in terminal as `loadkeys' does not
work in terminal.

That is good. Now I can make the program to recognize if it is
console, virtual terminal or X and make it work in console accordingly
in the same way as how it works in X.



reply via email to

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