SET DEFAULT SCROLL command (full-screen mode)

Sets the default scroll amount that is used when a SCROLL command is issued without the amount specified. The initial setting is PAGE.

Read syntax diagramSkip visual syntax diagramSETDEFAULTSCROLLCSRDATAHALFintegerMAXPAGE;
CSR
Scrolls in the specified direction until the character where the cursor is positioned reaches the edge of the window.
DATA
Scrolls by one line less than the window size or by one character less than the window size (if moving left or right).
HALF
Scrolls by half the window size.
integer
Scrolls the specified number of lines (up or down) or the specified number of characters (left or right). Maximum value is 9999.
MAX
Scrolls in the specified direction until the limit of the data is reached.
PAGE
Scrolls by the window size.

Example

Set the default amount to half the size of the window.
SET DEFAULT SCROLL HALF;