-
To open a file into the editor:
> JOB
> OPSED filename
-
LIS
display all lines in file (cursor goes to last line displayed) (hit the
pause key at any time to stop scrolling)
LIS #
display a certain number of lines (cursor goes to last line displayed)
-
G #
go to particular line
-
DEL
delete the line you are on
DEL #
delete a particular line
-
ADD
adds a line where you are
-
REP
replace what is in the line you are on
REP #
replace line number
-
LIN
will show what line you are on
-
LDIR
lists all files in directory
-
FOR
can use relative or absolute numbers
-
BACK
can use relative or absolute numbers
-
SCA
scale function (shows column numbers)
-
PC
will show any control characters in the file (if you have odd errors, try
this)
-
P #
shows number of lines (cursor remains at line 1)
-
CHA "string" "string" 1 999
Change one string to another from line # to line #
-
MOD
modify the line you are currently on
-
MOD #
modify a particular line
modify commands: _
(underscore) deletes what is in that position
& deletes what is in that position but leaves a space
hitting space key will also leave a space
-
REC filename
Save current file as filename "______"
-
REC *
Save current file as current filename
-
RENAME filename(old) filename(new)
rename file
-
REMOVE filename
delete the file
-
EXIT or E
Exit the editor program
If you edit an observe
file using opsed (or emacs), it is a good idea to check the file with the
following command:
> JOB
> FILECHK filename
For more complete information,
refer to the "Modcomp Programmer's Reference Manual". Commands are found
on pages 1-2. |