• Keine Ergebnisse gefunden

Read Horizontal Scroll Offset

Im Dokument the Display (Seite 88-93)

<036> <106> <117>

1E 46 4F

When this command is issued by the host, the terminal returns the distance the current window is horizontally scrolled over from the absolute zero Qeft most) column of the screen. The format of the data retumed to the host is:

<036> <157> <072> <nn>

1E 6F 3A <nn>

<nn> indicates the value of the horizontal offset. This value is in the range of decimal values from 0 to 126 with the lower four bits of two bytes specifying the eight-bit value of the scrolled offset. For more information on <nn> pairs, see the "Forming Command Arguments"

section of this chapter.

Read Window Address all terminals

<005>

The terminal sends the following three character sequence back to the computer.

<037> <col> <row>

1F <col> <row>

<col> is the window column the cursor is on (relative to the left margin mod 128)

<row> is the window row the cursor is on (relative to the top of the window)

Both <col> and <row> are two raw binary characters, and therefore are not encoded.

2-62 014-002111

Read Screen Address

<036> <106> <142>

1E 46 62

<036> F b

(octal) (hex) (ASCII)

The terminal sends the following five character sequence back to the computer.

<036> <157> <070> <nn> <nn>

1E 6F 38 <nn> <nn>

<036> 0 8 <nn> <nn>

where

the first <nn> pair is the absolute screen column.

the second <nn> pair is the absolute screen row.

(octal) (hex) (ASCII)

D413/D463

For more information on <nn> pairs, see the"Forming Command Arguments" section of this chapter.

Read Window Contents all terminals

<036> <106> <166> <r1> <c1> <r2> <c2>

1E 46 76 <r1> <c1> <r2> <c2>

<r1> <cl> are two <nn> pairs that specify the bounded area's upper left corner.

<r2> <c2> are two <nn> pairs that specify the bounded area's lower right corner.

For more information on <nn> pairs, see the "Forming Command Arguments" section of this chapter.

Returns the contents of any bounded area of the screen to be transmitted back to the host. The rectangular area bounded by (rl,c1) and (r2,c2) is shipped to the host with <015> <012> (OD OA hex) between each row and with trailing blanks on each row stripped. The data sent to the host is similar to what would be printed, were a printing command used. The characters on the screen are translated using the settings of GO and G 1. If a character on the screen does not belong to either assigned character set, then it will be translated as a space. If any of the given parameters are out of range, then nothing will be transmitted. Also, if the user presses the Local Print or Cmd-CR keys during this operation, it will be terminated. Like any ofthe printing commands, an <ACK> will be sent back to the host after the operation is complete only if this option has been selected on the Configuration Menus. For information on using the Configuration Menu, refer to the manual Installing and Operating D216E+, D217, D413, and D463 Display

Terminals.

Read Model 10

The terminal sends the following string back to the host computer:

<036> <157> <043> <m> <x> <y> (octal) IE 6F 23 <m> <x> <y> (hex)

<036> 0

*

<m> <x> <y> (ASCII) where

all terminals

<m> is a character that identifies the type of terminal. This character can be set in the menus or by the Set Model ID command. The table below lists the default $ettings.

2-64

<X> is a character formed from bits defined as OlTC PRRR, where T 0 if the power on self test passed,

1 if errrors are detected.

COif 7 bit communications mode 1 if 8 bit communications mode P 0 if printer not available

1 if printer is available

R 3 bit firmware revision number 0-7.

<y> is a character formed from bits defined as OI6K LLLL, where:

G 0 if graphics are not available, 1 if D460 graphics available K 0 ifkeyboard missing

1 ifkeyboard installed L is from the following table:

014-002111

Keyboard

<036> <106> <167>

1E 46 77

<036> F w

(octal) (hex) (ASCII)

The terminal sends the following returned string back to the host computer:

<036><157><167><class><service-level><revision><name><reserved> (octal) 1E 6F 77 <class><service-level><revision><name><reserved> (hex)

<036> 0 w <class><service-level><revision><name><reserved> (ASCII) where

<class> is a single <n> digit specifying the general type of the terminal. The following classes are currently defined:

o

unintelligent terminal, handles no commands except <CR> and <LF>

1 D200 level data-entry terminal

3 D410 without Dynamically Reconfigurable Character Buffer (DRCB) 4 D410 level text--editing terminal

8 D460 level graphics terminal

<service-level> is an <nn> pair representing the specific terminal ID within the class. Any unknown code should be treated as the next lower known code. The D4131D463 returns 01.

<revision> is an <nn> pair encoding the firmware revision number.

<name> is an eight-character blank. padded string with a human-readable terminal model-name. This is given for producing readable error logs for testing. The D2171D4131D463 returns "D217", "D413", or "D463".

CAUTION: Do not test or compare any part of this string!

<reserved> is a field of four spaces.

For more information on <nn> pairs, see the "Forming Command Arguments" section of this chapter.

This command returns a more detailed description of the terminal type and capabilities. The original Model ID command «036>C) reported a unique number for each terminal and there was no way to determine the capabilities of a new, unrecognized terminal.

It should not be necessary to reserve any new model IDs for the traditional Model ID command for future terminals.

2-66 014-002111

Im Dokument the Display (Seite 88-93)