Emacs weirdness at console
Greg 'groggy' Lehey
grog at FreeBSD.org
Mon May 19 01:17:22 PDT 2003
[Format recovered--see http://www.lemis.com/email/email-format.html]
Single line paragraph.
On Monday, 19 May 2003 at 15:34:02 +0800, Robert Storey wrote:
> I'm a Linux refugee, and I confess to being new at FreeBSD.
> I've used Emacs a lot over the past few years under Linux. What I've
> noticed in FreeBSD is that Emacs barely works at the console, yet it
> works fine under X.
Are you having other problems than the one you describe?
> A crucial problem (in the console) is that the ALT key (or M- key in
> Emacs parlance) just doesn't work at all.
The Meta (M-) key is not the Alt key. If you want to use the Alt key
as a Meta key, you need to tell the system to do so.
> That's pretty major - without that key, about half the Emacs
> commands are inaccessible.
No, that's not correct. Hit Esc first, then the character. That has
> The CTRL key (C- ) does work as expected. Again, in X, all is well
> with Emacs.
Try loading the emacs key bindings:
# kbdcontrol -l /usr/share/syscons/keymaps/us.emacs.kbd
You can get the system to load this keymap automatically at boot time
by putting the following line in your /etc/rc.conf:
keymap="us.emacs.kbd" # keymap in /usr/share/syscons/keymaps/* (or NO).
See the man page for kbdcontrol(1) for more details.
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030519/3b02e53f/attachment.bin
More information about the freebsd-questions