Shift Line Right [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation
HP EDIT Reference Manual
Shift Line Right
Purpose
Shifts a line of text to the right.
Default Syntax
[n] >
where n represents the number of lines to shift to the right. The
default value of n is 1.
Description
This command shifts a line or lines of text a predetermined number of
columns to the right.
Shift Count
The number of columns shifted is determined by the shift count variable,
which has a default value of 1. You can alter this variable by executing
the Set Options command and changing the value of the Shift Count field.
The non-default value you provide for this field only affects the current
session. You can save this new default for other subsequent sessions, if
desired, by using the Save Config File command.
Requirements
In order for this command to function properly, the number of blank
columns at the end of the line must be equal to or greater than the shift
count variable.
Procedures
To shift one line one column to the right:
1. Move the cursor to a column anywhere on the line to be shifted.
2. Press the > key. HP EDIT shifts the line one column to the right.
To shift more than one line to the right:
1. Move the cursor to a column anywhere on the first line to be
shifted. Ensure that no characters occupy the last column of any
of the lines.
[REV BEG]
2. Either specify a count or select a block. This value represents
the number of lines you want to shift starting at the current
line.[REV END]
3. Press the > key. HP EDIT shifts each line one column to the
right.
To shift a line more than one column to the right:
1. Execute the Set Options (O) command.
2. Press the s key to modify the Shift Count field.
3. Enter the desired numeric value representing the number of columns
to shift and press Return.
4. Press Return to return to your editing session.
5. Move the cursor to a column anywhere on the line to be shifted.
Ensure that no characters occupy the specified number of columns
at the end of the line.
6. Press the > key. HP EDIT shifts the line the specified number of
columns to the right.
Related Commands
Shift End Of Line Right
Shift Line Left
Shift End Of Line Left
MPE/iX 5.0 Documentation