🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #23773

Setting keypad mode under DECWindows

#23773
From: M I Parsons
Date: Sun, 16 Jun 1991 18:04
17 lines
1208 bytes
I'm in the process of converting a large VWS/UIS based graphics application
to DECWindows. At the moment I'm trying to get the keyboard stuff to work
correctly. Unfortunately when I run my application it always comes up in
numeric keypad mode. This means I can't distinguish between the keypad and
the other numeric keys on the keyboard. I'm using XLookUpString and 
XKeysymToString to convert keypress events to ascii.

I thought of using SMG$SET_KEYPAD_MODE but I obviously don't know the virtual
keyboard identifier which X is using (if it is for that matter :-) ). Anyone
else had to do this?

BTW, setup: VAXstation 3100, VMS5.4-1, DECWindows.

Thanks in advance,

Mark Parsons.           Edinburgh High Energy Physics Group
---ooOOOoo---           mip@castle.edinburgh.ac.uk OR parsons@vxcern.cern.ch
Technical Details
Message-ID: <11081@castle.ed.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!sdd.hp.com!think.com!mintaka!bloom-beacon!eru!kth.se!sunic!mcsun!ukc!edcastle!mip

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!sdd.hp.com!think.com!mintaka!bloom-beacon!eru!kth.se!sunic!mcsun!ukc!edcastle!mip
From: mip@castle.ed.ac.uk (M I Parsons)
Newsgroups: comp.windows.x
Subject: Setting keypad mode under DECWindows
Message-ID: <11081@castle.ed.ac.uk>
Date: 16 Jun 91 18:04:30 GMT
Organization: Edinburgh University
Lines: 17