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

A further abbreviation of this command is to enter no number at all. In response<br />

to a carriage return without a preceding command, ED assumes a n command of 1<br />

and moves the <strong>CP</strong> down to the next line and prints it, as follows<br />

Emily Dickinson said,<br />

"I find ecstasy in living -<br />

^the mere sense of living < cr> < If ><br />

Also, a minus sign, -, without a number moves the <strong>CP</strong> back one line.<br />

6.4.2 Displaying Memory Buffer Contents<br />

ED does not display the contents of the memory buffer until you specify which<br />

part of the text you want to see. The T command displays text without moving the<br />

<strong>CP</strong>.<br />

The T (Type) Command<br />

The T command types a specified number of lines from the <strong>CP</strong> at the screen. The<br />

T command takes the forms<br />

nT, -nT<br />

where n specifies the number of lines to be displayed. If a negative number is entered,<br />

ED displays n lines before the <strong>CP</strong>. A positive number displays n lines after the <strong>CP</strong>. If<br />

no number is specified, ED types from the character pointer to the end of the line.<br />

ton no matter how many lines are typed. For<br />

The <strong>CP</strong> remains in its original posit'<br />

example, if the character pointer is at the beginning of the memory buffer, and you<br />

instruct ED to type four lines (4T), four lines are displayed at the screen, but the <strong>CP</strong><br />

stays at the beginning of line 1.<br />

^Emily Dickinson said,<br />

"I find ecstasy in living -<br />

the mere sense of living<br />

is joy enough."<br />

If the <strong>CP</strong> is between two characters in the middle of the line, a T command with<br />

no number specified types only the characters between the <strong>CP</strong> and the end of the<br />

line, but the character pointer stays in the same position, as shown in the following<br />

memory buffer example:<br />

"I find ec^stasy in living -<br />

6-12

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

Saved successfully!

Ooh no, something went wrong!