Date: Wed, 2 Mar 2005 10:55:49 +1030 From: Greg 'groggy' Lehey <grog@FreeBSD.org> To: Alejandro Pulver <alejandro@varnet.biz> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: Using META and DEL keys in console Message-ID: <20050302002549.GX73162@wantadilla.lemis.com> In-Reply-To: <20050301194338.3a49611d@ale.varnet.bsd> References: <20050301194338.3a49611d@ale.varnet.bsd>
next in thread | previous in thread | raw e-mail | index | archive | help
--E0IhBwMLbrMClE+H Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tuesday, 1 March 2005 at 19:43:38 -0300, Alejandro Pulver wrote: > Hello, > > I have a PS/2 PC-101 keyboard. > > I would like to use my META (ALT in my keyboard) key instead of ESC in > console mode. META works fine in an xterm. I also would like to use DEL > and others. > > [description omitted] There's a special key map for Emacs. Try this: 1. To test it, do: kbdcontrol -l /usr/share/syscons/keymaps/us.emacs.kbd 2. To have it set automatically on boot, put this in your /etc/rc.conf: keymap=us.emacs.kbd > 2) Some strange thing happens with Emacs in console mode: when I press > DEL, it is interpreted (literally) as C-h, and C-h is used as > BACKSPACE. It's not clear which keys you're talking about here, nor which codes they're really generating. If you still have problems, please clarify. > And C-d acts as DEL. That doesn't sound very likely, though I haven't played around with the termcap entries. > 3) Also DEL does not do anything in xterm. In X, try running xev to see what it's really generating. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. --E0IhBwMLbrMClE+H Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFCJQgNIubykFB6QiMRAopSAJ9syK0A0+CMI/WqruPnt0JUIej26gCfZcYB Z0tTa3TDBejIZ2xxz0hipBo= =wHyV -----END PGP SIGNATURE----- --E0IhBwMLbrMClE+H--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050302002549.GX73162>