[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: |
Sun, 21 Feb 2021 08:42:21 +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 08:07]:
> Jean Louis wrote:
>
> >> In my opinion, it’s not a good way. Just piling dirty hacks
> >> to cover the lack of general-purpose key representation.
> >
> > That is not good way is it does not recognize Super key.
>
> Super-Jean forgets that in this very thread, his key was shown
> to work just as any other key, using this method.
by having file `key':
keycode 125 = U+1004
and by doing the command:
$ sudo loadkeys key
and by evaluating:
(define-key input-decode-map [?\u1004] [super-key])
(define-prefix-command 'super-jean)
(global-set-key [super-key] 'super-jean)
(global-set-key
[super-key ?\l]
(lambda ()
(interactive)
(message "Manny's skills are uncanny"))
(global-set-key [super-key ?\t] 'tetris)
I cannot get it to work in the console. I am not speaking of X
terminal emulators.
Do you get it to work in console?
What am I doing wrong?
- Re: Make Super key work in console, (continued)
- Re: Make Super key work in console, Jean Louis, 2021/02/21
- Re: Make Super key work in console, Stefan Monnier, 2021/02/20
- Re: Make Super key work in console, Eli Zaretskii, 2021/02/20
- Re: Make Super key work in console, Stefan Monnier, 2021/02/20
- Re: Make Super key work in console, Eli Zaretskii, 2021/02/20
- Re: Make Super key work in console, Stefan Monnier, 2021/02/20
- Re: Make Super key work in console, Eli Zaretskii, 2021/02/20
- Re: Make Super key work in console, Stefan Monnier, 2021/02/21
- Re: Make Super key work in console, Jean Louis, 2021/02/20
- Re: Make Super key work in console, Emanuel Berg, 2021/02/21
- Re: Make Super key work in console,
Jean Louis <=
- Re: Make Super key work in console, Emanuel Berg, 2021/02/21
- Re: Make Super key work in console, Jean Louis, 2021/02/22
- Re: Make Super key work in console, Emanuel Berg, 2021/02/24
- Re: not good proposal: "C-z <letter>" reserved for users, Jean Louis, 2021/02/12
- Re: not good proposal: "C-z <letter>" reserved for users, Dmitry Gutov, 2021/02/12
- Re: not good proposal: "C-z <letter>" reserved for users, Jean Louis, 2021/02/13
- Re: not good proposal: "C-z <letter>" reserved for users, Dmitry Gutov, 2021/02/13
- Re: not good proposal: "C-z <letter>" reserved for users, Eli Zaretskii, 2021/02/13
- Re: not good proposal: "C-z <letter>" reserved for users, Jean Louis, 2021/02/13
- Re: not good proposal: "C-z <letter>" reserved for users, Eli Zaretskii, 2021/02/13