Introduction to edit 1–12 – HP NonStop G-Series User Manual
Page 32
A Conversation With EDIT
Introduction to EDIT
1–12
058061 Tandem Computers Incorporated
Conversation With EDIT
In the following sequence, you can step through a conversation with EDIT.
Notice how the terminal displays your conversation. When you want to see
lines of text, you must tell EDIT to list them on the screen. EDIT lists the
line number and the text. Then, you use commands to tell EDIT to operate
on specific lines of text. EDIT operates on the text, then prompts you for
another command.
1.
Start the EDIT program to edit an existing file named SHAKE. EDIT
prompts you for an editor command with an asterisk. When you see an
asterisk on the terminal, you know EDIT is waiting for you to type an
editor command.
1> EDIT SHAKE
TEXT EDITOR - T9601B30 - (08MAR87)
CURRENT FILE IS $WORK.FICTION.SHAKE
*
2.
You type a command to list all the text lines in your EDIT file. EDIT
reads your EDIT file and lists all its text lines, in numerical order, on the
screen. Then EDIT prompts you for another command. (If you misspell
an editor command name, EDIT has no idea what you want it to do, so
it returns an error message.)
1> EDIT SHAKE
TEXT EDITOR - T9601B30 - (08MAR87)
CURRENT FILE IS $WORK.FICTION.SHAKE
*LIST ALL
1 The world's a stage, where God’s
2 omnipotence His justice, knowledge,
3 love, and providence Do act the parts.
*