[comp.windows.x] defining new keysym?

envbvs@epb7.lbl.gov (Brian V. Smith) (06/21/91)

I've looked in the FAQ, but haven't found the answer.  What I want to
do is add the definition for the "Remove" key on most(all) DEC workstations
to the keysym definitions.

This is for the MIT sample server R4, pl18.  DEC has a separate file,
/usr/include/X11/DECkeysym.h which contains the following:

#define DXK_Remove	0x1000FF00   /* Remove */

but doesn't seem to be used by the MIT server (not surprisingly :-) )
so I tried adding that line to the /usr/include/X11/keysymdef.h file 
(with or without the "D" in the name) to no avail.  When I try to use
the key, say in xmail thus:

None <Key>Remove:     MenuPopdown(help) \n\

in the translations part, the Intrinsics complains that:

Warning: translation table syntax error: Unknown keysym name: Remove
Warning: ... found while parsing 'None <Key>Remove:     MenuPopdown(help) '

I've tried restarting the server just in case it reads the keysymdef.h file
only on startup, but that doesn't help.
I HAVE been successful in using any other key that is already in 
the keysymdef.h file.

Any ideas out there?

-- 
Brian V. Smith    (bvsmith@lbl.gov)
Lawrence Berkeley Laboratory
I don't speak for LBL; they don't pay me enough for that.