restore rsyncable docs to man page
[debian/gzip] / zmore.1
diff --git a/zmore.1 b/zmore.1
index a29b366f9f20df55262c3dd0b373110c4b36a4ae..e2ff835585b061695068a9da754b9e402634333d 100644 (file)
--- a/zmore.1
+++ b/zmore.1
@@ -10,9 +10,10 @@ is a filter which allows examination of compressed or plain text files
 one screenful at a time on a soft-copy terminal.
 .I zmore
 works on files compressed with
 one screenful at a time on a soft-copy terminal.
 .I zmore
 works on files compressed with
-.I compress, pack
+.IR compress ,
+.I pack
 or
 or
-.I gzip,
+.IR gzip ,
 and also on uncompressed files.
 If a file does not exist,
 .I zmore
 and also on uncompressed files.
 If a file does not exist,
 .I zmore
@@ -33,9 +34,9 @@ and to determine the default window size.
 On a terminal capable of displaying 24 lines,
 the default window size is 22 lines.
 To use a pager other than the default
 On a terminal capable of displaying 24 lines,
 the default window size is 22 lines.
 To use a pager other than the default
-.I more,
+.IR more ,
 set environment variable PAGER to the name of the desired program, such as
 set environment variable PAGER to the name of the desired program, such as
-.I less.
+.IR less .
 .PP
 Other sequences which may be typed when
 .I zmore
 .PP
 Other sequences which may be typed when
 .I zmore
@@ -58,8 +59,7 @@ same as ^D (control-D)
 .PP
 .IP \fIi\^\fPz
 same as typing a space except that \fIi\fP, if present, becomes the new
 .PP
 .IP \fIi\^\fPz
 same as typing a space except that \fIi\fP, if present, becomes the new
-window size.  Note that the window size reverts back to the default at the
-end of the current file.
+window size.
 .PP
 .IP \fIi\^\fPs
 skip \fIi\fP lines and print a screenful of lines
 .PP
 .IP \fIi\^\fPs
 skip \fIi\fP lines and print a screenful of lines
@@ -68,28 +68,13 @@ skip \fIi\fP lines and print a screenful of lines
 skip \fIi\fP screenfuls and print a screenful of lines
 .PP
 .IP "q or Q"
 skip \fIi\fP screenfuls and print a screenful of lines
 .PP
 .IP "q or Q"
-quit reading the current file; go on to the next (if any)
-.PP
-.IP "e or q"
-When the prompt --More--(Next file:
-.IR file )
-is printed, this command causes zmore to exit.
-.PP
-.IP s
-When the prompt --More--(Next file:
-.IR file )
-is printed, this command causes zmore to skip the next file and continue.
+Quit.
 .PP
 .IP =
 Display the current line number.
 .PP
 .IP \fIi\fP/expr
 search for the \fIi\^\fP-th occurrence of the regular expression \fIexpr.\fP
 .PP
 .IP =
 Display the current line number.
 .PP
 .IP \fIi\fP/expr
 search for the \fIi\^\fP-th occurrence of the regular expression \fIexpr.\fP
-If the pattern is not found,
-.I zmore
-goes on to the next file (if any).
-Otherwise, a screenful is displayed, starting two lines before the place
-where the expression was found.
 The user's erase and kill characters may be used to edit the regular
 expression.
 Erasing back past the first column cancels the search command.
 The user's erase and kill characters may be used to edit the regular
 expression.
 Erasing back past the first column cancels the search command.
@@ -103,7 +88,7 @@ The character `!' in "command" is replaced with the
 previous shell command.  The sequence "\\!" is replaced by "!".
 .PP
 .IP ":q or :Q"
 previous shell command.  The sequence "\\!" is replaced by "!".
 .PP
 .IP ":q or :Q"
-quit reading the current file; go on to the next (if any)
+Quit
 (same as q or Q).
 .PP
 .IP .
 (same as q or Q).
 .PP
 .IP .
@@ -136,8 +121,9 @@ commands.
 If the standard output is not a teletype, then
 .I zmore
 acts just like
 If the standard output is not a teletype, then
 .I zmore
 acts just like
-.I zcat,
-except that a header is printed before each file.
+.IR zcat ,
+except that a header is printed before each file
+if there is more than one file.
 .SH FILES
 .TP
 /etc/termcap
 .SH FILES
 .TP
 /etc/termcap