+---------------+ | +-------+ | | / \ | | / D E C U S \ | D E C U S makes it work | \ P D P / | | \ S I G / | | +-------+ | +---------------+ MMMM MMMM CCCCCCCC EEEEEEEEEE MM MM MM MM CCC CCC EE EEE MM MM MM MM CC CC EE MM MMM MM CC EEEEEEE MM M MM CC EEEEEEE MM MM CC CC EE MM MM CCC CCC EE EEE MM MM CCCCCCCC EEEEEEEEEE COMMAND LINE EDITOR This manual describes MCE V4.27 of 19 april 1996 originaly developed by D. Sponza (YU) oct-81 Since 29-Jul-86 Supported by Hans Hamakers ABB Support BV Dept. SIS P.O Box 2667 3000 CR Rotterdam The Netherlands Phone : +31 10 407 86 31 Fax : +31 10 456 86 80 Internet : jhamakers@abb.com CompuServe : 100137,3655 PSI : 02041340077::Hamakers_J X400 : C=ch A=400net P=abb OU1=nlsup O=abb S=hamakers G=hans Different "evolutions" from DECUS tapes (sometimes called CLE) where collected and merged and new features where added. MCE -- Command line editor Page 2 MCE is an RSX-task through which you can communicate with the CLI active at your terminal. --------+ +---------+ +---------+ / | QIO's | | SPAWN | | / TI: |-<------->-| MCE |--<----->--| CLI | | | | | | | +---------+ +---------+ +---------+ MCE let you edit your command lines in an EDT-like way in keypad- or non-keypad-mode. MCE stores the command lines for you in a Fifo-buffer for later retrieval and you can define your own commands in the same way as in VMS. 1. Options A list of optional features follows below. They can individualy be selected at build time MCE V4.27 - Command line Editor options : --------------------------------------- - Multiple CLI support - Init-file support - Compound command line support - Statusline support - Startup and exit messages - Remote terminal (RT: and HT:) detection - VT2plus support (* - VT4plus support (* - TDV2230 function key support - EDT-Keypad editing support - User prompt support - Extended prompt support - Terminal password locking - Automatic return to Insert- or Overstrikemode - Terminal time-out support _______________ * In this manual VT2plus means support for VT2xx, VT3xx, VT4xx and VT5xx terminals, VT4plus for VT4xx, and VT5xx terminals MCE -- Command line editor Page 3 Options 1.1 Multiple CLI support When multiple CLI support is included MCE uses the prompt from the CLI that is active at the invoking terminal. Furthermore different Init-files for MCR, DCL or other CLI's can exist. 1.2 Init-file support When Init-file support is included MCE reads initialisation files which can contain Command synonym definitions, Internal- and CLI-commands. Files are searched in this order: When multiple CLI support is included : LB:[1,2]MCEINI.xxx, followed by SY:[CurDir]MCEINI.xxx or SYS$LOGIN:MCEINI.xxx When multiple CLI support is not included : LB:[1,2]MCEINI.CMD, followed by SY:[CurDir]MCEINI.CMD or SYS$LOGIN:MCEINI.CMD where "xxx" is the name of the CLI defined for the terminal invoking MCE and "CurDir" is the default directory at the startup of MCE. This algorithm divides command definition into 2 groups: A system-wide set in LB:[1,2] followed by users private set in SY:[CurDir] or SYS$LOGIN: MCE can be configured to always read the the user Init-file from SYS$LOGIN: on systems that support Logical Names (Only possible on M-Plus). This makes you independent from where you start MCE. Overriding the default file name in the command line which invokes MCE offers the possibility to tailor an application specific command set. Comments are possible behind "!" which is the comment character for CLI's. An Example of an Init-file can be found in Appendix A 1.3 Compound command line support MCE allows definitions of compound commands. Using the ampersand (&) sign an MCE command can be defined as a sequence of multiple CLI commands : MCE -- Command line editor Page 4 Options E.g. +>STAT := TIM & PIP /LI & ACT /ALL ...etc. This defines STAT as a sequence of CLI-commands that are executed one after another. MCE waits for completion of one command before activating the next. Also it can be done directly: E.g. +>MAC @TASKASM & TKB @TASKTKB The "&" MUST be preceded by at least one space. This is done to let commands like "PIP /TD&/LI" still work. When a command in a compound command line gives a non-successful exitstatus, MCE terminates the compound command line there, showing the exitstatus and the command that caused it. A compound command line may also contain Internal Commands (Commands starting with "MCE") in mixture with normal CLI commands. Only the first command is checked for translation. MCE -- Command line editor Page 5 Options 1.4 Statusline support Line 24 on an ANSI CRT terminal can be used for status information. The statusline shows the different settings and Fifo-buffer parameters of MCE and can be switched on/off with "MCE STATus ON|OFF". For non ANSI terminals like VT52's only a "SNAPSHOT" is possible with "MCE STATus". The statusline is than displayed only once. The line displayes the following : ----------------------------------------------------------------------- MCE-V4.27 FIFO:list/22/16/00 CMSZ:04 KEYP:on SVINT:off SVOLD:on TMO:xx ----------------------------------------------------------------------- | | | | | | | | | | | | | | | | | | | v | | | | | | | | | Time-out time | | | | | | | | | in minutes, | | | | | | | | | "off" or "no" | | | | | | | | v | | | | | | | | Save old cmds | | | | | | | | "on" or "off" | | | | | | | | | | | | | | | +--> Save intern cmds | | | | | | | "on" or "off" | | | | | | | | | | | | | +-----> Keypad editing "on" or | | | | | | "off" | | | | | | | | | | | +-----> Minimal size of command line | | | | | | | | | +-----> Number of current cmdline from Fifo | | | +--------> Number of cmdlines in Fifo | | +-----------> Maximum number of cmdlines in Fifo | +---------------> Fifo is a "list" or a "ring" | +-----------------> MCE Version 1.5 Startup and exit messages The startup and exit messages like : "MCE -- CLI-Command Line Editor V4.27" and "MCE -- Exit" are optional. They can be selected at build time. MCE indentifies its self with MCE -- Command line editor Page 6 Options "MCE -- MCR-Command Line Editor V4.27" ___ when no multiple CLI support was selected at build time. 1.6 Remote terminal (RT: and HT:) detection When MCE is started via a remote terminal problems can occur if the local system is VMS with its command line editor enabled. The way MCE acts when it detects if it is started via a remote terminal can be specified at build time. One of the following options can be selected : - Give the following message: MCE -- ** WARNING ** Started on a remote terminal. If your local system is VMS with its command line editor enabled please type "MCE EXIT" - Give the folowing message and exit : MCE -- Started on a remote terminal line. Exiting .... - Do nothing 1.7 VT2plus support VT2plus support enables the use of VT2+ keyboards. (* The keys , and work as , and . The keys , etc. can also be used and it is possible to define the function keys .. like : "F6 := TIM" Pushing then gives the time of day. (See function keys) 1.8 VT4plus support On a VT4+ terminal it is possible to use .. as normal functionkeys. MCE enables you to define those keys in the same way as other function keys when this support is included with MCEBLD. (** _______________ * VT2+ in this manual stands for VT2xx and later models. ** VT4+ in this manual stands for VT4xx and later models. MCE -- Command line editor Page 7 Options 1.9 TDV2230 function key support The keys of a TANDBERG TDV2230 terminal can be defined like the ones on a VT2+. (See function keys) 1.10 EDT-Keypad editing support Some edit functions can be performed on a VT52/VT1xx/VT2+ -keypad, similar to K52, KED and EDT. The Keypad-editing can be switched on/off with "MCE KEYPad ON|OFF" 1.11 User prompt support The MCE prompt can be specified by the user with "MCE USPRompt userprompt". A userprompt can contain up to 20 characters. The return to the defaultprompt type "MCE USPRompt". 1.12 Extended prompt support The MCE prompt can show if overstrike- or insert-mode is active by "+" and "-". Also it can display if keypad editing is enabled when the statusline is off by ":" e.g. "+:>" The Extended prompt can be switched on/off with "MCE PROMpt ON|OFF" 1.13 Terminal password locking When selected this option enables the The "MCE LOCK" command. It prompts for a password and verification and locks the terminal. When the password is entered again the terminal is ready to use again. This is all like the LOCK command from Digital's Terminalservers. MCE -- Command line editor Page 8 Options 1.14 Automatic return to Insert- or Overstrikemode Default overstrike- or insert-mode stayes active until it is changed by CTRL/A or . MCE can be build so that it sets one of the modes active by default when it prompts for a new command. This can be changed with the "MCE INSErt ON|OFF" and "MCE OVERstrike ON|OFF" commands. 1.15 Terminal time-out support When terminal time-out support is included and the terminal is not used within a given time the terminal is logged-out. (at TT0: MCE only exits) Optionaly the timeout value can be changed with "MCE TIMOut nnn" to be 2 to 999 minutes or can be enabled or disabled with the "MCE TIMOut ON|OFF" command. The MCE TIMOut command MUST be included during build time to let this work. (So system managers, do not be afraid, if YOU do not want it, they will not get it) 2. Command Line Editor Startup Invoke MCE with command "MCE" , preferably in your LOGIN file by ".XQT MCE". If Init-file support is included a file of Command-Synonyms, CLI-Commands and/or Internal-Commands will be read and executed at MCE startup. The file may be specified in the form "MCE startup-file". If no startup file is specified in the command line (the normal case), the default Init-files are searched for. (See Init-files) 3. Command Line Editor Exit To exit MCE use the "MCE EXIT" internal command or . 4. Command Lines When MCE is ready to accept a command line it displays a prompt. How the prompt looks depends on the chosen options and setup of MCE. (See Extended prompt). The maximum length of command lines is 78 characters. If a command line starts with "MCE", it is interpreted as an Internal Command. Other command lines are checked for MCE -- Command line editor Page 9 Command Lines translation and the result is spawned to the current CLI. Special action is performed with "BYE" and "LOG[out]". "BYE" and when in DCL "LOG[out]" result in a spawn of "BYE" to MCR and MCE exits immediately. Note that you may define any other string (e.g. GOODBYE) to result in "BYE" or "LOGOUT". All command lines can be preceded by and contain one or more TAB's and/or spaces. Normally all command lines equal to or longer than a given length are saved in a Fifo-buffer. This length can be changed with the "MCE CMSZ n" command. The maximum number of command lines the Fifo-buffer can hold can be specified with the "MCE FISZ n" command. When the maximum number of command lines is present, or when no buffer poolspace is available to hold more entries, the new command line is saved and the oldest disappears. Retrieved command lines from the Fifo-buffer are only saved again if they are edited or when the saving of "old" command lines is enabled by "MCE SVOLd ON" and this command line is not the newest in the fifo. This prevents filling up your fifo with one command by continously repeating the last command. Internal commands are saved when this is enabled by "MCE SVINternals ON". (Save "INTERNAL" commands) 5. Command synonyms A Command synonym can be defined by: +>Syn := [ & [ & ..... ] ] where "Syn" is the command synonym which will be substituted by the text at the right side of ":=". e.g.: +>HE := HELP PIP ! +>HE ! Will request "HELP PIP" NOTE The ":=" must be preceded and followed by at least one TAB or space MCE -- Command line editor Page 10 Command synonyms With Keypad-mode "OFF" the keystrokes , or P translate the command synonym without execution. If you enter a command synonym followed by additional text, this additional text will normally be appended as a whole. e.g. +>HE /RE ! Will request "HELP PIP /RE or +>HE /RE ! Will be translated and ! displayed result +>HELP PIP /RE A command synonym can be deleted by redefining it to null. e.g. +>HE := ! Delete above definition Abbreviate commands by separating the optional part by "*" e.g. +>HP*IP := HELP PIP This command can now be requested with: +>HP or HPI or HPIP etc. More sophisticated is the Parameter Substitution, similar to the indirect command file 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 [1,2] ! Will simulate the DCL ! COPY command Note that command synonyms may be performed from Init-files. 6. Function keys You can request a command with function keys , , or . The keys , and on a VT52 are synonym to , and . It is also possible to request commands with control keys (e.g. ). With a VT2+ keyboard you can also define the function keys MCE -- Command line editor Page 11 Function keys .. and etc. (Only when VT2plus support is included) With a VT4+ .. can be defined when this support is included. The keys of a TANDBERG TDV2230 keyboard can be defined like the ones on a VT2+. (Only when TDV2230 support is included) Define the command translation as " := command". e.g. +>PF2 := TIM ! Redefine or key +> ! to display the current time +>F6 := ACT ! Define F6 function key +> ! to display the active tasks The keys ect. on a VT2+ keyboard must be entered as F$a where "a" is the first character of the key function. (English keynames) e.g. "F$P" for . Define a control key as follows : e.g. +>^G := SET /UIC ! Define key +> ! to display the current UIC Note that the following control-keys CAN NOT be defined: = , , , = Next to the rest of the Alphabetic characters the following keys can be defined : NOTE A Userdefined key overrules the function that the key may already have for MCE MCE -- Command line editor Page 12 Function keys 7. Internal Commands (MCE xxxx) If a Command Line starts with "MCE" an Internal Command is assumed. Following the verb "MCE " a 4 character action specifier defines the action wanted. e.g. "MCE CLEA" this command clears the Fifo-buffer Here follows a list of all internal commands : - MCE CHAIn [file] - MCE CLEAr - MCE CMSZ n - MCE ECHO ON|OFF - MCE EXIT - MCE FISZ n - MCE FREE - MCE INSErt ON|OFF - MCE KEYPad ON|OFF - MCE LIST - MCE LOCK - MCE OVERstrike ON|OFF - MCE PROMpt ON|OFF - MCE PURGe - MCE READ [file] - MCE REPLace [file] - MCE RING - MCE STATusline [ON|OFF] - MCE SVINternals ON|OFF - MCE SVOLd ON|OFF - MCE TIMOut n|ON|OFF - MCE UPFind ON|OFF - MCE USPRompt [userprompt] - MCE VERSion 7.1 MCE CHAIn [file] Chain from one Init-file to another, that is start or continue reading commands from the specified file. This command is a synonym for "MCE READ [file]". This command is only available when Init-file support is included in MCE. 7.2 MCE CLEAr This command deletes all commands currently in the Fifo-buffer. MCE -- Command line editor Page 13 Internal Commands (MCE xxxx) 7.3 MCE CMSZ n Changes minimal command size to "n". Only command lines that are equal to or longer than "n" characters are stored in the Fifo-buffer. Set the length to 79 if for any reason you do not want to save commands. The default setting can be specified at MCE build time. 7.4 MCE ECHO ON|OFF When "ON", MCE echoes command lines to TI:. This is useful in Init-files to display messages etc. or to see the translation of command synonyms. The default setting is "OFF". (See example in Appendix A) 7.5 MCE EXIT The task MCE exits. 7.6 MCE FISZ n Changes the maximum number of command lines which can be saved in the command line Fifo-buffer. Note that the actual number of command lines that can be saved depends on the size of the command lines and the available MCE poolspace. Information about MCE's poolspace can be obtained by the "MCE FREE" command. More poolspace can be created by installing MCE with a larger increment. "INS $MCE/INC=xxx". A value of 2400, which is the default value that is used during taskbuilding/linking, will be enough in most cases. If "n" is smaller than the active number of command lines stored, MCE deletes the oldest command lines from the Fifo-buffer untill "n" is reached. The default setting can be specified at MCE build time. 7.7 MCE FREE Displays MCE's Pool information like : "MCE -- Pool:xxx:yyy:zz." xxx = Size of largest block in bytes yyy = Total number of free bytes zz = Number of fragments MCE -- Command line editor Page 14 Internal Commands (MCE xxxx) 7.8 MCE INSErt ON|OFF When "ON", MCE goes back to INSERT mode when prompting for a new command. The default setting can be specified at MCE build time. "MCE INSErt ON" Switches Auto-Overstrike mode off. "MCE OVERstrike ON" Switches Auto-Insert mode off. 7.9 MCE KEYPad ON|OFF Set Keypad editing on/off. (See EDT-Keypad editing). This command is only available when EDT-Keypad support is included in MCE. 7.10 MCE LIST Makes command Fifo-buffer a list : UP- and DOWN-ARROW stop at the top and bottom of the FIFO. This is the default setting. (See also "MCE RING" command) 7.11 MCE LOCK The LOCK command prompts for a Password and verification and locks the terminal untill the password is typed again. Like the LOCK command from Digitals terminal servers. The maximum password-length is 8 characters. This command is only available when Terminal Password locking support is included in MCE. 7.12 MCE OVERstrike ON|OFF When "ON", MCE goes back to OVERSTRIKE mode when prompting for a new command. The default setting can be specified at MCE build time. "MCE OVERstrike ON" Switches Auto-Insert mode off. "MCE INSErt ON" Switches Auto-Overstrike mode off. MCE -- Command line editor Page 15 Internal Commands (MCE xxxx) 7.13 MCE PROMpt ON|OFF Switches extended prompt on/off. The default setting can be specified at MCE build time. This command is only available when Extended prompt support is included in MCE. 7.14 MCE PURGe This command deletes all command synonyms currently in the synonym buffer. 7.15 MCE READ [file] Read command lines from specified file. This command is only available when Init-file support is included in MCE. 7.16 MCE REPLace [file] Combines the MCE PURGe and MCE READ [file] commands. This command is only available when Init-file support is included in MCE. 7.17 MCE RING Makes command Fifo-buffer a ring : UP- and DOWN-ARROW roll through the buffer. The default setting is "LIST". (See also "MCE LIST" command) 7.18 MCE STATus [ON|OFF] This command sets the statusline "ON" or "OFF". When no option is specified the statusline is displayed only once. (See Statusline support) The default setting can be specified at MCE build time. This command is only available when Statusline support is included in MCE. MCE -- Command line editor Page 16 Internal Commands (MCE xxxx) 7.19 MCE SVINternals ON|OFF When "ON", Internal commands (Command lines starting with "MCE") are saved in the Fifo-buffer, When "OFF" these commands are not saved. The default setting can be specified at MCE build time. 7.20 MCE SVOLd ON|OFF When "ON", an "old" command (retrieved from the Fifo-buffer) is saved again in the Fifo-buffer if it is not the newest in the fifo. When "OFF", "old" commands are not saved unless they are edited. The default setting can be specified at MCE build time. 7.21 MCE TIMOut n|ON|OFF This command allows you to change the timeout value in minutes that you specified during MCEBLD run. The value n may be anything in the range of 2 to 999. You may also enable or disable timeout with the ON|OFF parameter. This command is only available when Settable Terminal Time-Out support is included in MCE. 7.22 MCE UPFInd ON|OFF Since Version 4.27 of MCE does a function (like ) when there is something on the commandline and the cursor is at the end of the line. This feature is included because many PC commandline editors have that feature. This is the default. The user can change to the old situation with the "MCE UPFInd OFF" command. 7.23 MCE USPRompt [userprompt] When "userprompt" is specified MCE uses this argument as the new prompt. It can contain up to 20 characters. When "userprompt" is not specified MCE uses the default prompt again. This command is only available when User Prompt support is included in MCE. MCE -- Command line editor Page 17 Internal Commands (MCE xxxx) 7.24 MCE VERSion Shows the MCE Version identification 7.25 Some notes on files When with the CHAIn, READ and REPLace commands no file is specified, the same filename convention is used as at startup: the files according to the current CLI are read, i.e. the command "MCE REPLace" results in a MCE restart, but the Fifo-buffer is kept. This is useful after a "SET TERMINAL " command. When a "space" is given as filename, only SY:[CurDir]MCEINI.xxx or SYS$LOGIN:MCEINI.xxx is read. (See Init-file support) 8. Recall function Recalling a command is done by entering the first part of a command which was previously executed, termimated by a RECALL keystroke. This will recall the last command already executed starting with the string entered. The command can be edited or executed by pressing the return key. A second RECALL keystroke searches further back in the Fifo-buffer. When no string is entered, the last defined string is taken. Recall keystrokes are : Q In non EDT-Keypad mode : or In EDT-Keypad mode : or E.g. Previously entered command lines : +>DIR MCE*.* +>MAC @MCEASM +>TKB @MCETKB +>DMP X.DAT +>TIM +>D Will recall the last command line starting with "D" : +>DMP X.DAT Another keystroke will recall an older command from the FIFO starting with "D" +>DIR MCE*.* MCE -- Command line editor Page 18 Recall function +>DI Will recall : +>DIR MCE*.* Since Version 4.27 of MCE does a function when there is something on the commandline and the cursor is at the end of the line. This feature is included because many PC commandline editors have that feature. This is the default. The user can change to the old situation with the "MCE UPFInd OFF" command. 9. Help file A helpfile named MCE.HLP customized to the selected options is created during MCE build time. The helpfile can be created in two different versions. VERSION 1 : You can access this version by typing : "HELP MCE [topic...]" but you have to include a reference like : 1 MCE @MCE in MCR.HLP and DCL.HLP VERSION 2 : You can access this version by typing : "HELP /MCE [topic...]". This version does not need any editing of MCR.HLP and DCL.HLP Note that if you do not build the helpfile together with MCE, you can not use the and keys to walk through the helpfile. MCE -- Command line editor Page 19 Help file 10. Line editing commands For line-editing there are two modes : o Non-keypad mode o Keypad mode In the non-keypad mode you control MCE with control-keys or escape-sequences. In the keypad mode you can use the keypad of a VT52, VT1xx or a VT2+ terminal to give commands to MCE. The advantage of this mode is that you can edit the current command line in the same way as you edit a line in K52, KED or EDT. 10.1 Non-keypad editing and cursor movement commands +----------------------------------------------------------+ | Cursor movements | +----------------------------------------------------------+ | Move Cursor Left | or | | Move Cursor Right | or | | Move Cursor to Begin Of Line | or | | | or * | | Move Cursor to End Of Line | | | Move one Word to the right or | | | move from EOL to BOL | or | +----------------------------------------------------------+ +----------------------------------------------------------+ | Delete commands | +----------------------------------------------------------+ | Delete Character Left of Cursor| | | Delete Character at Cursor | | | Delete Word Left of Cursor | or | | | or * | | Delete Word Right at Cursor | | | Delete from Cursor to BOL | | | Delete from Cursor to EOL | | | Delete whole line | | +----------------------------------------------------------+ _______________ * On a VT2+ terminal only when VT2plus support is included. MCE -- Command line editor Page 20 Line editing commands +----------------------------------------------------------+ | Control commands | +----------------------------------------------------------+ | Rewrite Line | | | Switch between Overstrike and | | | Insert mode. | or * | +----------------------------------------------------------+ +----------------------------------------------------------+ | Save and execute | +----------------------------------------------------------+ | Execute Command | or | | Execute Command without waiting| or * | | Execute Cmd and leave Fifo- | | | bufferpointer where it is | | | Save Command without executing | | | Enable output from other tasks | | | Detach for 10 sec. | | | Enable output from other tasks | | | Stop; Resume with "UNST MCE" | | +----------------------------------------------------------+ +----------------------------------------------------------+ | Non-keypad Command buffer manipulation keys: | +----------------------------------------------------------+ | Display contents of Fifo-buffer| or S | | Retrieve previous Command | or | | Reverse of (next command) | | | Recall Command from Fifo | or | | | or * or Q | | | or ** | +----------------------------------------------------------+ +----------------------------------------------------------+ | Non-keypad Help keys: | +----------------------------------------------------------+ | Gives HELP about MCE | * or | | Gives Previous/Next HELP screen| */ *| +----------------------------------------------------------+ +----------------------------------------------------------+ | Non-keypad Command translation keys: | +----------------------------------------------------------+ | Translate Command synonym | | | without execution | or | | | or P | | Show Command Synonym Buffer | or | | | or R | +----------------------------------------------------------+ _______________ * On a VT2+ terminal only when VT2plus support is included. ** See "MCE UPFInd" command. MCE -- Command line editor Page 21 Line editing commands 10.2 EDT-keypad editing and cursormovement commands While in keypad-mode the non-keypad commands are valid, except those commands that are redefined. 10.2.1 VT2+ Keyboard Lay-out F11 F12 F13 F14 HELP DO +--------+--------+--------+--------+ +--------+-----------------+ |*(ESC) |* (BS) |* (LF) |* | |* |* | | | | DELWRD | INS/OVR| | HELP | EXECUTE NOWAIT | | | BEGLIN | RIGHT | | | | | +--------+--------+--------+--------+ +--------+-----------------+ PF1 PF2 PF3 PF4 +--------+--------+--------+ +--------+--------+--------+--------+ |*(FIND) |*INSERT |* RE- | |\\\\\\\\| | | DELLIN | | RECALL | HERE | MOVE | |\\GOLD\\| KPHELP | RECALL | ------ | | | | | |\\\\\\\\| | |\UNDLIN\| +--------+--------+--------+ +--------+--------+--------+--------+ |* |* PREV |* NEXT | | | SHOSYN | SHOFIF | DELWRD | | SELECT | HELP | HELP | | TRANSL | ------ | ------ | ------ | | |(SCREEN)|(SCREEN)| | |\\VERS\\|\\FREE\\|\UNDWRD\| +--------+--------+--------+ +--------+--------+--------+--------+ | PREV | | DETACH | | CUT | DELCHR | | COMMAND| | ------ | | ------ | ------ | |** | |\SUSPND\| |\PASTE\\|\UNDCHR\| +--------+--------+--------+ +--------+--------+--------+--------+ | | NEXT | | | | EOL | | | | <-- | COMMAND| --> | | WORD | ------ | DO STAY| ENTER | | | | | | |\DELLIN\| | | +--------+--------+--------+ +--------+--------+--------+ ------ | | BEGLIN | SELECT |\\\\\\\\| | --------------- | ------ |\\SAVE\\| |\\\\\CLRLIN\\\\\\|\RESET\\|\\\\\\\\| +-----------------+--------+--------+ _______________ * On a VT2+ terminal only when VT2plus support is included. ** See "MCE UPFInd" command. MCE -- Command line editor Page 22 Line editing commands 10.2.2 VT1xx Keypad Lay-out UP DOWN LEFT RIGHT +--------+--------+--------+--------+ | PREV. | NEXT | | | | COMMAND| COMMAND| <-- | --> | |* | | | | +--------+--------+--------+--------+ PF1 PF2 PF3 PF4 +--------+--------+--------+--------+ |\\\\\\\\| | | DELLIN | |\\GOLD\\| KPHELP | RECALL | ------ | |\\\\\\\\| | |\UNDLIN\| +--------+--------+--------+--------+ | | SHOSYN | SHOFIF | DELWRD | | TRANSL | ------ | ------ | ------ | | |\\VERS\\|\\FREE\\|\UNDWRD\| +--------+--------+--------+--------+ | DETACH | | CUT | DELCHR | | ------ | | ------ | ------ | |\SUSPND\| |\PASTE\\|\UNDCHR\| +--------+--------+--------+--------+ | | EOL | | | | WORD | ------ | DO STAY| ENTER | | |\DELLIN\| | | +--------+--------+--------+ ------ | | BEGLIN | SELECT |\\\\\\\\| | --------------- | ------ |\\SAVE\\| |\\\\\CLRLIN\\\\\\|\RESET\\|\\\\\\\\| +-----------------+--------+--------+ _______________ * See "MCE UPFInd" command. MCE -- Command line editor Page 23 Line editing commands 10.2.3 VT52 Keypad Lay-out BLUE RED GREY UP +--------+--------+--------+--------+ |\\\\\\\\| | | PREV. | |\\GOLD\\| KPHELP | RECALL | COMMAND| |\\\\\\\\| | |* | +-----------------+--------+--------+ | | SHOSYN | SHOFIF | NEXT | | TRANSL | ------ | ------ | COMMAND| | |\\VERS\\|\\FREE\\| | +-----------------+--------+--------+ | DETACH | | CUT | | | ------ | | ------ | --> | |\SUSPND\| |\PASTE\\| | +--------+--------+--------+--------+ | | EOL | | | | WORD | ------ | DO STAY| <-- | | |\DELLIN\| | | +--------+--------+--------+--------+ | BEGLIN | SELECT | ENTER | | --------------- | ------ | ------ | |\\\\\CLRLIN\\\\\\|\RESET\\|\\SAVE\\| +-----------------+--------+--------+ _______________ * See "MCE UPFInd" command. MCE -- Command line editor Page 24 Line editing commands 10.2.4 Keypad editing and cursormovement keys Note : means key x on the keypad. +----------------------------------------------------------+ | Control commands | +----------------------------------------------------------+ | Select lower function | | | | or = GOLD | +----------------------------------------------------------+ +----------------------------------------------------------+ | Cursormovements | +----------------------------------------------------------+ | Move Cursor to Begin Of Line | = BEGLIN | | Move Cursor to End Of Line | = EOL | | Move one Word to the right or | | | move from EOL to BOL | = WORD | +----------------------------------------------------------+ +----------------------------------------------------------+ | Delete commands | +----------------------------------------------------------+ | Delete Character at Cursor | = DELCHR | | Delete Word Right at Cursor | = DELWRD | | Delete from Cursor to EOL | = DELLIN | | | or | | | or = DELEOL | | Delete Whole line | | | | or = CLRLIN | +----------------------------------------------------------+ +----------------------------------------------------------+ | Undelete commands | +----------------------------------------------------------+ | Undelete Character | = UNDCHR | | Undelete Word | = UNDWRD | | Undelete Line | = UNDLIN | +----------------------------------------------------------+ MCE -- Command line editor Page 25 Line editing commands +----------------------------------------------------------+ | Cut and paste commands | +----------------------------------------------------------+ | Set Begin Of Textmarker BOT |