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 L (Line) Command<br />

-The L command moves the <strong>CP</strong> the specified number of lines. After an L command,<br />

the <strong>CP</strong> always points to the beginning of a line. The L command takes the following<br />

forms:<br />

nL, -nL<br />

where n is the number of lines the <strong>CP</strong> is to be moved. A positive number moves the<br />

<strong>CP</strong> towards the end of the buffer. A negative number moves the <strong>CP</strong> back toward the<br />

beginning of the buffer. The command 2L moves the <strong>CP</strong> two lines forward through<br />

the memory buffer and positions the character pointer at the beginning of the line.<br />

"I find ecstasy in living -<br />

the mere sense of living<br />

is joy enough." <br />

The command -L moves the <strong>CP</strong> to the beginning of the previous line, even if the<br />

<strong>CP</strong> originally points to a character in the middle of the line. Use the special character<br />

0 to move the <strong>CP</strong> to the beginning of the current line.<br />

The n (Number) Command<br />

The n command moves the <strong>CP</strong> and displays the destination line. The n command<br />

takes the following forms:<br />

n, -n<br />

where n is the number of lines the <strong>CP</strong> is to be moved. In response to this command,<br />

ED moves the <strong>CP</strong> forward or backward the number of lines specified, then prints<br />

only the destination line. For example, the command -2 moves the <strong>CP</strong> back two<br />

lines.<br />

Emily Dickinson said,<br />

^"I find ecstasy In living -<br />

the mere sense of living<br />

is Joy enough."<br />

6-11

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

Saved successfully!

Ooh no, something went wrong!