6530 Programmer's Guide
Conversational Mode Operation
6530 Programmer’s Guide
2-49
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 request, 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 
cursor
 CR 
See “Function Keys” on page 2-51 for an explanation of the message 
format.
Write to Message Field (Esc o) 
The Esc o sequence allows your application program to write text into the 
message field of the message/status line. (See “Message/Status Line” on 
page 1-2 for a discussion of the message/status line format). The 
Esc o code is followed by the text to be displayed, and the sequence is 
terminated by a CR control character (0DH). For example, the following 
sequence writes the phrase SELECT OPTION into the message fields 
Esc o SELECT OPTION CR 
The 6530 clears existing messages before writing the new text. Thus, to 
simply clear the message field, you can send: 
Esc o CR 
The message can also be assigned video attributes (blank, reverse video, 
etc.) by embedding Esc 6 sequences within the text. 










