On Mon, 20 Dec 1999, Carlos A M dos Santos wrote:

> You did not mention which hardware you have (NetBSD runs on lots of
> architectures) but supposing you have an PC-syatem, yo can try
> 
>       xmodmap -e "keycode 22 = BackSpace"
> 
> Check to see if there is a fine named /usr/X11R6/lib/X11/xinit/.Xmodmap

I've seen this when running lyx on an alpha and on an i386, both
displaying to MacX.

I've used the xev (X event) program to determine what key codes get sent
from my X server. "delete" produces a delete. "shift-delete" produces a
backspace. Here's the output:

KeyPress event, serial 16, synthetic NO, window 0xc00001,
    root 0x33, subw 0x0, time 2874682216, (114,64), root:(931,99),
    state 0x0, keycode 59 (keysym 0xffff, Delete), same_screen YES,
    XLookupString gives 1 characters:  ""

KeyRelease event, serial 18, synthetic NO, window 0xc00001,
    root 0x33, subw 0x0, time 2874682266, (114,64), root:(931,99),
    state 0x0, keycode 59 (keysym 0xffff, Delete), same_screen YES,
    XLookupString gives 1 characters:  ""

KeyPress event, serial 18, synthetic NO, window 0xc00001,
    root 0x33, subw 0x0, time 2874684169, (114,64), root:(931,99),
    state 0x0, keycode 64 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyPress event, serial 18, synthetic NO, window 0xc00001,
    root 0x33, subw 0x0, time 2874684170, (114,64), root:(931,99),
    state 0x1, keycode 59 (keysym 0xff08, BackSpace), same_screen YES,
    XLookupString gives 1 characters:  "

KeyRelease event, serial 18, synthetic NO, window 0xc00001,
    root 0x33, subw 0x0, time 2874684302, (114,64), root:(931,99),
    state 0x1, keycode 59 (keysym 0xff08, BackSpace), same_screen YES,
    XLookupString gives 1 characters:  "


I tried your suggested change, and it worked (well, I changed the key
code, but that wasn't major). What I DON'T understand is why shift-delete
didn't work? Was lyx ignoring the shifted-ness?

Take care,

Bill

Reply via email to