User Tools

Site Tools


tutorials:exec

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
tutorials:exec [2022/03/14 04:24]
papa [Command and argument list]
tutorials:exec [2022/03/14 19:32]
lars old revision restored (2022/03/14 05:05)
Line 26: Line 26:
   * In the middle of command name input, pressing ''?'' lists TOPS-20 commands beginning with the characters entered so far.   * In the middle of command name input, pressing ''?'' lists TOPS-20 commands beginning with the characters entered so far.
   * Elsewhere, pressing ''?'' lists or describes possible arguments at the current position.   * Elsewhere, pressing ''?'' lists or describes possible arguments at the current position.
 +
 +===== Completion and guidewords =====
 +
 +During command entry, pressing **Esc** will complete partial commands and arguments and display //guidewords//.
 +
 +//Guidewords// (also called "noise words") are parenthesized words or phrases that EXEC inserts into the command text to describe the command or the arguments expected. Guidewords are only for documentation and are ignored during command processing. For example, entering "di**Esc**" at the EXEC prompt will cause EXEC to insert the following characters into the command text:
 +
 +  @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.<sup>*</sup> |
  
- +<sup>*</sup> When EXEC detects an error in an entered command, it will display a "?" and possibly an error message.  Pressing **Ctrl-H** will retype at the EXEC prompt the command text up to the location where EXEC detected the error, allowing the user to correct just the erroneous portion and reenter.
  
 ===== Subcommands ===== ===== Subcommands =====
  
 +To enter subcommands, type a comma ('','') at the end of the command line before pressing **Enter**. EXEC will respond with the subcommand prompt (default ''@@''). Enter a subcommand and press **Enter**, repeating for as many subcommands as you wish to specify. Press **Enter** on a blank line to end subcommand input and EXEC will process the command with the specified subcommands.
  
-[Put general information on using EXEC here. (Completion, guide words, command line editing, help ...)] 
  
 ====== Command Files ====== ====== Command Files ======
tutorials/exec.txt · Last modified: 2022/03/15 09:41 by papa