Skip site navigation (1)Skip section navigation (2)
Date:      16 Dec 2004 08:17:43 -0000
From:      conover@rahul.net (John Conover)
To:        freebsd-questions@freebsd.org
Subject:   Re: ALT key on console25?
Message-ID:  <20041216081743.18047.qmail@rahul.net>
In-Reply-To: <20041215224126.X54401@goodwill.io.com>
References:  <20041215214746.5288.qmail@rahul.net> <20041215224126.X54401@goodwill.io.com>

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

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@rahul.net, http://www.johncon.com/



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