From owner-freebsd-questions@FreeBSD.ORG Sun Oct 9 21:41:53 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BB3A16A41F for ; Sun, 9 Oct 2005 21:41:53 +0000 (GMT) (envelope-from kirk@strauser.com) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id E03B543D4C for ; Sun, 9 Oct 2005 21:41:52 +0000 (GMT) (envelope-from kirk@strauser.com) Received: from localhost (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id A684921CAED for ; Sun, 9 Oct 2005 16:41:51 -0500 (CDT) Received: from kanga.honeypot.net ([127.0.0.1]) by localhost (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 49307-05 for ; Sun, 9 Oct 2005 16:41:50 -0500 (CDT) Received: from kanga.honeypot.net (unknown [IPv6:2001:470:1f01:224:1::2]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTP id 4C74221CAA7 for ; Sun, 9 Oct 2005 16:41:50 -0500 (CDT) From: Kirk Strauser To: freebsd-questions@freebsd.org Date: Sun, 9 Oct 2005 16:41:42 -0500 User-Agent: KMail/1.8.2 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart28996603.KdOrnPTtM2"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200510091641.48542.kirk@strauser.com> X-Virus-Scanned: amavisd-new at honeypot.net Subject: Happy Hacking keyboard, Emacs, and meta X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Oct 2005 21:41:53 -0000 --nextPart28996603.KdOrnPTtM2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I have an older PS2 Happy Hacking Lite Keyboard (love it!), but I'm getting= =20 reacquainted with Emacs and one aspect of the keyboard is driving me nuts: = I=20 can't seem to get the diamond keys (like "Windows keys") to send only Meta = to=20 Emacs. I use KDE on FreeBSD 6.0-BETA5 and have it set to run "setxkbmap -option=20 =2Doption altwin:meta_win" at login. If I run "xev" and press those keys, = I=20 see events like: KeyPress event, serial 29, synthetic NO, window 0x4000001, root 0x9e, subw 0x0, time 110894777, (1067,874), root:(1071,907), state 0x0, keycode 115 (keysym 0xffe7, Meta_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False ... and ... KeyPress event, serial 26, synthetic NO, window 0x4000001, root 0x9e, subw 0x0, time 110914901, (651,795), root:(655,828), state 0x0, keycode 116 (keysym 0xffe8, Meta_R), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False However, if I run Emacs and type C-h k (describe-key) and then M-a, for=20 example, I get the error message "H-M-s-a is undefined" as though the=20 keyboard is sending Hyper-Meta-shift(?)-a instead. I'd like to get this fixed ASAP, as using ESC for Meta for the rest of my l= ife=20 doesn't seem too appealing. =2D-=20 Kirk Strauser --nextPart28996603.KdOrnPTtM2 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDSY6c5sRg+Y0CpvERAnWnAJ0bF+dW3aFINwTp9aSp8XN6qM2N0ACdFeqZ bqHwKnTmgfcsVgh/AaETFk0= =gMWo -----END PGP SIGNATURE----- --nextPart28996603.KdOrnPTtM2--