HP-UX System Administrator's Guide: Configuration Management

1. Make sure the file set NONHPTERM is on the system by using either of these methods:
# swlist -l fileset NonHP-Terminfo
If the file set exists, the entry for NonHP-Terminfo.NONHPTERM will be
displayed.
# ll /var/adm/sw/products/NonHP-Terminfo
If the file set exists, the directory /var/adm/sw/products/
NonHP-Terminfo/NONHPTERM will exist.
If the fileset is not on the system, you will need to load it from your latest HP-UX
media. For details, see the HP-UX System Administrator’s Guide: Routine Tasks or
the Software Distributor Administration Guide.
2. Look in the directory /usr/share/lib/terminfo for a file that corresponds to
the terminal you want to set up. For example, suppose you want to set up a user
with a Wyse 100 terminal. All supported terminals whose names begin with w are
contained in the /usr/share/lib/terminfo/w directory. Because this directory
contains an entry wy100, you have probably found the correct file. To be sure,
examine the contents of the file with more. You will see a screen full of special
characters, but near the beginning you will see wy100|100|wyse 100. This
verifies the correct file and shows that you can refer to the Wyse 100 by any of the
names wy100, 100, or wyse 100.
If there is a terminfo file for the terminal you want to add, skip Step 3 and go to
Step 4.
If there is no terminfo file for the terminal you want to add, you will need to
create one. See Step 3 for details.
3. To create a terminfo file, follow the directions in terminfo(4).
To adapt an existing file, follow these steps:
a. Log in as superuser.
b. Make an ASCII copy of an existing terminfo file. For example, make a copy
of the file /usr/share/lib/terminfo/w/wy100 by entering:
# untic /usr/share/lib/terminfo/w/wy100 > new_file
c. Edit the new file to reflect the capabilities of the new terminal. Make sure you
change the name(s) of the terminal in the first line.
d. Compile the new terminfo file:
# tic new_file
For more further information, see tic(1M) and untic(1M)
144 Configuring Peripherals