Insert Character [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation
HP EDIT Reference Manual
Insert Character
Purpose
Enables a user to insert text on a line.
Default Syntax
[n] i
Description
This command places the editor in Text Entry mode and enables you to
insert text on the current line preceding the character under the cursor.
Command Process
When you execute this command, all of the original text beginning at the
insert location shifts to the right when you enter text. If there is
insufficient space to insert text, HP EDIT wraps the excess text onto the
next line after you press Return.
You can type multiple lines of text without leaving Text Entry mode by
pressing Return without preceding it with a /.
Terminal Key Option
You can use the Insert Character key to alternate between inserting and
overwriting text. If you are inserting text in Text Entry mode and you
want to begin writing over characters, pressing this key activates the
overwrite state. You can then type over text as if you had executed the
Overwrite command. Pressing the key once more returns HP EDIT to the
insert state.
Procedure
To insert text preceding a specified character or blank space:
1. Move the cursor to the character or blank space where you want to
begin inserting text.
2. Press the i key, or press the Edit Commands function key, followed
by the Insert Char function key. HP EDIT invokes Text Entry mode.
3. Add one or more characters as needed. HP EDIT inserts the new
text and shifts the original text to the right.
4. Add more lines by pressing Return without preceding it with a /.
5. Press / and Return when you have finished adding text to return to
Command mode.
Example
To insert text at the following cursor location:
Insert text before this location.
1. Move the cursor to the position shown above and press the i key.
HP EDIT invokes Text Entry mode.
2. Type reaching and press the space bar.
3. Press / and Return to return to Command mode. HP EDIT inserts the
new text as shown:
Insert text before reaching_this location.
Related Commands
Append Line
Append To End Of Line
Append To Word
Insert Line
Overwrite
Replace Character
Replace Word
Replace Line
MPE/iX 5.0 Documentation