Technical data

PortServer Terminal Server Page 55
terms
Syntax: set terms [range=range]
set terms termtype=terminal_type [npages=# of screens]
[clrseq=clear_escseq]
[swtseq=screen# pageswitch_escseq] ...
[save=on|off]
set terms rmterm terminal_type
set terms rmterm=on range=range
This command sets or displays the terminal types, and their associated escape sequences used
when switching between sessions. (See Multiple Sessions page 110, as well as your terminal's
manual.)
Making changes with this command requires root privileges.
More than one option can be included in a command. Options are:
clrseq npages range rmterm save
swtseq termtype
set terms [range=range]
If set terms is entered with no options (or just a range), the current terminal table
is displayed.
set terms termtype=terminal_type [npages=# of screens][clrseq=clear_escseq]
[swtseq=screen# pageswitch_escseq] ...
[save=on|off]
This form of the set terms command makes a new terminal table entry, or
changes an existing entry. Set terminal_type to the name of the terminal type; this
name should match the name used for the termtype in the set port command
(page 52), and must also match the name used by the hosts on your network for this
type of terminal. If termtype matches an existing entry, that entry will be modified by
this command; otherwise a new table entry will be created.
Use npages= to set # of screens to the number of pages of screen memory that the
terminal has. Use clrseq=clear_escseq to set the escape sequence that will clear
the terminal's current screen. swtseq is the escape sequence that will switch your
terminal to the different screen pages; you need to supply one swtseq=screen#
switch_escseq parameter for each terminal page. Set save=off if you do not want
to save the changes.
If the character is a control character, the carat character (^) must be used to
indicate that the Ctrl key should be held while pressing the key. (For example,
<Ctrl-C> must be entered as the two characters ^C.)