Before you begin: You need to know what terminals or workstation
you want to define. You also need to know what directory the terminal
definitions are in.
Perform the following steps to define terminals or workstations
for a terminfo database.
- Create a subdirectory in your home directory for the terminfo
database terminal definition. For example:
mkdir /u/myhome/terminfo
where myhome is
the name of the home directory. _______________________________________________________________
- Copy the .ti file for the terminal that you are building
the terminfo database for into the directory that you just created.
You can obtain the terminal file from another UNIX operating system, if necessary.
Example: Copy
the file
pc.ti into the directory:
/u/myhome/terminfo/pc.ti
where
myhome is
the name of the home directory.
_______________________________________________________________
- Set the TERMINFO environment variable to the directory that the
terminal definitions are in. Base your choice on the shell that you
want to use.
For the . . . |
Then issue . . . |
---|
z/OS shell |
export TERMINFO=/u/myhome/terminfo
|
tcsh shell |
setenv TERMINFO=/u/myhome/terminfo
|
_______________________________________________________________
- Issue the tic command, specifying the terminal
file. For example:
tic /u/myhome/terminfo/pc.ti
_______________________________________________________________
- Set the TERM environment variable to the name of the terminal
that you want to use. Base your choice on the shell that you want
to use.
For the . . . |
Then issue . . . |
---|
z/OS shell |
export TERM=sun
|
tcsh shell |
setenv TERM=sun
|
_______________________________________________________________
When you are done, you have defined terminals or workstations for
the terminfo database.