From: John Sullivan <john@wjsullivan.net>
Subject: Re: keybindings in console
Date: Sat, 26 Aug 2006 16:29:30 -0400 [thread overview]
Message-ID: <87zmdrp7f9.fsf@ashbery.wjsullivan.net> (raw)
In-Reply-To: 25fd1f750608240134u6f091afdqf3e2effa5772d226@mail.gmail.com
Fisherss <fisherssml@gmail.com> writes:
> Hi all
>
> I am currently moving all my works to console (not x-terminal), but I
> found that I can not use the Emacs keybindings which need to hold
> control, alt (meta) and shift at the same time, in other words, C-M-k
> works fine but both C-M-S-k and C-M-K dont work (they all work
> correctly in X), and the right ALT key also doesn't work.
>
I don't really remember the details, but here is a diff of the changes I made.
my_keys.bak is the default keymap file on my Debian sid system (what it was a
year ago, anyway). my_keys is the file I use now.
Most of the changes I made were what was needed in order to get M-<punctuation>
bindings working, like M-< and M-!. But maybe the examples will still help.
--- /home/johnsu01/my_keys.bak 2005-08-23 19:26:18.000000000 -0400
+++ /home/johnsu01/my_keys 2005-08-23 22:24:31.000000000 -0400
@@ -1,34 +1,46 @@
-keymaps 0-2,4,6,8,12
+keymaps 0-2,4,6,8,9,12
keycode 1 = Escape Escape
alt keycode 1 = Meta_Escape
keycode 2 = one exclam
alt keycode 2 = Meta_one
+ shift alt keycode 2 = Meta_exclam
keycode 3 = two at at nul
alt keycode 3 = Meta_two
+ shift alt keycode 3 = Meta_at
keycode 4 = three numbersign
control keycode 4 = Escape
- alt keycode 4 = Meta_three
+ alt keycode 4 = Meta_three
+ shift alt keycode 4 = Meta_numbersign
keycode 5 = four dollar dollar Control_backslash
alt keycode 5 = Meta_four
+ shift alt keycode 5 = Meta_dollar
keycode 6 = five percent
control keycode 6 = Control_bracketright
alt keycode 6 = Meta_five
+ shift alt keycode 6 = Meta_percent
keycode 7 = six asciicircum
control keycode 7 = Control_asciicircum
alt keycode 7 = Meta_six
+ shift alt keycode 7 = Meta_asciicircum
keycode 8 = seven ampersand braceleft Control_underscore
alt keycode 8 = Meta_seven
+ shift alt keycode 8 = Meta_ampersand
keycode 9 = eight asterisk bracketleft Delete
alt keycode 9 = Meta_eight
+ shift alt keycode 9 = Meta_asterisk
keycode 10 = nine parenleft bracketright
alt keycode 10 = Meta_nine
+ shift alt keycode 10 = Meta_parenleft
keycode 11 = zero parenright braceright
alt keycode 11 = Meta_zero
+ shift alt keycode 11 = Meta_parenright
keycode 12 = bracketleft braceleft
control keycode 12 = Escape
alt keycode 12 = Meta_bracketleft
+ shift alt keycode 12 = Meta_bracketleft
keycode 13 = bracketright braceright asciitilde Control_bracketright
alt keycode 13 = Meta_bracketright
+ shift alt keycode 13 = Meta_bracketright
keycode 14 = Delete Delete
alt keycode 14 = Meta_Delete
keycode 15 = Tab Tab
@@ -36,10 +48,13 @@
keycode 16 = apostrophe quotedbl
control keycode 16 = Control_g
alt keycode 16 = Meta_apostrophe
+ shift alt keycode 16 = Meta_quotedbl
keycode 17 = comma less
alt keycode 17 = Meta_comma
+ shift alt keycode 17 = Meta_less
keycode 18 = period greater currency
alt keycode 18 = Meta_period
+ shift alt keycode 18 = Meta_greater
keycode 19 = p
keycode 20 = y
keycode 21 = f
@@ -50,8 +65,10 @@
keycode 26 = slash question
control keycode 26 = Delete
alt keycode 26 = Meta_slash
+ shift alt keycode 26 = Meta_question
keycode 27 = equal plus
- alt keycode 27 = Meta_equal
+ alt keycode 27 = Meta_equal
+ shift alt keycode 27 = Meta_plus
keycode 28 = Return
alt keycode 28 = Meta_Control_m
keycode 29 = Control
@@ -67,15 +84,20 @@
keycode 39 = s
keycode 40 = minus underscore backslash Control_underscore
alt keycode 40 = Meta_minus
+ shift alt keycode 40 = Meta_underscore
keycode 41 = grave asciitilde
control keycode 41 = nul
- alt keycode 41 = Meta_grave
+ alt keycode 41 = Meta_grave
+ shift alt keycode 41 = Meta_asciitilde
keycode 42 = Shift
keycode 43 = backslash bar
control keycode 43 = Control_backslash
alt keycode 43 = Meta_backslash
+ shift alt keycode 43 = Meta_bar
+ control alt keycode 43 = Meta_Control_backslash
keycode 44 = semicolon colon
alt keycode 44 = Meta_semicolon
+ shift alt keycode 44 = Meta_colon
keycode 45 = q
keycode 46 = j
keycode 47 = k
@@ -92,7 +114,7 @@
keycode 57 = space space
control keycode 57 = nul
alt keycode 57 = Meta_space
-keycode 58 = Caps_Lock
+keycode 58 = Control
keycode 59 = F1 F13 Console_13 F25
alt keycode 59 = Console_1
control alt keycode 59 = Console_1
--
-John Sullivan
-http://www.wjsullivan.net
-GPG Key: AE8600B6
prev parent reply other threads:[~2006-08-26 20:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-24 8:34 keybindings in console Fisherss
2006-08-26 20:29 ` John Sullivan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zmdrp7f9.fsf@ashbery.wjsullivan.net \
--to=john@wjsullivan.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.