document mingw linker fix and close associated bug
[debian/gzip] / zmore.1
diff --git a/zmore.1 b/zmore.1
index b0c6a83c03be717dbb0d6b4a7a8761cfcc455202..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
-.I compress, pack
+.IR compress ,
+.I pack
 or
-.I gzip,
+.IR gzip ,
 and also on uncompressed files.
 If a file does not exist,
 .I zmore
@@ -33,6 +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
+.IR more ,
+set environment variable PAGER to the name of the desired program, such as
+.IR less .
 .PP
 Other sequences which may be typed when
 .I zmore
@@ -55,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
-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
@@ -65,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"
-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.
-.PP 
+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
-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.
@@ -95,12 +83,12 @@ Erasing back past the first column cancels the search command.
 search for the \fIi\^\fP-th occurrence of the last regular expression entered.
 .PP
 .IP !command
-invoke a shell with \fIcommand\fP. 
+invoke a shell with \fIcommand\fP.
 The character `!' in "command" is replaced with the
 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 .
@@ -133,8 +121,9 @@ commands.
 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