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.4 Basic Editing Commands <strong>CP</strong>/M 3 User's Guide<br />

The following table alphabetically summarizes the basic editing commands and<br />

their valid arguments.<br />

Table 6-2. Basic Editing Commands<br />

Command Action<br />

B, -B Move <strong>CP</strong> to the beginning (B) or end (-B) of the memory<br />

buffer.<br />

nC, -nC Move <strong>CP</strong> n characters forward (nC) or backward (-nC)<br />

through the memory buffer.<br />

nD, -nD Delete n characters before (-nD) or after (nD) the <strong>CP</strong>.<br />

I Enter insert mode.<br />

Istring CTRL-Z Insert a string of characters.<br />

nK, -nK Delete (kill) n lines before the <strong>CP</strong> (-nK) or after the <strong>CP</strong><br />

(nK).<br />

nL, -nL Move the <strong>CP</strong> n lines forward (nL) or backward (-nL)<br />

through the memory buffer.<br />

nT. -nT Type n lines before the <strong>CP</strong> (-nT) or after the <strong>CP</strong> (nT).<br />

n, -n Move the <strong>CP</strong> n lines before the <strong>CP</strong> (-n) or after the <strong>CP</strong> (n)<br />

and display the destination line.<br />

The following sections discuss ED's basic editing commands in more detail. The<br />

examples in these sections illustrate how the commands affect the position of the<br />

character pointer in the memory buffer. Later examples in Section 6.5, "Combining<br />

ED Commands," illustrate how the commands appear at the screen. For these sections,<br />

however, the symbol ' in command examples represents the character pointer,<br />

which you must imagine in the memory buffer.<br />

6-9

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

Saved successfully!

Ooh no, something went wrong!