Controlling The Function Key Labels Programmatically; The Enter Key - HP 2624 Manual

Display terminals
Table of Contents

Advertisement

where <
0-8)
identifies the key to be triggered, as follows:
0
z
..
z
-
5
.
..
2
..
6
-
3
z
..
7
z
..
4
=
..
8
.
-
For example, to trigger the _
key you would use the
following escape sequence:
<ESC>&f1E
This type of escape sequence may also be used within a user
key definition to effectively concatenate two or more key
definitions into one.
Controlling the
Function Key Labels Programmatically
From a program executing in a host computer, you can
control the function key labels display as follows by using
escape sequences:
• You can remove the key labels from the screen entirely
(this is the equivalent of simultaneously pressing the
_
and. keys).
• You can enable the mode selection keys (this is the
equivalent of pressing the
III
key).
• You can enable the user keys (this is the
equival~nt
of .
pressing the
III
key).
• You can "lock" the current set of labels on the screen (i.e.,
disable the.,
III ,
and
III
keys).
• You can reenable the. ,
III ,
and
III
keys.
• You can remove the key labels from the screen entirely
and replace them with a message of your own.
• You can remove your own message from the screen and
restore the current key labels.
The escape sequences are as follows:
<ESC>&j@
<ESC>&JA
<ESC>&JB
<ESC>&jS
<ESC>&jR
Disable the function keys entirely
and remove all key labels from the
screen.
Enable the mode selection keys.
Enable the user keys.
"Lock" the current set of labels.
Reenable the . ,
III,
and
III
keys.
<ESC>&j<xx>L<me5.sge>
<ESC>&jC
THE ENTER KEY
Keyboard Control
Remove the key labels from the
screen and display the character
string <me55sge> (which consists of
<xx> characters).
Remove your <me •• sge> from the
screen and restore the current key
labels .
When the terminal is in remote mode, pressing the
aD
key
sets pending a block transfer of data from display memory
to the host computer (in such a case the
aD
key also locks
the keyboard until the resultant data transfer is complete).
The type of handshaking used and precisely what data gets
transmitted depends upon the following factors:
1. Whether the terminal is in character mode, block line
mode, or block page mode.
2. Whether or not the terminal is in format mode.
3.
The settings of the
InhHndShk(G), Inh DC2(H), Auto
Term(J),
and
ClearTerm(K)
fields in the terminal
configuration menu.
Table 3-1 summarizes the effect of the
aD
key in each of the
possible mode/strap combinations.
In studying table 3-1, you should keep the following facts in
mind:
• Both the field separator and the block terminator are
ASCII control codes and they are configurable (see the
terminal configuration menu in Section II, Configuring
the Terminal, of this manual).
• At any time you can insert a non-displaying terminator
at the current cursor position by issuing an <ESC)_
sequence. This escape sequence can be issued either
through the keyboard or from a program executing in a
host computer.
• The data transfer initiated by the
aD
key is always
terminated if a block terminator or a non-displaying
terminator is encountered in display memory.
• If the data transfer is terminated by encountering a
non-displaying terminator, that terminator mayor may
not be cleared depending upon the setting of the
Clear-
Term
parameter in the terminal configuration menu, as
follows:
ClearTerm(K)-HO ---)
Do HOTc1ear
the terminator.
C 1 ea r T e r m (K)
=
YES - - - )
C 1 ea r the t e r m
i
na tor.
3-7

Advertisement

Table of Contents
loading

Table of Contents