🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #23948

defining new keysym?

#23948
From: Brian V. Smith
Date: Fri, 21 Jun 1991 16:15
32 lines
1692 bytes
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.
Technical Details
Message-ID: <14560@dog.ee.lbl.gov>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!agate!dog.ee.lbl.gov!epb7.lbl.gov!envbvs

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!agate!dog.ee.lbl.gov!epb7.lbl.gov!envbvs
From: envbvs@epb7.lbl.gov (Brian V. Smith)
Newsgroups: comp.windows.x
Subject: defining new keysym?
Keywords: keysymdef.h not enough?
Message-ID: <14560@dog.ee.lbl.gov>
Date: 21 Jun 91 16:15:58 GMT
Article-I.D.: dog.14560
Reply-To: envbvs@epb7.lbl.gov (Brian V. Smith)
Organization: lbl
Lines: 32
X-Local-Date: Fri, 21 Jun 91 09:15:58 PDT