commit 6932a5d18d354b12bcbb82fc46fcb4045cc71cd4
parent 25305e9045f9b3d0611b4c035942308410c7d46e
Author: tgoodwin <tgoodwin>
Date: Fri, 10 Jul 1998 13:27:24 +0000
explain editing mode more clearly
Diffstat:
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/history.1 b/history.1
@@ -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.