HP 3000 Manuals

Append To Word [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation


HP EDIT Reference Manual

Append To Word 

Purpose 

Enables a user to add text following a word.

Syntax 

CTRL a

Description 

This command places HP EDIT in Text Entry mode and enables you to add
text following the current word.

Command Process 

When you issue this command, HP EDIT moves the cursor one column beyond
the word where the cursor is currently located, enabling you to add text.

All of the original text to the right of the append location shifts to
the right when you enter text.  Consequently, if insufficient blank space
at the end of a line causes text to be shifted off the end of the line,
HP EDIT wraps the excess text onto the next line.

Word Definition 

HP EDIT enables you to specify the type of characters that constitute an
HP EDIT word.  There are four possible word definitions.  You can specify
a definition other than the default value by changing the value of the
Word Category parameter from the Set Options screen.

The following word definition options are available:

[a-zA-Z0-9_'-]        Words consist of upper and lowercase letters,
                      digits, underscores, apostrophes, and hyphens.
                      Words are separated by spaces and any
                      non-alphanumeric characters besides the underscore,
                      apostrophe, or hyphen.  This is the default
                      definition.

[a-zA-Z0-9_]          Words consist of upper and lowercase letters,
                      digits and underscores.  Words are separated by
                      spaces and any non-alphanumeric characters besides
                      the underscore.

[a-zA-Z0-9]           Words consists of upper and lowercase letters as
                      well as digits.  Words are separated by spaces and
                      any non-alphanumeric characters.

[~ ]                  Words consist of any non-space characters separated
                      by spaces.

Procedure 

To add text following a word: 

   1.  Move the cursor to any character of a word beyond which you want
       to add text.

   2.  Press and hold CTRL, then press the a key.  HP EDIT moves the
       cursor one column beyond the last character of the word and places
       HP EDIT in Text Entry mode.

   3.  Add text as needed.  HP EDIT adds the new text and shifts the
       original text to the right.

   4.  Press / and Return when you have finished adding text to return to
       Command mode.

Example 

To add text following the word at the cursor position: 

           Text will be here.

   1.  Press and hold CTRL, then press the a key.  HP EDIT moves the
       cursor to the position shown:

            Text will be_here.

   2.  Press the space bar and then type the word added as shown:

            Text will be added here.

   3.  Press / and Return to return to Command mode.

Related Commands 

       Append Line
       Append To Character
       Append To End of Line
       Append To Word From Macro
       Insert Character
       Insert Line
       Overwrite
       Replace Character
       Replace Word
       Replace Line



MPE/iX 5.0 Documentation