[comp.windows.x] Emulating a VT100 keypad on Sun 3/60

chai@hawk.cs.ukans.edu (Ian Chai) (04/23/91)

I am running X from a sun 3/60 with twm as the window manager.
I usually use a UNIX host, but sometimes I telnet to a VMS
machine. Some of the programs on the VMS machine use the function
key pad of a VT100 terminal.

Does anyone know how to get the keypad or the function keys on the sun 
to emulate the VT100 keypad?

Thanks.

-- 
Ian Chai                     | "God loves you just  the way you are,  but
Internet: chai@cs.ukans.edu  | He loves you too much to let you stay that
  Bitnet: 2fntnougat@ukanvax | way."                   - Harry Poindexter
I don't believe in flaming. If I appear to be flaming, either (a) it's an

mende@athos.rutgers.edu (Bob Mende Pie) (04/23/91)

chai@hawk.cs.ukans.edu (Ian Chai) writes:
>Does anyone know how to get the keypad or the function keys on the sun 
>to emulate the VT100 keypad?

  I have written a *hack* of a script that will define keyboard translations
for all xterms that are invoked after this script is run.   It works on type
2,3 and 4 keyboards.   It allows dynamid switching of numeric, sun, arrow, or
DEC application keypad.   It is available for anonymous ftp in
athos.rutgers.edu /pub/xkeypad.shar



-- 
					/Bob...
{...}!rutgers!mende         mende@cs.rutgers.edu          mende@zodiac.bitnet

chai@hawk.cs.ukans.edu (Ian Chai) (04/24/91)

Thanks, everybody! I got 3 solutions and implemented one.
If anyone'd like me to summarize, let me know.
-- 
Ian Chai                     | "God loves you just  the way you are,  but
Internet: chai@cs.ukans.edu  | He loves you too much to let you stay that
  Bitnet: 2fntnougat@ukanvax | way."                   - Harry Poindexter
I don't believe in flaming. If I appear to be flaming, either (a) it's an