MPE/iX System Utilities Reference Manual (32650-90882)

105
7 EDIT/3000
The EDIT/3000 text editor lets you create and edit ASCII files. Specifically, you may insert,
delete, replace, modify and search for characters and strings of characters. You may run
EDIT/3000 in either of two modes, interactive or batch.
In an interactive session, you enter commands and text from an interactive terminal.
Messages and other output (such as prompt characters) from EDIT/3000 are listed on the
terminal.
In batch mode, commands and text records are supplied through a batch input medium
such as a jobstream or magnetic tape. Messages and output from EDIT/3000 are listed on
the standard output device, usually a line printer.
Operation
To invoke EDIT/3000 enter in interactive mode, enter:
EDITOR
The system responds with a message similar to the one below and displays the EDIT/3000
prompt, awaiting your commands:
HP32201A.07.17 EDIT/3000 Mon, Mar 28, 1994, 3:19 PM
(C) HEWLETT-PACKARD CO. 1985
/
For example, to create a new
work
file, you issue the ADD command and enter data. After
the data is entered you use the KEEP command to save it as a permanent file. For example:
/ADD
1
.
.
.
100 //
/KEEP
filename,unn
To modify an existing file, use the TEXT command to open it in EDIT/3000, make the
necessary modifications, and then use the KEEP command to save it. For example:
/TEXT FILE1
.
.