Download Print this page

Motorola EXORdisk II User Manual page 443

Advertisement

APPENDIX
H.6
EDIT --
Text Editor
The
EDIT
command
can
be
used
to
create or to modify
ASCII record files on the
diskette.
The
EDIT
command
is
invoked
r~om
the
MDOS
command
line
as
are
other
MDOS
commands.
No
additional hardware
re~uirements
are needed
to
run
the
EDIT
command
other than the minimum configuration
used for MOOS.
The EDIT command is invoked with the
following
com~~nd
line:
EDIT <name
l~Ci<name
2>J
where (name
1~
is
the name of the file to be edited and <name
2/
can be the name
of
an output or scratch file.
Both
file
specifications are in the standard
MDOS
format:
<file name) C.<suffix/J C:<logical unit number»)
The
default values "SA" and zero are used for the suffix and
the logical
unit
numberl
respectivelYI
if
the~
are
not
explicitly entered.
If
only <name
1>
is specified on the command linel
then
it will be the name of the file to be
edited.
If
<name
1>
already exists,
the input will be taken from it.
If <name
1>
does
not
already
existl
then
it
will
be
automatically
created, and all output written to it.
The
second
rile name specificationl <name
2>,
can only
be used if the file
to
be
edited
already
exists
on
the
dis
k
e t t e .
Norma
1 1 Y
I
<n
am
e
2:>
i
s
not s p e c i r
i
e d .
I
nth i
s
case, the
EDIT
program will automatically create a
temporary
output
rile
called
SCRATCH. SA.
The
output
file will be
created on the same logical unit number as <name
1>,
unless a
specific
logical
unit
number is entered for <name
2/.
The
output file is used to receive the data from <name
1>
after
it has been edited by the operator.
When the edit process is
ended:
any unedited portion or the input file <name
1>
will
be
copied
into
the output file.
The output rile will then
contain a complete copy or the input file
plus
any
changes
that were made to it.
If
the
default
output rile is used,
the file <name
1>
will be automatically deleted and the output rile renamed
so
it
has
the
same name as the original input ·foile:
Thus,
as
far as the operator is
concerned,
the
file
<name
l j
now
contains
the T'esults of the edit.
<name 1:> will,
therefore,
Page
H-l1

Advertisement

loading

This manual is also suitable for:

Exordisk iii