beautypg.com

Using the line editor – HP NonStop G-Series User Manual

Page 25

background image

The RETURN Key

Introduction to EDIT

058061 Tandem Computers Incorporated

1–5

Using the Line Editor

You can think of line editing as interactive—or conversational—editing.
You and EDIT have a conversation about the lines of text in your file. You
communicate with EDIT by typing commands and text, then pressing

RETURN

. EDIT responds by doing what you tell it to and by displaying

prompts at your terminal. Figure 1 illustrates the concept of line editing
with the EDIT program.

The EDIT Prompt

Once you have started the EDIT program from your command interpreter
prompt, you’ll receive the EDIT prompt (an asterisk). You can type any
EDIT command at the asterisk. After typing a command line or a new line
of text, press

RETURN

to tell EDIT to execute what you have typed.

The RETURN Key

This manual presents examples that show how EDIT works. In many of
them, an imaginary user types in commands or text in response to prompts
or queries. As mentioned previously, you must press

RETURN

after you type

a command line or line of text. Therefore, in the examples, there is an
implicit

RETURN

at the end of each window of user input. For those cases

when the user just needs to press

RETURN

, the boxed word RETURN is all

that appears beside the asterisk prompt.

This manual is related to the following products: