Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jul 1997 08:34:57 +0000 (GMT)
From:      Donn Miller <dmm125@bellatlantic.net>
To:        freebsd-questions@freebsd.org
Cc:        bugs@freebsd.org
Subject:   mapping <alt> to meta key in syscons
Message-ID:  <Pine.BSF.3.96.970705082044.17884A-100000@myname.my.domain>

next in thread | raw e-mail | index | archive | help
Hi,

I've been reading past news articles in *.freebsd.misc about the problems
with syscons and using the <alt> key as meta (ESC) in emacs.  Some
postings suggested adding lines to .emacs and/or loading/modifying the
right keyboard map with syscons - something about needing an 8th bit to
get the syscons to recognize alt as meta.

I basically need to know what to modify, and where.  There are many
possibilities; one is to modify the syscons.c, another is loading a
different key map (I use the default configuration - US).  Another posting
suggested using kbdcontrol to change this.

How is the <alt> key mapped by default in syscons?  Also, what is the best
way to fix it so that alt is mapped to meta in emacs?   Actually, I was
thinking that the "lowest level" solution was best, i.e., changing the
syscons or kbdcontrol behavior instead of just simply remapping the keys
under emacs.  Presumably, I would think that a good solution would be to
make the <alt> behave the same way as pcvt allows.

   Donn

   email: dmm125@bellatlantic.net
   phone: 412 547-9089




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970705082044.17884A-100000>