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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6.4 Basic Editing Commands <strong>CP</strong>/M 3 User's Guide<br />

If you enter the command in upper-case, ED automatically converts the string to<br />

upper-case. The I command takes the forms:<br />

I<br />

Istring^Z<br />

When you type the first command, ED enters insert mode. In this mode, all keystrokes<br />

are added directly to the memory buffer. ED enters characters in lines and<br />

does not start a new line until you press the enter key.<br />

A>ED B:QUOTE.TEX<br />

NEW FILE<br />

: *i<br />

1: Emily Dickinson said,<br />

2: "I find ecstasy, in living -<br />

3: the mere sense of livig<br />

4: is joy enough."<br />

5: ^Z<br />

: *<br />

Note: to exit from insert mode, you must press CTRL-Z or ESC. When the ED<br />

prompt, *, appears on the screen, ED is not in insert mode.<br />

In command mode, you can use <strong>CP</strong>/M 3 command line-editing control characters.<br />

In insert mode, you can use the control characters listed in Table 6-3.<br />

Table 6-3. <strong>CP</strong>/M 3 Line-editing Controls<br />

Command Result<br />

CTRL-H Delete the last character typed on the current line.<br />

CTRL-U Delete the entire line currently being typed.<br />

CTRL-X Delete the entire line currently being typed. Same as CTRL-U.<br />

Backspace Remove the last character.<br />

6-15

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

Saved successfully!

Ooh no, something went wrong!