Справочник Пользователя для Perle Systems 5500161-40

Скачать
Страница из 424
 329
Downloading Terminal Definitions
Downloading Terminal Definitions
All terminal types can be used on the IOLAN. Some terminal types which are not already defined in 
the IOLAN, however, are unable to use Full Screen mode (menus) and may not be able to page 
through sessions properly. When installed, the IOLAN 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 IOLAN. 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 enabled.
2.
Configure TFTP in the IOLAN as necessary.
3.
Select 
Tools
Advanced
Custom Files
 from the menu bar in DeviceManager and 
Administration
Custom Files
 in WebManager.
4.
From the 
File Type
 drop-down, select 
Download Terminal Definition
. Select the terminal 
definition option 
1
2
, or 
3
 and then browse to the terminal definition file that is being 
downloaded to the IOLAN.
5.
In the 
Terminal
 profile, 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=