beautypg.com

Downloading terminal definitions, Creating terminal definition files – Perle Systems DS1 User Manual

Page 43

background image

Downloading Terminal Definitions

Configuring the Device Server 43

Downloading Terminal Definitions

All terminal types can be used on the Device Server. Some terminal types which are not already
defined in the Device Server, however, are unable to use Full Screen mode (menus) and may not be
able to page through sessions properly. When installed, the Device Server has several defined
terminal types—Dumb, WYSE60, VT100, ANSI, TVI925, IBM3151, VT320, and HP700.
If you are not using, or cannot emulate, any of these terminal types, you can add up to three
additional terminal definitions to the Device Server. The terminal definitions can be downloaded
from a TCP/IP host.
To download terminal definitions, follow these steps:

1.

Decide which TCP/IP host you are going to use. It must be a machine with TFTP enabled.

2.

Configure TFTP in the Device Server as necessary.

3.

Download the new terminal definition to the Device Server as

Term1

,

Term2

, or

Term3

.

4.

In the

Line

configuration, select the

Terminal Type Termx

that you custom defined.

Creating Terminal Definition Files

To create new terminal definition files, you need to copy and edit the information from the terminfo
database.

1.

On a UNIX host, change directory to

/usr/lib/terminfo/x

(where

x

is the first letter of the

required terminal type). For a Wyse60, for example, you would enter the command

cd /usr/lib/terminfo/w

.

2.

The termcap files are compiled, so use the command

infocmp termfile

to read the required

file (for example:

infocmp wy60

).

3.

Check the file for the attribute

xmc#n

(where

n

is greater than or equal to 1). This attribute will

corrupt menu and form displays making the terminal type unsuitable for using Menu mode.

4.

If the terminal definition is suitable, change to a directory of your choice.

5.

Rename and copy the file to the directory specified at step 4. using the command

infocmp termfile > termn

where

n

is greater than or equal to 1; (for example,

infocmp wy50 > term1

). Make sure the file has global read and execute permission for its

entire path.

6.

Edit the file to include the following capabilities in this format:

term=
acsc=
bold=
civis=
clear=
cnorm=
cup=
rev=
rmacs=
rmso=
smacs=
smso=
page=
circ=