 |
» |
|
|
|
|  |  |
In an interactive session, the following MPE/3000 special controls allow you to correct typing errors, temporarily suspend EDIT/3000 operation, and type continuation lines. - CONTROL X
To delete a line that you have typed in from the terminal (and before you press the RETURN key), type CONTROL X or the equivalent (press and hold CONTROL or its equivalent and press X). MPE/3000 prints !!! and returns the carriage or cursor. Now you can type the corrected line. For example,
|----- CONTROL X entered here
v
:EDIKOR!!!
EDITOR
|
- CONTROL H
To erase the last character typed, type CONTROL H or its equivalent (press and hold CONTROL or its equivalent and press H). MPE/3000 prints an indication of the erasure (such as a back slash, or a backspace and a back slash, depending on the terminal type). It is now possible to type the correct character. To erase more than one character, type CONTROL H once for each character to be erased. An example of CONTROL H is as follows:
|---- CONTROL H entered here
v
:FILE OUT;SAW\VE
|
The corrected line is entered into the computer as: - BREAK
To suspend EDIT/3000 operation temporarily, press the BREAK key or its equivalent. Control is passed to MPE/3000, which prints a colon prompt character and waits for a command. When you are ready to resume EDIT/3000 operation, type :RESUME. MPE/3000 prints the message READ PEND- ING. Now, enter data or commands to resume EDIT/3000 operation. An example appears in Figure 2-3 “Using the BREAK Key”. Here, the user has suspended EDIT/3000 operation to display files to which he may have access by entering the :LISTF command. See also the : command, described in Section III, which allows you to enter certain system commands from within EDIT/3000. - LINE FEED
To continue any input line to the next line, press LINE FEED or its equivalent. MPE/3000 will space one line and you can continue to type. (Note: This is most useful when editing text lines which exceed terminal line length.)
Figure 2-3 Using the BREAK Key
:EDITOR
HP32201A.7.08 EDIT/3000 TUE, JUN 3, 1980, 11:28 AM
(C) HEWLETT-PACKARD CO. 1980
/ADD
1 ABC
2 DEF
3 <------------------------ BREAK KEY PRESSED
:LISTF
FILENAME
BATCH1 BATCH2 BATCH3 ED IT3 EDITPROC FTRAN11
FTRAN10 FTRAN11 FTRAN12 FTRAN13 FTRAN14 FTRAN15
FTRAN16 FTRAN17 FTRAN18 FTRAN19 FTRAN2 FTRAN20
FTRAN21 FTRAN22 FTRAN23 FTRAN24 FTRAN25 FTRAN26
FTRAN27 FTRAN28 FTRAN29 FTRAN3 FTRAN30 FTRAN31
FTRAN32 FTRAN33 FTRAN34 FTRAN35 FTRAN36 FTRAN37
FTRAN38 FTRAN39 FTRAN4 FTRAN40 FTRAN41 FTRAN42
FTRAN43 FTRAN44 FTRAN5 FTRAN6 FTRAN7 FTRAN8
FTRAN9 JUST K1751515 NAMES SL TRACE1
TRACE2 TRACE3 XMPL1 XMPL2 XMPL3
:RESUME
READ PENDING <---------------- DISPLAYED BY MPE/3000
GHI
4 //
...
/LIST ALL
1 ABC
2 DEF
3 GHI
/END
IF IT IS OK TO CLEAR RESPOND "YES"
CLEAR? Y
END OF SUBSYSTEM
:
|
If the terminal being used is a device not normally furnished by Hewlett-Packard, the keys used for CONTROL X, CONTROL H, BREAK, and LINE FEED may have other labels. See the MPE Commands Reference Manual for terminal characteristics. In addition to the MPE special controls described above, CONTROL Y is a special control provided by EDIT/3000. It can be used during EDIT/3000 operation only and is useful solely in interactive sessions. - CONTROL Y
To terminate EDIT/3000 command execution during an interactive session on HP terminals, press CONTROL Y (hold control key and press Y) or its equivalent. EDIT/3000 displays...and a slash to prompt for the next command. An example of CONTROL Y usage is shown in Figure 2-4 “Using CONTROL Y”.
Figure 2-4 Using CONTROL Y
:EDITOR
HP32201A.7.08 EDIT/3000 TUE, JUN 3, 1980, 11:28 AM
(C) HEWLETT-PACKARD CO. 1980
/ADD
1 ABCDE
2 FGHIJ
v----------------CONTROL Y entered here
3 ...
/ END
IF IT IS OK TO CLEAR RESPOND "YES"
CLEAR? YES
END OF SUBSYSTEM
|
|