Binding special keys

2004-10-26 Thread Pelle Nilsson
Hi!

I have an Internet/Multimedia keyboard, and I want to bind the
Back/Forward buttons to undo and redo. I have my xmodmap set up
correctly so that the keys generates keysyms XF86Back and
XF86Forward. I can bind them in other apps, for example, in xemacs the
following work:

(global-set-key [XF86Back] 'undo)
(global-set-key [XF86Forward] 'redo)


But in LyX, the following does not work:

\bind XF86Back   undo
\bind XF86Forwardredo


What am I doing wrong?


-- 
Pelle Nilsson [EMAIL PROTECTED]
Älvängsvägen 3
172 37 Sundbyberg
08-764 59 58
073-63 800 80


Binding special keys

2004-10-26 Thread Pelle Nilsson
Hi!

I have an Internet/Multimedia keyboard, and I want to bind the
Back/Forward buttons to undo and redo. I have my xmodmap set up
correctly so that the keys generates keysyms XF86Back and
XF86Forward. I can bind them in other apps, for example, in xemacs the
following work:

(global-set-key [XF86Back] 'undo)
(global-set-key [XF86Forward] 'redo)


But in LyX, the following does not work:

\bind XF86Back   undo
\bind XF86Forwardredo


What am I doing wrong?


-- 
Pelle Nilsson [EMAIL PROTECTED]
Älvängsvägen 3
172 37 Sundbyberg
08-764 59 58
073-63 800 80


Binding special keys

2004-10-26 Thread Pelle Nilsson
Hi!

I have an Internet/Multimedia keyboard, and I want to bind the
Back/Forward buttons to undo and redo. I have my xmodmap set up
correctly so that the keys generates keysyms XF86Back and
XF86Forward. I can bind them in other apps, for example, in xemacs the
following work:

(global-set-key [XF86Back] 'undo)
(global-set-key [XF86Forward] 'redo)


But in LyX, the following does not work:

\bind "XF86Back"   "undo"
\bind "XF86Forward""redo"


What am I doing wrong?


-- 
Pelle Nilsson <[EMAIL PROTECTED]>
Älvängsvägen 3
172 37 Sundbyberg
08-764 59 58
073-63 800 80