Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2003 17:47:17 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Robert Storey <y2kbug@ms25.hinet.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Emacs weirdness at console
Message-ID:  <20030519081717.GS77354@wantadilla.lemis.com>
In-Reply-To: <20030519153402.22ac5d71.y2kbug@ms25.hinet.net>
References:  <20030519153402.22ac5d71.y2kbug@ms25.hinet.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--GJ7e10BhKqIkML+d
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

[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
always worked.

> 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=3D"us.emacs.kbd"   # keymap in /usr/share/syscons/keymaps/* (or NO=
).

See the man page for kbdcontrol(1) for more details.

Greg=20
--
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

--GJ7e10BhKqIkML+d
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE+yJMNIubykFB6QiMRAgvAAJ9f3RvHwwIzaWJTc9mHAe+FosAMUACeJcMw
3V/tPnjt+guWQdhjiUhfIzA=
=qbrF
-----END PGP SIGNATURE-----

--GJ7e10BhKqIkML+d--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030519081717.GS77354>