This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tutorials:exec [2022/03/14 04:24] papa [Command and argument list] |
tutorials:exec [2022/03/15 09:41] (current) papa [Automatic commands] |
||
---|---|---|---|
Line 26: | Line 26: | ||
* In the middle of command name input, pressing ''?'' | * In the middle of command name input, pressing ''?'' | ||
* Elsewhere, pressing ''?'' | * Elsewhere, pressing ''?'' | ||
+ | |||
+ | ===== Completion and guidewords ===== | ||
+ | |||
+ | During command entry, pressing **Esc** will complete partial commands and arguments and display // | ||
+ | |||
+ | // | ||
+ | |||
+ | @diRECTORY (OF FILES) | ||
+ | |||
+ | ... and wait for the user to specify what files he wants listed, or press **Enter** to list all files in the current directory. | ||
===== Abbreviations ===== | ===== Abbreviations ===== | ||
Line 41: | Line 51: | ||
| LOGOUT | LOGO | | | LOGOUT | LOGO | | ||
+ | ===== Command line editing ===== | ||
+ | Use the following control keys to edit command text before pressing **Enter** (except for **Ctrl-H**). | ||
+ | | **Backspace** | Delete last-typed character to the left. | | ||
+ | | **Ctrl-R** | Retype current command line. | | ||
+ | | **Ctrl-U** | Erase current command line. | | ||
+ | | **Ctrl-W** | Erase previous word. | | ||
+ | | **Ctrl-H** | Reprint erroneous command up to error.< | ||
- | + | < | |
===== Subcommands ===== | ===== Subcommands ===== | ||
+ | To enter subcommands, | ||
- | [Put general information on using EXEC here. (Completion, | ||
====== Command Files ====== | ====== Command Files ====== | ||
Line 76: | Line 92: | ||
| SUBMIT | 1. SYSTEM: | | SUBMIT | 1. SYSTEM: | ||
| PUSH | 1. SYSTEM: | | PUSH | 1. SYSTEM: | ||
+ | | ATTACH | 1. ATTACH.CMD | | ||
| LOGOUT | 1. LOGOUT.CMD \\ 2. SYSTEM: | | LOGOUT | 1. LOGOUT.CMD \\ 2. SYSTEM: | ||
When EXEC executes multiple command files, commands in earlier command files may be overridden by commands in later files. For example, during log-in a '' | When EXEC executes multiple command files, commands in earlier command files may be overridden by commands in later files. For example, during log-in a '' | ||
+ | |||
+ | In principle, your LOGIN.CMD file should contain programs you want to run automatically when you log-in and job-wide customizations (DEFINE, SET LOCATION), while your COMAND.CMD should contain local EXEC customizations that you want applied every time EXEC starts for both LOGIN and PUSH (SET DEFAULT, SET PROGRAM, SET PROMPT | ||
+ | or PCL declarations). | ||