[comp.unix.aix] Adding vtXXX terminals

lehtonen@cs.Helsinki.FI (Tapio Lehtonen) (12/30/89)

How are terminals to be described to AIX PS/2 1.1.1 so that also
non-ASCII keys on the terminal do something useful? 

I got a vt220 terminal to work both with a modem and with a null modem
cable, but only ASCII codes produce expected results. I get a
backspace with control-H, but the backspace key and cursor arrows etc.
seem to send what they are supposed to send (they echo normally) without
the AIX interpreting then correctly. After RTFMing I found out that
terminfo should have definitions for umpteen terminals, including vtXXX,
so I conclude I am doing something wrong.

I was rather supposing that setting the environment variable TERM to
vt100 or vt100-am shoud do the trick. No such luck, however. So, please
explain to a neophyte in AIX system administration how to pound through
my AIX's thick skull that I have a vt100 terminal with a backspace key.
-- 
Tapio Lehtonen                        PHONE + 358 0 7084206
Dept. Comp. Sci., Univ. of Helsinki   TELEX 122785 TSK SF  FAX 708 4441
Teollisuuskatu 23, SF-00510 Helsinki  INTERNET lehtonen@cs.Helsinki.FI
Finland                               LEHTONEN@FINUH    HYLK::TLEHTONEN

topher@topher.austin.ibm.com (01/10/90)

>How are terminals to be described to AIX PS/2 1.1.1 so that also
>non-ASCII keys on the terminal do something useful? 
>
>I got a vt220 terminal to work both with a modem and with a null modem
>cable, but only ASCII codes produce expected results. I get a
>backspace with control-H, but the backspace key and cursor arrows etc.
>seem to send what they are supposed to send (they echo normally) >without
>the AIX interpreting then correctly.

I think you need too look at the manual for the vt220 itself.  Most
terminals have many setup modes, and probably there is a way to change
what characters are sent when these keys are depressed.
Topher Eliot