From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pascal Bourguignon Newsgroups: gmane.emacs.help Subject: Re: newbie needs help Date: Sat, 25 Mar 2006 16:38:34 +0100 Organization: Informatimago Message-ID: <87acbek005.fsf@thalassa.informatimago.com> References: <1143296622.731429.44330@g10g2000cwb.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1143498038 27886 80.91.229.2 (27 Mar 2006 22:20:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Mar 2006 22:20:38 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 28 00:20:34 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 1FO04K-0004ly-QM for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Mar 2006 00:20:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FO04K-0005KT-8b for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Mar 2006 17:20:12 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-X-Trace: individual.net CJ7Az/EnQUd75VRFBTJc/QkuGeChxR0oewvHMeaHMoGVVzTC5L Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:J0OX/6Cm6R9EFcrZmOsbPPT1r2A= Original-Xref: shelby.stanford.edu gnu.emacs.help:138376 Original-To: help-gnu-emacs@gnu.org 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:34031 Archived-At: "len" writes: > I am trying to change the keymapping for the control key and caps lock. > I have successfully accomplished this through xmodmap in my gui > environment. I would like to do the same in the command line > environment. I have read the man pages in xmodmap and have found the > lines of code. I do not know where to put the code. I am trying to > learn Linux/Unix and Emacs. If by "command line environment" you mean the linux console, then you'll have to edit a kmap file and load it with loadkeys. Copy and edit one of the files in /usr/share/kbd/keymaps/i386/qwerty/ Use loadkeys to load it. How to make it remanent depends on your distribution. > Also because I have a dual boot system I would like to make the same > key swap in my windows XP because I have also loaded Emacs there also. -- __Pascal Bourguignon__ http://www.informatimago.com/ Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. -- Georges W. Bush