From owner-freebsd-stable Sat Sep 8 10:32:38 2001 Delivered-To: freebsd-stable@freebsd.org Received: from yuha.menta.net (yuha.menta.net [212.78.128.42]) by hub.freebsd.org (Postfix) with ESMTP id BADF637B407 for ; Sat, 8 Sep 2001 10:32:33 -0700 (PDT) Received: from gibson.menta.net ([212.78.128.22]) by yuha.menta.net (Netscape Messaging Server 4.15) with ESMTP id GJCU5G00.9OK for ; Sat, 8 Sep 2001 19:34:28 +0200 Received: from juli.local ([62.57.116.167]) by gibson.menta.net (Netscape Messaging Server 4.15) with ESMTP id GJCTWI01.FHR for ; Sat, 8 Sep 2001 19:29:06 +0200 Received: by juli.local; Sat, 8 Sep 2001 19:39:25 +0200 (CEST) Full-Name: Julio Merino Vidal Date: Sat, 8 Sep 2001 19:39:25 +0200 From: Julio Merino To: stable@freebsd.org Subject: Getting [alt] key working on console Message-ID: <20010908193925.A5213@juli.local> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD juli.local 4.3-STABLE FreeBSD 4.3-STABLE Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --5vNYLRcllDrimb99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi all, I've been looking trought the mail archives and found some information about how to write a keymap to get the [alt] key working. (My keyboard is an spanish one). What I've found is this: I've to get my current keymap (i.e. spanish.iso.acc) and copy it to spanish.emacs.acc, for example. Then I've to go trought each letter, get its ascii(7) value and at to it the 0x80 hex number. Well, done it, but some times it works and some others it doesn't. I usually get weird characters when pressing alt+key. I think there is some error when doing this +0x80 in one of the keys, but I don't know... (I get this same, weird, behavivour when trying the us.emacs keymap that comes with freebsd). Any idea? I want to use readline's keybinding on the console! And emacs... Why FreeBSD's console is so problematic?... Other problems that I have are these: - The backspace key does not work as expected in emacs. I've tried the us.emacs hack, and works fine with emacs, but then, other programs like BitchX, do not get the backspace key properly. - It can't distinguish between Alt and AltGr (spanish key)... Any ideas? Sorry for this so long message, but I'm getting crazy. Thanks in advance. --5vNYLRcllDrimb99 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7mlfNzz00ZOPKycwRAmR+AKCbmupgIb0O6CZeNa6hIopyuIGPJwCgjJEB nWPMScUMeb4ftwvAIv/I4ds= =dJrK -----END PGP SIGNATURE----- --5vNYLRcllDrimb99-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message