Tabs; Margins - HP 2641A Reference Manual

Display station
Table of Contents

Advertisement

Display Memory Functions
Table 2-1. Cursor/Display Operations (Continued)
FUNCTION
CODE
DESCRIPTION
Margins
Set Left Margin
ESC 4
Set the left margin at the current cursor column.
Set Right Margin
ESC 5
Set the right margin at the current cursor column.
Display
Clear Display
ESC J
Clear display memory from the cursor position to the end of memory.
Clear Remaining Line
ESC K
Clear current line beginning at the column containing the cursor.
Roll Up
ESC S
Roll the screen up one row (until the last row of memory is located at the top of
the display). Cursor is stationary.
Roll Down
ESC T
Roll the screen down one row (until the first rpw of memory is located at the top of
the display). Cursor is stationary.
Next Page
ESC U
Display the next 24 rows of memory (until the last row of memory is located at the
top of the display). The cursor is moved to the first unprotected location on the new
page when in forms mode.
Prev Page
ESC V
Displays the previous 24 rows of memory (until the first row of memory is located
at the top of the display). The cursor is moved to the first unprotected location on
the new page when in forms mode.
Memory Lock
ESC I
Turn on memory lock (overflow protect). Note that when Memory Lock is on, only
screen relative addressing can be used.
ESC m
Turn off memory lock. Refer to the User Manual for additional information on
Memory Lock.
TABS
SETTING TABS. To set a tab, move the cursor to the
desired column and send ESC 1. Once a tab is set, the tab
function or
B
key can be used to move the cursor to the
next tab setting. In Forms Mode, previously set tabs are
ignored; however, when Forms Mode is turned off,
previously set tabs are in effect.
USING TABS. Once tab positions have been set you can
tab in the same manner that you would on a typewriter.
You can even tab backwards to the previous tab position
by sending ESC i. When you are at the first tab position in
a line and you backtab, the cursor moves to the last tab
position in the previous line. Once the cursor has reached
the first tab position in the first line of memory, no further
backtabbing movement can be made.
CLEARING TABS. You can clear individual tabs by
moving the cursor to the tab position and send ESC 2. All
of the tabs can be cleared at once without having to
position the cursor by sending ESC 3.
MARGINS
You can set the left and right margins to make the entry of
data easier. When the terminal is turned on or a full reset
2-4
performed, the margins are set at columns 0 and 79. This
gives a full 80 character line. You can define new margins
as follows:
LEFT MARGIN. Move the cursor to the desired left
margin setting. Send ESC 4.
RIGHT MARGIN. Move the cursor to the desired right
margin setting. Send ESC 5.
The terminal will beep when you are eight characters
from the right margin. When the right margin is reached,
the cursor will move to the left margin of the next line.
Example: Set the margins for a 40 column page centered
on the screen.
Move the cursor to column 20 and set the left margin.
Move the cursor to column 59 and set the right margin.
Place the cursor back at column 20 and begin sending
data.
ESC
&
a
20C Esc
4
Esc
or
a
59C Esc 5
' - v - "
-...-
' - v - "
-...-
position
set
position
set
cursor
margin
cursor
margin

Advertisement

Table of Contents
loading

This manual is also suitable for:

2645a2645s2645n

Table of Contents