Combinations Of Absolute And Relative Addressing; Other Cursor Operations - HP 2641A Reference Manual

Display station
Table of Contents

Advertisement

Example: The cursor is currently at row 7 and column 10
of the screen. Move the cursor to row 9 column 6.
ESC
&
a +2r -4C
or
ESC &
a
-4c +2R
COMBINATIONS OF ABSOLUTE AND RELATIVE
ADDRESSING.
Example. Move cursor from its current row down 8 rows
and to column 60.
ESC &
a
+8r 60C
or
ESC &
a
60c +8R
Display Memory Functions
Example. Move cursor from its current position 15
columns left, and to relative screen row 4.
ESC &
a
4y -15C
or
ESC &
a
-15c 4Y
OTHER CURSOR OPERATIONS
In addition to positioning the cursor using coordinates,
you can use a variety of keyboard equivalent operations.
These operations normally require only one or two
characters to be sent to the terminal. Table 2-1 lists each
of the operations together with its code and a brief
description.
FUNCTION
Cursor
Line Feed
Return
Backspace
Home Up Cursor
Home Down Cursor
Tabs
Tab
Back Tab
Set Tab
Clear Tab
Clear All Tabs
CODE
ESC G
ESC A
ESC B
ESC C
ESC D
ESC h
ESC H
ESC F
or
ESC I
ESC i
ESC 1
ESC 2
ESC 3
Table 2-1. Cursor/Display Operations
DESCRIPTION
Move the cursor to the next line.
Return the cursor to the left margin, halt I/O operations, and clears messages.
Move cursor to first column of current row.
Move the cursor one column to the left. If the cursor is in column 0, it remains there.
Move the cursor up one row. If the cursor is in row 0, it wraps around to row 23.
Move the cursor down one row. If the cursor is in row 23, it wraps around to row 0.
Move the cursor right one column. If the cursor is in column 79, it wraps around
to column
°
of the next row. If the cursor is in row 23, column 79, it wraps around
to row 0, column 0.
Move the cursor left one column. If the cursor is in column 0, it wraps around
to column 79 of the previous row. If the cursor is in row 0, column 0, it wraps around
to row 23, column 79.
Move the cursor to the beginning of the first line of memory (excluding transmit-
only fields in Format Mode.)
Move cursor to the beginning of the first line in display memory (including
transmit only fields in Format Mode).
Move the cursor to the beginning of the line following the last data in display
memory.
Move the cursor forward to the next tab position.
Move the cursor back to the previous tab position.
Place a tab at the current cursor column.
Clear the tab at the current cursor column.
Clear all tabs in display memory.
2-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

2645a2645s2645n

Table of Contents