From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Sullivan Newsgroups: gmane.emacs.help Subject: Re: keybindings in console Date: Sat, 26 Aug 2006 16:29:30 -0400 Message-ID: <87zmdrp7f9.fsf@ashbery.wjsullivan.net> References: <25fd1f750608240134u6f091afdqf3e2effa5772d226@mail.gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1156633760 11249 80.91.229.2 (26 Aug 2006 23:09:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 26 Aug 2006 23:09:20 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 27 01:09:19 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GH7H9-0003y8-4k for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Aug 2006 01:09:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GH7H8-0001do-83 for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Aug 2006 19:09:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GH7Gx-0001dM-3n for help-gnu-emacs@gnu.org; Sat, 26 Aug 2006 19:09:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GH7Gw-0001dA-8J for help-gnu-emacs@gnu.org; Sat, 26 Aug 2006 19:09:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GH7Gw-0001d7-5b for help-gnu-emacs@gnu.org; Sat, 26 Aug 2006 19:09:02 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GH7PX-0002zo-5q for help-gnu-emacs@gnu.org; Sat, 26 Aug 2006 19:17:55 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GH7Gp-0003tp-Jl for help-gnu-emacs@gnu.org; Sun, 27 Aug 2006 01:08:55 +0200 Original-Received: from dsl092-079-150.bos1.dsl.speakeasy.net ([66.92.79.150]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Aug 2006 01:08:55 +0200 Original-Received: from john by dsl092-079-150.bos1.dsl.speakeasy.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Aug 2006 01:08:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 132 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dsl092-079-150.bos1.dsl.speakeasy.net User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:aW6C50ywvEqeYIM6NIEVa8PbvIA= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36955 Archived-At: Fisherss 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- 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