How to emulate VT100 Keypad with xterm?

How to emulate VT100 Keypad with xterm?

Post by Charlie Hea » Thu, 02 Mar 1995 12:29:46



I want to have my xterm setup so that the keypad keys produce the VT100
escape sequences (e.g., ESC Ow, ESC Ox, etc.)  How do I do this?
 
 
 

1. kvt doesn't properly emulate vt100 keypad

Hi folks,

        Is there any way to change the escape sequences generated
by the keypad keys under kvt?  This is a problem around here, since
we still have a number of VMS users who telnet into their machines
and use the VMS editors.  These editors make heavy use of the vt100
keypad.

        In the past, I've had similar problems with xterms, but
xterm allows you to redifine its keys through X resources.  For
example:

*xterm*VT100.Translations: #override\n\
        <KeyPress>Prior : scroll-back(1,page)\n\
        <KeyPress>Next : scroll-forw(1,page)\n \
        <Key>Home: string("\033OP") \n \
        <Key>KP_Divide: string("\033OQ") \n\
        <Key>KP_Multiply: string("\033OR") \n\
        <Key>KP_Subtract: string("\033OS") \n\
        <Key>KP_Add: string("\033Ol") \n\
        <Key>KP_7: string("\033Ow") \n\
        <Key>KP_8: string("\033Ox") \n\
        <Key>KP_9: string("\033Oy") \n\
        <Key>KP_4: string("\033Ot") \n\
        <Key>KP_5: string("\033Ou") \n\
        <Key>KP_6: string("\033Ov") \n\
        <Key>KP_1: string("\033Oq") \n\
        <Key>KP_2: string("\033Or") \n\
        <Key>KP_3: string("\033Os") \n\
        <Key>KP_0: string("\033Op") \n\
        <Key>KP_Decimal: string("\033On") \n\
        <Key>KP_Enter: string("\033OM") \n

Since kde doesn't use X resources (is this true?), I can't
remap the kvt keys in a similar way.

        Has anyone solved this problem?

                        Thanks in advance,
                        Bryan

--
===============================================================================
Bryan Wright                |"If you take cranberries and stew them like
Physics Department          | applesauce, they taste much more like prunes
University of Virginia      | than rhubarb does."  --  Groucho
Charlottesville, VA  22901  |                  

===============================================================================

2. Mod_Rewrite and suExec

3. vt100, vt100-am, vt100-bot-s . . .

4. Please Repost 'Who finger you'

5. ncurses: keypad mapping on Wyse60 (vt100 mode)

6. how to control who can telnet into the box?

7. Keypad definition for vt100 emulation

8. 3Com595 ethernet setup problems

9. How to bind vt100 keypad in tcsh?

10. Mapping VT100 keypad on PC ?

11. How to emulate a vt100 keyboard?

12. can PuTTY emulate vt100/102?

13. Numeric Keypad and Xterm