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:17] papa [Using EXEC] |
tutorials:exec [2022/03/15 09:41] (current) papa [Automatic commands] |
||
---|---|---|---|
Line 21: | Line 21: | ||
===== Command and argument list ===== | ===== Command and argument list ===== | ||
- | To display a list of TOPS-20 | + | Pressing ''?'' |
- | In the middle of command entry, to see a list of possible | + | * At the EXEC prompt, pressing ''?'' |
+ | * In the middle of command name input, pressing ''?'' | ||
+ | * Elsewhere, pressing ''?'' | ||
+ | |||
+ | ===== Completion and guidewords ===== | ||
+ | |||
+ | During | ||
+ | |||
+ | // | ||
+ | |||
+ | @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 39: | 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 74: | 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). | ||