User`s guide
EDIT
case that creates the largest file possible on the device. The following command
creates a file on device DU1 and allocates all the space available on the disk for
that file:
.EDIT/CREATE DU1:PROG1.MAC/ALLOCATE:-1
/[NO]COMMAND[:init-filespec]
(KED/KEX only) /COMMAND, the default, executes the initialization file
KEDINI.KED or the specified initialization file.
By default, KED/KEX looks for the initialization file KEDINI.KED on DK and,
if not found, on SY, before beginning a work session. If found, KED/KEX
executes KEDINI.KED. If it is not found, KED/KEX does not report an error.
KEDINI.KED is not distributed; you create KEDINI.KED if you want a default
KED/KEX initialization file.
/NOCOMMAND suppresses initialization file processing.
/CREATE
Creates a new file when the specified input file is not found.
The following example creates a file called NEWFIL.TXT on device DK:
.EDIT/CREATE NEWFIL.TXT
/EDIT
Invokes the EDIT line editor. Use this option for editing files on hard-copy
terminals.
/EXECUTE:filespec
Use this option with /TECO to execute the TECO commands contained in the file
you specify.
/INSPECT
Opens a file with read-only access. All edit operations are allowed except any
that would modify the file:
.EDIT/INSPECT NEWFIL.TXT
/JOURNAL[:jour-filespec]
(KED/KEX only) Produces a journal file that will let you recover your work after
a system crash or similar malfunction. The default file name of the journal file
is the name of your output file with a file type of JOU. However, you can specify
a name and file type for the journal file; if you specify only a name, the file has
the default file type of JOU. The following example command creates the journal
file PROG1.JOU:
.EDIT/JOURNAL PROG1.FOR
Once you create a journal file, if your work session is terminated by an error or
malfunction, you can use the /RECOVER option to recover all or most of your
work.
108 RT–11 Command Descriptions










