From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: M-<, M->, M-% ... Date: Thu, 27 Mar 2008 13:52:23 +1100 Organization: Rapt Technologies Message-ID: <87zlskri8o.fsf@lion.rapttech.com.au> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1206589280 24752 80.91.229.12 (27 Mar 2008 03:41:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Mar 2008 03:41:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 27 04:41:51 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jeizu-00013F-Lr for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Mar 2008 04:41:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JeizJ-0004Nn-6Y for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Mar 2008 23:41:13 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!sn-xt-sjc-03!sn-xt-sjc-06!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:16M8juXTt2G5s4JZ+2aQEreiBMs= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 39 Original-Xref: shelby.stanford.edu gnu.emacs.help:157360 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:52730 Archived-At: poppyer writes: > Xavier Maillard writes: > >> Hi, >> >> What is the best way to invoke the above mentionned keys in the >> linux console (I really mean the console, not a xterm) ? > > I managed to get M-< and M-> works, but M-arrow keys still not working. > > 1). make a mykeymap plain txt file: > alt shift keycode 51 = Meta_less > alt shift keycode 52 = Meta_greater > alt keycode 103 = F98 > alt keycode 108 = F99 > string F98 = "\033\033[A" # Meta_up > string F99 = "\033\033[B" # Meta_down > > 2) sudo loadkeys mykeymap > That is the way I've done it in the past. Note that normally, on at leatst GNU Linux systems, there are default emacs keymaps that you can use with loadkeys. Using one of these may provide a better range of mappings. Note that you can combine these keymap files with 'include' statements. Check the loadkeys man page. Tim >> Xavier > > -- -- tcross (at) rapttech dot com dot au