ALT key on console25?
John Conover
conover at rahul.net
Thu Dec 16 02:15:00 PST 2004
Doing the following:
mymachine# egrep 014 /usr/share/syscons/keymaps/us.iso.kbd
014 bs bs del del bs bs del del O
mymachine# kbdcontrol -l /usr/share/syscons/keymaps/us.iso.kbd
should set the backspace and shift backspace key sequence to rub out
the character before the cursor on the command line, (it does,) and
ctrl-backspace to delete the character under the cursor; it doesn't.
The problem is that del = bs, so if /etc/defaults/rc.conf has:
keymap="us.iso.kbd"
then scan code 103, (the Delete key on a US 104 key keyboard,) will be
a backspace key, and there will be no Delete key.
Note that if:
keymap="NO"
the backspace and Delete keys work as they should. But if a keymap is
specified, (say, perhaps to map the Alt keys,) then you can't have a
Delete key.
How do you work around del = bs in the keymaps?
Thanks,
John
--
John Conover, conover at rahul.net, http://www.johncon.com/
More information about the freebsd-questions
mailing list