6530 Programmer's Guide
Conversational Mode Operation
2-30
6530 Programmer’s Guide
Read Terminal Configuration (Esc ?) 
The Esc ? sequence causes the 6530 to transmit the current values for the 
terminal configuration parameters to the host. The message returned has 
the following general format:
SOH ! 
code value
 [
code value
] ... CR 
where:
SOH is a control character (01H) that acts as a start of header for 
messages returned to the host. 
The exclamation point (!) identifies this message as a configuration 
message. 
code
 is an ASCII character that uniquely identifies a configuration 
parameter. (See Table 2-4 on page 2-25.) For example, the code A 
specifies the cursor type.
value
 is a decimal number that specifies a value for the preceding 
configuration parameter. (See Table 2-4 on page 2-25.) For 
example, a 1 value for the cursor type specifies a blinking 
underscore. 
CR is a control character (0DH) that terminates the message. 
A code/value pair is returned for each configuration item. The code/value 
pair equals three bytes unless the value is 100 or greater. In that case, the 
code/value pair equals four bytes. When the value is less than two digits, 
a space character (20H) is returned between the code and value. For 
example: 
A1 is returned when the cursor type is set to underscore/blinking. 
H15 is returned when the baud rate is set to 19200. 
Set Terminal Configuration (Esc v) 
The Esc v sequence sets new values for the terminal configuration 
parameters. The Esc v code is followed by a set of code/value pairs (as 
shown in Table 2-4 on page 2-25) and terminated by a CR character 
(0DH). You can set new values for any subset of the configuration 
parameters. For example, the following escape sequence sets values for 
the cursor type and the bell column: 
Esc v A0 B72 CR 
If a value is outside the allowable range for the parameter, the new 
setting is ignored. 










