z/OS UNIX System Services Planning
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Steps for defining terminals or workstations for a terminfo database

z/OS UNIX System Services Planning
GA32-0884-00

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.

  1. 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.

    _______________________________________________________________

  2. 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.

    _______________________________________________________________

  3. 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

    _______________________________________________________________

  4. Issue the tic command, specifying the terminal file. For example:
    tic /u/myhome/terminfo/pc.ti

    _______________________________________________________________

  5. 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.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014