Defining User-Definable Function Keys Programmatically - HP 262SA Reference Manual

Dual-system display terminal and word-processing terminal
Table of Contents

Advertisement

Terminal Control
Defining User-Definable Function Keys Programmatically
From a program executing on a remote host computer, the programmable user keys may be
defined using the following escape sequence:
Ec
If <attribute>a
<key number>k
<labellength>d
<definition length>
1
<label string><definition string>
where:
<attribute>
<key number>
<label length>
<definition length>
<label string>
0:
normal
1: local only
2:
transmit only
1-8: fl - fS, respectively
(1 is the default)
0-16:
(0 is the default)
0-80:
(1 is the default)
(-1
causes the field to
be erased)
the displayable character sequence for the label fields. The first 8
characters will go into the upper half, the next 8 into the lower
half.
<definition string>
=
the character sequence for the key definition field.
The <attribute>, <key number>, <label length>, and <defini tion length> param-
eters may appear in any order but must preceed the label and key definition strings. If the
<a t t r i bu t e> parameter is not specified, it will be set to 0 (normal), although the default
value is 2 (transmit only). An uppercase identifier (A, K, D, or L) must be used for the final
parameter and a lowercase identifier (a, k, d, or
1)
for all preceeding parameters. Following
the parameters, the strings corresponding to each must follow in a specific order, if they exist.
The label string is the first expected sequence of characters and the key definition string is
the last. If any of the length parameter numbers are greater than the range specified, the
extra characters are counted, but discarded. If the definition string length is greater than 16,
the extra characters are discarded.
2-13

Advertisement

Table of Contents
loading

This manual is also suitable for:

2628a

Table of Contents