[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: |
Wed, 24 Feb 2021 16:37:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
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.
np :)
> That one works well, thank you. Now there is workaround for
> Super key to work in console.
Well, it depends what you mean with the Super key but sure it
should give you a bunch of more shortcuts to play with.
> That does not yet solve working in terminal as `loadkeys'
> does not work in terminal.
'terminal' here denotes 'X terminal emulator, e.g. xterm'
"Does not work", well, in a way it does indeed not, because it
isn't an X program :)
> 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.
But hold it, X and xterm and all the terminal emulators for
X that's big business compared to the by-design almost (?)
under-featured console. So google what you want for X, either
you will find it really professionally or just forget about it
for all intents and purposes - virtually!
--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal
- Re: Make Super key work in console, (continued)
- 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, 2021/02/21
- 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 <=
- 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
- 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, Robert Thorpe, 2021/02/13
- Re: not good proposal: "C-z <letter>" reserved for users, Dmitry Gutov, 2021/02/13