[comp.windows.x] xterm question, or pretending a Sparc is a Decstation...

dob@inel.gov (David L. Brooks) (09/01/90)

sorry, but two attempts to mail this user bounced.  the original:

   Newsgroups: comp.windows.x
   From: buckley@royalroads.ca
   Date: 29 Aug 90 18:24:54 GMT
   Organization: The Internet

   We have a simple question about xterm. We would appreciate it if
   you could either help, or direct us to someone who could.

   Q:

       We want to login to a VMS system from an xterm window, and use
       the keypad for EDT functions. We have read the manual, and can
       find nothing that helps, and EDT does not respond to the keypad.
       Is there an easy solution, or something we have missed? We are
       using a SPARCstation1 with type 4 keyboard.

i think i can handle this.  "In the beginning..." that is, a long time ago
when i was using a PC based X server, i made up an xmodmap file of key
mappings to translate the keypad to something resembling what a DECstation
keypad would produce.  then i was able to use EDT successfully, when
telnetting to a VMS host.

the easy way to do this was to bring up an "xev" window, handy way of
showing events, etc.  i typed each of the PC keypad keys (i think it was
with and without shift, or perhaps control) and wrote down the keysym
generated.  then i did the same thing for a DECstation that happened to be
in the vicinity.  voila, halfway or better to an xmodmap file.

so, since you're using a non-DEC machine, you'll need to do something
similar.  sorry i don't have a Sparcstation handy.  silly me, i also
deleted the file i generated, as i no longer have to put up with PCs...

dlb

[fellow Xperts:  *SORRY* about the long signature.  i really tried not to
post!  but if anyone flames me for it this time, i'm going to start
collecting some of the other *REALLY LONG* signatures that have a lot of
neat graphics, etc....  hey, i usually don't get flamed.  it's been a long
summer, and on top of that we have Gramm-Rudmann...]

--
------------------------------------------------------------------------------
David L. Brooks
Idaho National Engineering Lab.  INTERNET: dob@INEL.GOV
POB 1625 M.S. 1206               Phone: (208) 526-0826
Idaho Falls, Id. 83415           FAX:   (208) 526-1419
------------------------------------------------------------------------------

Neither the United States Government nor the Idaho National
Engineering Laboratory nor any of their employees, makes any warranty,
expressed or implied, or assumes any legal liability or responsibility
for the accuracy, completeness, or usefulness of any information,
product, or process disclosed, or represents that its use would not
infringe privately owned rights.  Reference herein to any specific
commercial products, process, or service by trade name, trademark
manufacturer, or otherwise, does not necessarily constitute or imply
its endorsement, recommendation, or favoring by the United States
Government or the Idaho National Engineering Laboratory.  The views and
opinions of authors expressed herein do not necessarily state or reflect
those of the United States Government nor the Idaho National Engineering
Laboratory, and shall not be used for advertising or product endorsement
purposes.