6530 Programmer's Guide
Block Mode Operation
3-92
6530 Programmer’s Guide
Disable Local Line Editing (Esc N)
The Esc N sequence disables the insert line and delete line operations on
the keyboard (Ctrl-Ins and Ctrl-Del keys) and redefines these keys as
additional function keys. These function key definitions are in effect until
one of the following occurs:
A reinitialize (Esc q) sequence is issued.
Block mode is exited and reentered.
A transition is made from protect to nonprotect submode.
The Esc N sequence is only effective in nonprotect submode because
local line editing is automatically disabled in protect submode.
Unlock Keyboard (Esc b)
The Esc b sequence unlocks the keyboard and erases the
KBD LOCKED phrase in the status line.
Lock Keyboard (Esc c)
The Esc c sequence locks the keyboard and displays the phrase
KBD LOCKED in the status line. When the keyboard is locked, the cursor
is no longer displayed and all keys (except Caps Lock,
Num Lock, Ctrl-Scroll Lock, Ctrl-End, Ctrl-Alt-Del, Ctrl-Backspace,
and Alt-Backspace) are disabled.
Simulate Function Key (Esc d)
The Esc d sequence simulates the depression of a function key. After
receiving an Esc d sequence, the 6530 locks the keyboard and, on the
next read, transmits a function key message to the host. The Esc d is
followed by a single character that designates the keycode for the
simulated function key. For example, if your application sends an
Esc d X sequence, the 6530 generates the following message:
SOH X
page cursor
where:
SOH is a control character (01H) that acts as a start of header for
messages returned to the host.
X is an ASCII character that identifies which function key was
pressed. Function keys are listed in Table 3-11 on page 3-95.
page
is an ASCII character whose code, offset by 20H, specifies
the page number of the current displayed page.