Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Mar 2005 14:10:05 -0300
From:      Alejandro Pulver <alejandro@varnet.biz>
To:        Lars Eighner <eighner@io.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Using META and DEL keys in console
Message-ID:  <20050306141005.57e017bb@ale.varnet.bsd>
In-Reply-To: <20050303135450.H19517@goodwill.io.com>
References:  <20050301194338.3a49611d@ale.varnet.bsd> <20050301220822.F8622@goodwill.io.com> <20050303151945.07303710@ale.varnet.bsd> <20050303135450.H19517@goodwill.io.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 3 Mar 2005 15:40:25 -0600 (CST)
Lars Eighner <eighner@io.com> wrote:

> On Thu, 3 Mar 2005, Alejandro Pulver wrote:
> 
> > Where is the (complete) list of scancodes and which keys produce
> > them?
> >
> > If there is not, as I think, how can I know what scancode is
> > produced by each key in my keyboard (a program, maybe)?
> 
> As a practical matter, for the console keyboard I generally work
> backwards from a known keymap (one of the distribution keymaps),
> and cut and try.  man 5 kbdmap lists all the values you can
> assign to key combinations (note the "5" - otherwise you are
> likely to get man 1 kbdmap by default).  Notice that you can
> use kbdmap or kbdcontrol to load a keymap to experiment with and
> you do not have to reboot to see what happens.  I find this
> works very well with American PC keyboards where there are only
> a handful of keys that are in doubt, even with fairly esoteric
> models, like butterflies with two keypads.
> 
> The distribution maps, after all, were not put together by crazy
> people, so the unshifted values of most of the keys are pretty
> logical.
> 
[snipped]

Your answer helped me much.

Thanks and Best Regards,
Ale



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