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 />

Whenever ED is displaying text with the T command, you can enter a CTRL-S to<br />

stop the display, then press any key when you are ready to continue scrolling. Enter<br />

a CTRL-C to abort long type-outs.<br />

6.4.3 Deleting Characters<br />

The D (Delete) Command<br />

The D command deletes a specified number of characters and takes the forms:<br />

nD, -nD<br />

where n is the number of characters to be deleted. If no number is specified, ED<br />

deletes the character to the right of the <strong>CP</strong>. A positive number deletes multiple<br />

characters to the right of the <strong>CP</strong>, towards the bottom of the file. A negative number<br />

del etes charac ters to the left of the <strong>CP</strong>, towards the top of the file. If the character<br />

pointer is positioned in the memory buffer as follows<br />

Emily Dickinson said,<br />

"I find ecstasy in living -<br />

the mere sense of living<br />

is joy ^enough."<br />

the command 6D deletes the six characters after the <strong>CP</strong>, and the resulting memory<br />

buffer looks like this:<br />

Emily Dickinson said,<br />

"I find ecstasy in living -<br />

the mere sense of I'tving<br />

is joy^."<br />

You can also use a D command to delete the between two lines to join<br />

them together. Remember that the and are two characters.<br />

6-13

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

Saved successfully!

Ooh no, something went wrong!