Cursor-Relative Addressing - HP 262SA Reference Manual

Dual-system display terminal and word-processing terminal
Table of Contents

Advertisement

Display Control
• If the specified column coordinate exceeds the right boundary of the window, the cursor
moves to the rightmost column in the window.
• If the absolute row coordinate is less than that of the top line currently visible on the
screen, the cursor moves to the specified column in the top row of the window and the text
rolls downward until the specified row appears in the top line of the window.
• If the absolute row coordinate exceeds that of the bottom line currently visible on the
screen, the cursor moves to the specified column in the bottom row of the window and the
text rolls upward until the specified row appears in the bottom line of the window.
If you specify only a <column number>, the cursor remains in the current row. Similarly, if
you specify only a <row number >, the cursor remains in the current column.
NOTE: If you specify a row greater than the last workspace row, lines will be discarded from
the top of the workspace to create as many lines as necessary, at the bottom of the
workspace, to locate the cursor in the specified line.
Example: The active workspace contains 119 rows. The following escape sequence moves
the cursor (and rolls the text ifneccessary) so that it is positioned at the character
residing in the 60th column of the 87th row in the workspace:
Ec&a86r59C
Cursor-Relative Addressing
You can specify the location of any character within the active workspace by supplying row
and column coordinates that are relative to the current cursor position (this function is
disabled for rows selected with the parmeter cCR", see below, when Memory Lock mode is on).
To move the cursor to another character position using cursor-relative addressing, use any of
the following escape sequences:
Ec&a
+/-
<column number>c
+/-
<row number>R
Ec&a
+/-
<column number>c
+/-
<row number>Y
Ec&a
+/-
<row number>r
+/-
<column number>C
Ec&a
+/-
<row number>y
+/-
<column number>C
Ec&a
+/-
<column number>C
Ec&a
+/-
<row number>R
Ec&a
+/-
<row number>Y
4-6

Advertisement

Table of Contents
loading

This manual is also suitable for:

2628a

Table of Contents