03.03.2013 Views

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6.6 Advanced ED Commands <strong>CP</strong>/M 3 User's Guide<br />

The Q (Quit) Command<br />

A Q command abandons changes made since the beginning of the ED session and<br />

exits ED. The Q command takes the form:<br />

Q<br />

followed by a carriage return.<br />

When you enter a Q command, ED verifies that you want to abandon the changes<br />

by asking<br />

Q (Y/N)?<br />

You must respond with either a Y or an N; if you press any other key, ED repeats<br />

the question. When you enter Y, ED erases the temporary file, closes the source file,<br />

and returns control to <strong>CP</strong>/M 3.<br />

Note: you can enter a CTRL-Break or a CTRL-C to return control immediately to<br />

<strong>CP</strong>/M 3. This does not give ED a chance to close the source or new files, but it<br />

prevents ED from deleting any temporary files.<br />

6.7 ED Error Messages<br />

ED returns one of two types of error messages: an ED error message if ED cannot<br />

execute an edit command, or a <strong>CP</strong>/M 3 error message if ED cannot read or write to<br />

the specified file. An ED error message takes the form:<br />

BREAK "x" AT c<br />

where x is one ,f the symbols defined in the following table and c is the command<br />

letter where the error occurred.<br />

6-29

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!