Subject: Re: Backspace in X?
To: None <port-pmax@netbsd.org>
From: Nino Margetic <nino@cng.fr>
List: port-pmax
Date: 12/19/2000 20:18:08
> Stupid question: I just installed NetBSD-1.5/pmax and the backspace key on
> the console is not working properly (displays a "~"). I tried fixing it

*** OK. Managed to get it right eventually... Here's the complete story..
I have the sfb framebuffer with the LK401-AA keyboard (under standard X as
delivered with 1.5) and my BackSpace key was misbehaving.

The file to edit is:

/usr/X11R6/lib/X11/xkb/symbols/digital/vt

and the line 70 needs to be modifed so that instead of:

    key <BKSP> {       [     Delete ] };

it states:

    key <BKSP> {       [     BackSpace,        Delete ] };

Then one needs to run the following commands:

cd /usr/X11R6/lib/X11/xkb
xkbcomp -m lk401 keymap/digital/us :0.0

to modify the *running* X server. I am still trying to figure out how to
do this automagically at the start of the X server...

HTH,

--Nino