From owner-freebsd-questions Tue May 21 7:25:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id E042337B40B for ; Tue, 21 May 2002 07:25:44 -0700 (PDT) Received: from max ([24.61.57.241]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020521142544.CWTD2751.rwcrmhc52.attbi.com@max> for ; Tue, 21 May 2002 14:25:44 +0000 Message-ID: <200205211025510305.032653B4@mail.attbi.com> X-Mailer: Calypso Version 3.30.00.00 (4) Date: Tue, 21 May 2002 10:25:51 -0400 Reply-To: jdarnold@buddydog.org From: "Jonathan Arnold" To: freebsd-questions@FreeBSD.ORG Subject: Meta key & Emacs problem solved Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is more of an answer than a question. I've been struggling all morning with the most trivial of problems - how to get Emacs to recognize the Alt key as the Meta key. You'd think this would be a simple, common problem, with an easy to find answer, but, at least to my weary eyes, I never found one. I saw a few postings on questions that asked about this, and several on the kde lists, but none with a succinct answer. Now, I believe I have one: Use the 101 (or 102) key keyboard layout in XF86Setup or config or whatever. Ie., in your /etc/XF86Config, have: XkbSymbols "us(pc101)" XkbModel "pc101" Not, like some suggest, "microsoft" or "pc104". For some reason, this maps the Windows key to be Meta, not the Alt key. I'll post this to my FreeBSD weblog too, which I promise to freshen a lot more regularily. -- Jonathan Arnold (mailto:jdarnold@buddydog.org) Daemon Dancing in the Dark, a FreeBSD weblog: http://jdarnold.tzo.com/FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message