Setting Up The Terminal

The functionality described assumes the use of a NEC terminal with Prism support. Before using REMLOG to access a remote environment, the terminal from which REMLOG is to be used must be correctly set up and identified to the system.

Terminal Types

Valid UNIX terminal types are held in the directory /usr/lib/terminfo and can be displayed using the ls command. For example, to display all the valid terminal types beginning with the letter 'p', enter:

ls /usr/lib/terminfo/p

The P9, P12 and P14 terminals are supported when connecting to any remote environment (each of these terminal types is defined in the /usr/lib/terminfo/p directory). Additional types may be supported when connecting to other UNIX environments (see your System Administrator).

Note

  • You must ensure that you know which type of terminal you are using and that it has an entry in /usr/lib/terminfo.

  • It is possible to use terminals other than those supported by NEC but some features (video attributes, for example) will be lost.

The TERM Variable

The TERM variable informs the UNIX system of the terminal type. Before using REMLOG, you must check that the TERM variable is set to the correct terminal type.

From the $ prompt (default working environment) the setting of TERM can be checked by entering:

$ env
HOME=/usr/reality
HZ=100
LOGNAME=reality
MAIL=/usr/mail/reality
PATH=:/bin:/usr/bin
TERM=p14
TZ=GMTO

You can alter the TERM variable, as shown in the following example:

$ TERM=p9
$ export TERM

This sets the terminal type to P9.

Note

It is very important that the terminal type is set correctly before you attempt to use the remote logon facility.