Input line Keymap

Olivier SIROL (Olivier.Sirol@masi.ibp.fr)
Wed, 02 Apr 1997 16:29:19 +0200

To subscribers of the xforms list from Olivier SIROL <Olivier.Sirol@masi.ibp.fr> :

Hi,

First of all excuse me for joke mail of 1st of april...
I didnt't expect to send it to the Xform mailing list,
its a mistake, sorry.

I have a problem whith Xform 0.86 on a
Linux bechet 2.0.25 #8 Tue Dec 10 20:01:33 MET 1996 i586

I want to change the input line key binding ...

This worked right:

memset(&ekm, 0 , sizeof(ekm));
ekm.del_prev_char = 8;
ekm.del_next_char = 127;
fl_set_input_editkeymap(&ekm);

This didn't work right:

memset(&ekm, 0 , sizeof(ekm));
ekm.del_prev_char = XK_BackSpace;
ekm.del_next_char = XK_Delete;
ekm.moveto_prev_word = XK_Left | FL_CONTROL_MASK;;
ekm.moveto_next_word = XK_Right | FL_CONTROL_MASK;
ekm.del_prev_word = XK_BackSpace | FL_ALT_MASK;
ekm.del_prev_word = XK_Delete | FL_ALT_MASK;
fl_set_input_editkeymap(&ekm);

X11/keysymdef.h says
#define XK_BackSpace 0xFF08
and of course not 0x08.

Xform manual says I can use XK define
(are they hard coded -- i didnt include X11/keysymdef.h)

Can someone help me?

Thanks
Have a good day!
Olivier.

---------------------------------------------------------------------
Olivier SIROL UPMC LIP6 ASIM
Tel: +(33/0).144.27.53.99 4, place Jussieu, 75252 Paris Cedex 05
mailto:sirol@cao-vlsi.ibp.fr Coul. 55-65, 2e etg, Bur. 201
http://www.ecoledoc.ibp.fr/~sirol/ Fax: +(33/0).144.27.30.43
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/xforms-archive/