Use the set terms command to
Define terminal types and the escape sequence a terminal uses when initiating and maintaining multiple sessions
Display entries in the term table
Remove entries from the term table
Normal users can display entries in the term table. Administrator (root) privileges are required to configure terminals and remove entries from the term table.
Here is some information on the set terms command:
The set terms command configures PortServer to handle terminals that are not
Connected to a device/terminal server over the Ethernet
Enter the set terms command as shown below to configure terminals:
set terms [clrseq=escape_seq] [npages=pages]
[swtseq=SessNumSequence] termtype=type
Enter the set terms command with no options, or a range of ports, as shown below, to display basic information (just the termtype) for each terminal in the term table:
set terms [range=range]
Enter the set terms command with a range of one port, as shown below, to display all entries in the term table for the specified terminal:
set terms [range=port#]
Enter the set terms command as shown below to remove entries from the term table:
set terms {rmterm=termtype} | {rmterm=on
range=range}
|
Command Field |
Description |
|
clrseq |
Specifies the escape sequence that clears the current screen. This should be the sequence specified by the manufacturer of your terminal. |
|
npages |
Specifies the number of sessions available to this terminal type. This should be the same as the number of pages of screen memory available on the terminal. The range is 1-9. |
|
swtseq=SessNumSequence |
Specifies a number that identifies the session and the escape sequence used to access that session. This should be the sequence specified by the manufacturer of your terminal. Note: There are no spaces between the number identifying the session and the key sequence used to access that session. |
|
range |
Specifies the range of term table entries to display or remove. |
|
rmterm |
termtype - specifies the name of the terminal supplied on the termtype field. This terminal type will be removed from the term table when the command with this option is executed. on - means that the term table entries identified on the range field will be deleted when the command is executed. |
|
termtype |
Specifies a name for the terminal type. This name must match the name:
Digi device/terminal servers provide two default terminal types, wy60 and wy60-e. Use the set terms command to display parameters associated with these types of terminals. |
In this example, the set terms command displays the termtype value for every entry in the term table.
set terms
In this example, the set terms command displays detailed information for port #4:
set terms range=4
In this example, the set terms command removes an entry from the term table.
set terms rmterm=on range=3
In this example, the set terms command configures a terminal type.
set terms termtype=VT100 npages=4 clrseq=^!
swtseq=1^] swtseq=2^[ swtseq=3^} swtseq=4^{