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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6.3 ED Operation <strong>CP</strong>/M 3 User's Guide<br />

Table 6-1. Text Transfer Commands<br />

Command Result<br />

nA Append the next n unprocessed source lines from the source file<br />

to the end of the memory buffer.<br />

nW Write the first n lines of the memory buffer to the temporary<br />

file free space.<br />

E End the edit. Copy all buffered text to the temporary file, and<br />

copy all unprocessed source lines to the temporary file. Rename<br />

files.<br />

6.3.1 Appending Text into the Buffer<br />

When you start ED and the memory buffer is empty, you can use the A (append)<br />

command to add text to the memory buffer.<br />

Note: ED can number lines of text to help you keep track of data in the memory<br />

buffer. The colon that appears when you start ED indicates that line numbering is<br />

turned on. Type -V after the ED prompt to turn the line number display off. Line<br />

numbers appear on the screen but never become a part of the output file.<br />

The V (Verify Line Numbers) Command<br />

The V command turns the line number display in front of each line of text on or<br />

off. The V command also displays the free bytes and total size of the memory buffer.<br />

The V command takes the following forms:<br />

V, -V, 0V<br />

6-5

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

Saved successfully!

Ooh no, something went wrong!