ITEM: BS9485L

Building new terminfo files for new emulations


ENV:
AIX 4.1.4
7009-C10

DESC:
You're going to have users dialing into AIX from various PC software
packages (ProComm, etc.) and they will be emulating vt100 among
other things.  Only f1-f4 function keys will work.

ACT:
Explained how to add kf\#= entries into your own terminfo file...

cd /usr/lib/terminfo
cp dec.ti mydec.ti
vi mydec.ti and change the NAME of vt100 to myvt100

Then set whatever values into the function keys that your PC emulator
is sending... If you hit F6 and the PC sends ESC-abc then put in
kf6=\\Eabc

After making changes to the terminfo file, compile it with:
tic mydec.ti

The new entry will go into /usr/lib/terminfo/m/myvt100 and setting
your TERM=myvt100 will work.

Different emulators on the various PCs may send different values since
a vt100 terminal only has 4 function keys, making the others be
"undefined"... If possible, use an actual term type that has 
the definitions for all of the function keys already; otherwise, you
will need to built multiple .ti files and new term types.

To test what a terminal sends when you hit a function key:

stty -echo ; od -xc ; stty echo
Hit the function key

This will show (in hex) what is sent by the terminal when you hit the
function key.


Support Line: Building new terminfo files for new emulations ITEM: BS9485L
Dated: January 1997 Category: N/A
This HTML file was generated 99/06/24~13:30:20
Comments or suggestions? Contact us