Starting the EDLIN program

To start EDLIN, type:

[d:][path]EDLIN [d:][path]filename[.ext][/B]


Editing an existing file

If the specified file exists on the designated or default drive, the
file is loaded into memory until memory is 75% full. If the entire
file is loaded, the following message and prompt is displayed:

End of input file
*_

You can then edit the file.

Note:
If you have not used the /B parameter, EDLIN will stop loading
the file when the first Ctrl-Z (end-of-file marks) is encountered
in the file's text. If you wish to edit a file that is known to con-
tain embedded Ctrl-Z characters, you should use the /B parameter.
EDLIN then processes the entire file regardless of any embedded end-
of-file marks.

Notice that the prompt for EDLIN is an asterisk (*).

If the entire file cannot be loaded into memory, EDLIN loads lines un-
til memory is 75% full, then displays the * prompt. You can then edit
the portion of the file that is in memory.

To edit the remainder of the file, you must write some of the edited
lines to disk to free memory so that you can load unedited lines from
disk into memory. Refer to the Append Lines and Write Lines commands
for the procedure.

If the specified file does not exist on the drive, a new file is opened
with the specified name. The following message and prompt are displayed:

New file
*_

Begin creating the file by entering the desired lines of text. To begin
entering text, enter an I command to insert lines.

When you have completed the editing session, you can save the file us-
ing the End Edit command. The new file is saved with the filename and
extension you specified in the EDLIN command when you first opended
the file.

Note:
If you edit an existing file, when you end the edit session with the
End Edit command, the original file is saved with an extension of
.BAK. You cannot edit a file with a filename extension of .BAK with
EDLIN because the system assumes it is a backup file. If you find
it necessary to edit such a file, rename the file to another exten-
sion; then start EDLIN and specify the new name.