diff options
| author | tgoodwin <tgoodwin> | 1998-07-10 13:27:24 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:07 +0100 |
| commit | 6932a5d18d354b12bcbb82fc46fcb4045cc71cd4 (patch) | |
| tree | eb1ebcb94f6985b7acbd0024125734be01e6032f | |
| parent | 25305e9045f9b3d0611b4c035942308410c7d46e (diff) | |
explain editing mode more clearly
| -rw-r--r-- | history.1 | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -184,11 +184,15 @@ These have the syntax: pattern is used as a search-limiting pattern also.) Substitutions happen on the first match. .PP -Finally, a command may be edited in a crude line-mode fashion: -The line to be edited is printed out, and below it the user -supplies modifications to the command: +Finally, if the program was invoked as +.RI `` -- '' +or +.RI `` --p '', +a command may be edited in a crude line-mode fashion. The line to be +edited is printed out, and below it the user supplies modifications to +the command. .TP -.B any character +.B any character except those below Replaces the character above. .TP .B space or tab @@ -214,6 +218,11 @@ Appends the rest of the typed line. Backs up to a previous command satisfying the same matching constraints. .TP +.B end of line +If any changes have been made, the command is printed out again for +further editing. If no changes have been made, the command is executed +or printed, and the program exits. +.TP .B end of file If an end-of-file is read from the keyboard by the editor, it aborts with exit status 1 and does not produce any output. |