MCE - Utility Commands MCE V2.5 Supports all Line Editing Functions of VMS V4.0: - Switch between overstrike and insert mode or UP-ARROW - retrieve previous command DOWN-ARROW - reverse of UP-ARROW (next command) or LEFT-ARROW - Move Cursur left - Go to end of line or RIGHT-ARR - Move Cursur right or BACKSPACE - Move Cursur to beginning of line or LINEFEED - delete word to the left of the cursur - delete from beginning of line to cursor Additional Features: - Translate command without execution - Recall Command previously requester starting with a string entered before pressing key - Show Command Translation Buffer - Display previously requested commands (similar VMS RECALL/ALL command, in reversed order) Exit MCE with "BYE" or "EXIT" command. See HELP MCE TRANS for Command Translation RECALL for recalling Commands from Queue 2 TRANS As in DCL from VMS a command may be defined by: > CNAM := where CNAM is the command name which will be substituted by the text at the right side of the ":=". NOTE: The ":=" must be prececed and followed by a single space. e.g.: > HE := HELP MCE ! followed by space, to append further text > HE ! will request "HELP MCE" The translation may be performed without execution by (only displayed on terminal If you enter a predefined command followed by additional text, this additional text will normally be appended as whole. e.g.: > HE TRAN ! will request "HELP MCE TRAN" or: > HE TRAN will be translated and displayed: result > HELP MCE TRAN You may delete a command translation entry by redefining it to null. e.g.: > HE := ! delete above definition It is also possible to allow abbreviations of commands (as in DCL) by separating the optional part by "*". e.g.: > HM*CE := HELP MCE This command may now be requested with: > HM or HMC or HMCE or HMCEXXX etc. More sophisticated substitution is possible by the Parameter-Substitution, similar to the indirect commandfile processor. e.g.: > DIR*ECTORY := PIP 'P1'/LI > COP*Y := PIP 'P2'/NV/CD='P1' > DIR ! will be translated into "PIP /LI" > DIREC FIL ! will be translated into "PIP FIL/LI" > COPY A.CMD [200,200] ! will simulate DCL COPY command You may request a command with function keys , , or by definining the command translation "PFn := command". e.g. > PF2 := TIM ! redefine HELP function key ! to display the current time Note that Command Definitions may be performed from the commandfiles SY:[1,2]MCEINI.CMD, followed by SY:MCEINI.CMD which will always be read when starting MCE 2 RECALL Recalling command is done by entering the first part of a command which was previously executed, termimated by the function key "PF2". This will find the last commands already executed starting with the string entered. The command may be edited or executed by pressing the return key. Note that the function key "PF2" may not have any superimposed translation defined (by defining "PF2 := ..."). Example: > DIR X.DAT ! Previously entered commands > DMP X.DAT > .. > D ! will recall the first command > DMP X.DAT ! starting with "D" > DI ! will recall the command: > DIR X.DAT