From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Key bindings Date: Sat, 23 Jul 2005 00:56:41 +0200 Message-ID: <624676a0fd8e577686f5feb3e7fe4178@Web.DE> References: <200507222132.22829.StefanBienert@web.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1122073516 27347 80.91.229.2 (22 Jul 2005 23:05:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Jul 2005 23:05:16 +0000 (UTC) Cc: emacs list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 23 01:05:07 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dw6ZN-0001G5-N3 for geh-help-gnu-emacs@m.gmane.org; Sat, 23 Jul 2005 01:04:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dw6bX-0005Ru-G3 for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Jul 2005 19:06:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dw6Yf-00051v-Uj for help-gnu-emacs@gnu.org; Fri, 22 Jul 2005 19:03:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dw6Yc-00050d-FQ for help-gnu-emacs@gnu.org; Fri, 22 Jul 2005 19:03:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dw6Yb-0004yk-Ao for help-gnu-emacs@gnu.org; Fri, 22 Jul 2005 19:03:53 -0400 Original-Received: from [217.72.192.225] (helo=smtp07.web.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dw6be-0006SB-4d for help-gnu-emacs@gnu.org; Fri, 22 Jul 2005 19:07:02 -0400 Original-Received: from [84.245.189.190] (helo=[192.168.1.2]) by smtp07.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.105 #297) id 1Dw6Rf-00028C-00; Sat, 23 Jul 2005 00:56:43 +0200 In-Reply-To: <200507222132.22829.StefanBienert@web.de> Original-To: Stefan Bienert X-Mailer: Apple Mail (2.622) X-Sender: Peter_Dyballa@web.de 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:28097 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28097 Am 22.07.2005 um 21:32 schrieb Stefan Bienert: > I got a new problem...in the computer at the university, the meta-key=20= > is on > "alt", at my hoem pc its on "esc". Is there a simple way to change it=20= > to > "alt" for my home pc, too? > My system is a gentoo-linux. But I really got no idea about keyboards. > When your Emacsen are not running in a terminal emulation but as X=20 clients, it's not about keyboards. There are two programmes in X11: xev and xmodmap. Xmodmap accepts=20 arguments to print out the X modifiers or all keys. Xev tells you the=20 keysyms and keycodes you press. So you can check out a key (or more) to=20= work as meta modifier. Comparing both worlds you can now write a little script .xmodmaprc like: keycode 66 =3D Meta_L keycode 69 =3D Meta_R =09 clear Mod2 add Mod2 =3D Meta_L Meta_R In .xinitrc you can add: xmodmap .xmodmaprc So upon launching X11 you'll have at home the same setup as at=20 university. -- Mit friedvollen Gr=FC=DFen Pete In a world without walls and fences, who needs gates and windows?