beautypg.com

HP NonStop G-Series User Manual

Page 29

background image

Correcting Mistyped Editor Commands

Introduction to EDIT

058061 Tandem Computers Incorporated

1–9

You can likewise abbreviate any command name and keyword to its first
letter. The following commands, for example, are all equivalent:

*L A *La

*l a *LIST ALL

You can also combine more than one command on a single command line.
See Section 4, “Typing Several Commands on One Command Line,” for
more information.

Correcting Mistyped Editor

Commands

Commands can be short, like ADD 1, or quite long, like CHANGE ALL
“OLD”NEW” NUM 2/25. If you notice a mistake before you press

RETURN

,

simply use the

BACKSPACE

key to back up to your mistake and retype the

remainder of the line. For example:

*NUMBR ALL

*NUMB

*NUMBER ALL

*

Back up to erase the

error, then retype the

command.

Oops. You notice a

misspelling before

pressing RETURN .

If you discover an error in a short command after pressing

RETURN

, you

may find retyping the command is easiest:

*KIST 5
^ - ERROR -
THERE IS NO SUCH COMMAND
*LIST 5
5 Fair is foul, and foul is fair
*

Retype the command

at the prompt.

Oops. You meant to

type LIST.

If, however, your command line is longer, you can use FC (FIX
COMMAND) to alter the last command line if it needs a change or a
correction. Using FC for this kind of error saves you from retyping the
whole command line. (See Section 4 for a detailed description of the FIX
COMMAND.)

This manual is related to the following products: