[comp.unix.aix] Aixterm -v in 3005

elder@bullet.ecf (ELDER J David) (06/15/91)

Hi there! I have an RS6000 mod 320, 32 Meg memory, running level
3.1.5 of AIX. 

The problem I am having is with the command:

aixterm -v

This should invoke a terminal emulation window under X with 
a VT100 key code mapping. Under 3003, I could use kermit within
a window of this type and get VT100 codes reaching the computer 
at the other end. (The numeric keypad was mapped to the VT100
function and PF keys.) Under 3005, the keypad produces the same
characters in both aixterm and aixterm -v. (These are NOT VT100 codes, with 
the exception of the NUM LOCK key.) The documentation
vaguely mentions that " Note:  Keyboard map is needed for this mode".
It does not say where to find such a map. (There are language specific
keyboard maps in /usr/lpp/X11/defaults/xmodmap, however there is 
nothing for a VT100 keyboard.) Furthermore, it does not describe
how to write such a map for the VT100 keyboard layout and finally 
such action should not be necessary for a command which claims to 
invoke VT emulation. I have contacted IBM software support with the 
usual time lag. I was wondering if anyone had encountered any 
difficulties with this and had a solution. 

Thanks in advance. 

David
-- 
David Elder                                University of Toronto
pelder@pluto.clsc.utoronto.ca              Institute for Aerospace Studies
elder@bullet.ecf.toronto.edu               Fusion Research Group 
stange@gpu.utcs.utoronto.ca 

AER7101@TECHNION.BITNET (Zvika Bar-Deroma) (06/17/91)

In article <1991Jun14.193216.10749@ecf.toronto.edu>, elder@bullet.ecf (ELDER  J
David) says:
>
>Hi there! I have an RS6000 mod 320, 32 Meg memory, running level
>3.1.5 of AIX.
>
>The problem I am having is with the command:
>
>aixterm -v
>
>This should invoke a terminal emulation window under X with
>a VT100 key code mapping. Under 3003, I could use kermit within
>a window of this type and get VT100 codes reaching the computer
>at the other end. (The numeric keypad was mapped to the VT100
>function and PF keys.) Under 3005, the keypad produces the same
>characters in both aixterm and aixterm -v. (These are NOT VT100 codes, with

(stuff deleted)

>
>David
>--
>David Elder                                University of Toronto
I have encountered the same problem. No solution yet.

/Zvika

benson@odi.com (Benson I. Margulies) (06/18/91)

There is an APAR and an emergency fix for aixterm -v in 3005. 
it works fine for me.
-- 
Benson I. Margulies

shah@cdsun.fnal.gov (Hemant Shah) (06/29/91)

Append the following in your .Xdefaults file.

*aixterm.Translations: #override \
        <Key>BackSpace:         string(0x7f) \n\
        <Key>Num_Lock:          string(0x1b) string("OP") \n\
        <Key>KP_Divide:         string(0x1b) string("OQ") \n\
        <Key>KP_Multiply:       string(0x1b) string("OR") \n\
        <Key>KP_Subtract:       string(0x1b) string("OS") \n\
        <Key>KP_Add:            string(0x1b) string("Om") \n\
        <Key>Pause:             string(0x1b) string("Ol") \n\
        <Key>Print:             string(0x1b) string("[28~") \n\
        <Key>Cancel:            string(0x1b) string("[29~") \n\
        <Key>KP_0:              string(0x1b) string("Op") \n\
        <Key>KP_1:              string(0x1b) string("Oq") \n\
        <Key>KP_2:              string(0x1b) string("Or") \n\
        <Key>KP_3:              string(0x1b) string("Os") \n\
        <Key>KP_4:              string(0x1b) string("Ot") \n\
        <Key>KP_5:              string(0x1b) string("Ou") \n\
        <Key>KP_6:              string(0x1b) string("Ov") \n\
        <Key>KP_7:              string(0x1b) string("Ow") \n\
        <Key>KP_8:              string(0x1b) string("Ox") \n\
        <Key>KP_9:              string(0x1b) string("Oy") \n\
        <Key>KP_Decimal:        string(0x1b) string("On") \n\
        <Key>Insert:            string(0x1b) string("[1~") \n\
        <Key>Home:              string(0x1b) string("[2~") \n\
        <Key>Prior:             string(0x1b) string("[3~") \n\
        <Key>Delete:            string(0x1b) string("[4~") \n\
        <Key>End:               string(0x1b) string("[5~") \n\
        <Key>Next:              string(0x1b) string("[6~") \n\
        <Key>KP_Enter:          string(0x1b) string("OM") \n\
        <Key>F1:                string(0x1b) string("[17~") \n\
        <Key>F2:                string(0x1b) string("[18~") \n\
        <Key>F3:                string(0x1b) string("[19~") \n\
        <Key>F4:                string(0x1b) string("[20~") \n\
        <Key>F5:                string(0x1b) string("[21~") \n\
        <Key>F6:                string(0x1b) string("[23~") \n\
        <Key>F7:                string(0x1b) string("[24~") \n\
        <Key>F8:                string(0x1b) string("[25~") \n\
        <Key>F9:                string(0x1b) string("[26~") \n\
        <Key>F10:               string(0x1b) string("[28~") \n\
        <Key>F11:               string(0x1b) string("[29~") \n\
        <Key>F12:               string(0x1b) string("[31~") \n\


----------------------------------------------------------------------------
Hemant Shah
Fermilab  
ACCESS/System Integration 
                      
                     
E-mail :shah@fnal.fnal.gov
 Voice : (708) 840-8071	
   Fax : (708) 840-2783
----------------------------------------------------------------------------