backspace not working right

1999-12-20 Thread Bill Studenmund

I'm running lyx-1.1.2 on NetBSD, using the NetBSD package system.

In the main editing window, backspace is giving me forward-delete (as is
delete), rather than back-delete.

I've read the list archives, used xev and found I can send both backspace
and delete codes, and noticed that in the file save window (save as),
backspace does the right thing. It's just in the main window it's wrong.

I think something's wrong with how the key bindings are set up, but I'm
not sure how to debug. Thoughts?

Take care,

Bill



Re: backspace not working right

1999-12-20 Thread Carlos A M dos Santos


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


Casantos

--
Computers make excellent and efficient servants, but I have no wish to
serve under them.  Captain, a starship also runs on loyalty to one
man.  And nothing can replace it or him.
-- Spock, "The Ultimate Computer", stardate 4729.4

On Mon, 20 Dec 1999, Bill Studenmund wrote:
 I'm running lyx-1.1.2 on NetBSD, using the NetBSD package system.
 
 In the main editing window, backspace is giving me forward-delete (as is
 delete), rather than back-delete.
 
 I've read the list archives, used xev and found I can send both backspace
 and delete codes, and noticed that in the file save window (save as),
 backspace does the right thing. It's just in the main window it's wrong.
 
 I think something's wrong with how the key bindings are set up, but I'm
 not sure how to debug. Thoughts?



Re: backspace not working right

1999-12-20 Thread Bill Studenmund

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 0xc1,
root 0x33, subw 0x0, time 2874682216, (114,64), root:(931,99),
state 0x0, keycode 59 (keysym 0x, Delete), same_screen YES,
XLookupString gives 1 characters:  ""

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

KeyPress event, serial 18, synthetic NO, window 0xc1,
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 0xc1,
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 0xc1,
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



Re: backspace not working right

1999-12-20 Thread Lars Gullik Bjønnes

Bill Studenmund [EMAIL PROTECTED] writes:

| 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?

No it did not ignore the shifted-ness. And that is probably the error.
To ignore the shift a keybinding similar to this has be used:

\bind "~S-BackSpade" command

The ~ is to say that shift is not important and should be ignored.

Lgb



Re: backspace not working right

1999-12-20 Thread Bill Studenmund

On 21 Dec 1999, Lars Gullik Bjønnes wrote:

 Bill Studenmund [EMAIL PROTECTED] writes:
 
 | 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?
 
 No it did not ignore the shifted-ness. And that is probably the error.
 To ignore the shift a keybinding similar to this has be used:
 
 \bind "~S-BackSpade" command
 
 The ~ is to say that shift is not important and should be ignored.

Ok. So if I understand you right, the fact that it was something like:

   59   0x  (Delete)0xff08  (BackSpace)

Lyx was thinking that BackSpaces were a little different, as S-BackSpace?

That makes sense then. :-)

Take care,

Bill



backspace not working right

1999-12-20 Thread Bill Studenmund

I'm running lyx-1.1.2 on NetBSD, using the NetBSD package system.

In the main editing window, backspace is giving me forward-delete (as is
delete), rather than back-delete.

I've read the list archives, used xev and found I can send both backspace
and delete codes, and noticed that in the file save window (save as),
backspace does the right thing. It's just in the main window it's wrong.

I think something's wrong with how the key bindings are set up, but I'm
not sure how to debug. Thoughts?

Take care,

Bill



Re: backspace not working right

1999-12-20 Thread Carlos A M dos Santos


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


Casantos

--
Computers make excellent and efficient servants, but I have no wish to
serve under them.  Captain, a starship also runs on loyalty to one
man.  And nothing can replace it or him.
-- Spock, "The Ultimate Computer", stardate 4729.4

On Mon, 20 Dec 1999, Bill Studenmund wrote:
 I'm running lyx-1.1.2 on NetBSD, using the NetBSD package system.
 
 In the main editing window, backspace is giving me forward-delete (as is
 delete), rather than back-delete.
 
 I've read the list archives, used xev and found I can send both backspace
 and delete codes, and noticed that in the file save window (save as),
 backspace does the right thing. It's just in the main window it's wrong.
 
 I think something's wrong with how the key bindings are set up, but I'm
 not sure how to debug. Thoughts?



Re: backspace not working right

1999-12-20 Thread Bill Studenmund

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 0xc1,
root 0x33, subw 0x0, time 2874682216, (114,64), root:(931,99),
state 0x0, keycode 59 (keysym 0x, Delete), same_screen YES,
XLookupString gives 1 characters:  ""

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

KeyPress event, serial 18, synthetic NO, window 0xc1,
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 0xc1,
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 0xc1,
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



Re: backspace not working right

1999-12-20 Thread Lars Gullik Bjønnes

Bill Studenmund [EMAIL PROTECTED] writes:

| 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?

No it did not ignore the shifted-ness. And that is probably the error.
To ignore the shift a keybinding similar to this has be used:

\bind "~S-BackSpade" command

The ~ is to say that shift is not important and should be ignored.

Lgb



Re: backspace not working right

1999-12-20 Thread Bill Studenmund

On 21 Dec 1999, Lars Gullik Bjønnes wrote:

 Bill Studenmund [EMAIL PROTECTED] writes:
 
 | 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?
 
 No it did not ignore the shifted-ness. And that is probably the error.
 To ignore the shift a keybinding similar to this has be used:
 
 \bind "~S-BackSpade" command
 
 The ~ is to say that shift is not important and should be ignored.

Ok. So if I understand you right, the fact that it was something like:

   59   0x  (Delete)0xff08  (BackSpace)

Lyx was thinking that BackSpaces were a little different, as S-BackSpace?

That makes sense then. :-)

Take care,

Bill



backspace not working right

1999-12-20 Thread Bill Studenmund

I'm running lyx-1.1.2 on NetBSD, using the NetBSD package system.

In the main editing window, backspace is giving me forward-delete (as is
delete), rather than back-delete.

I've read the list archives, used xev and found I can send both backspace
and delete codes, and noticed that in the file save window (save as),
backspace does the right thing. It's just in the main window it's wrong.

I think something's wrong with how the key bindings are set up, but I'm
not sure how to debug. Thoughts?

Take care,

Bill



Re: backspace not working right

1999-12-20 Thread Carlos A M dos Santos


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


Casantos

--
Computers make excellent and efficient servants, but I have no wish to
serve under them.  Captain, a starship also runs on loyalty to one
man.  And nothing can replace it or him.
-- Spock, "The Ultimate Computer", stardate 4729.4

On Mon, 20 Dec 1999, Bill Studenmund wrote:
> I'm running lyx-1.1.2 on NetBSD, using the NetBSD package system.
> 
> In the main editing window, backspace is giving me forward-delete (as is
> delete), rather than back-delete.
> 
> I've read the list archives, used xev and found I can send both backspace
> and delete codes, and noticed that in the file save window (save as),
> backspace does the right thing. It's just in the main window it's wrong.
> 
> I think something's wrong with how the key bindings are set up, but I'm
> not sure how to debug. Thoughts?



Re: backspace not working right

1999-12-20 Thread Bill Studenmund

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 0xc1,
root 0x33, subw 0x0, time 2874682216, (114,64), root:(931,99),
state 0x0, keycode 59 (keysym 0x, Delete), same_screen YES,
XLookupString gives 1 characters:  ""

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

KeyPress event, serial 18, synthetic NO, window 0xc1,
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 0xc1,
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 0xc1,
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



Re: backspace not working right

1999-12-20 Thread Lars Gullik Bjønnes

Bill Studenmund <[EMAIL PROTECTED]> writes:

| 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?

No it did not ignore the shifted-ness. And that is probably the error.
To ignore the shift a keybinding similar to this has be used:

\bind "~S-BackSpade" 

The ~ is to say that shift is not important and should be ignored.

Lgb



Re: backspace not working right

1999-12-20 Thread Bill Studenmund

On 21 Dec 1999, Lars Gullik Bjønnes wrote:

> Bill Studenmund <[EMAIL PROTECTED]> writes:
> 
> | 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?
> 
> No it did not ignore the shifted-ness. And that is probably the error.
> To ignore the shift a keybinding similar to this has be used:
> 
> \bind "~S-BackSpade" 
> 
> The ~ is to say that shift is not important and should be ignored.

Ok. So if I understand you right, the fact that it was something like:

   59   0x  (Delete)0xff08  (BackSpace)

Lyx was thinking that BackSpaces were a little different, as S-BackSpace?

That makes sense then. :-)

Take care,

Bill