Also strange `if binary is called page' functionality is now mentioned, with a warning that more might not do this forever. Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- text-utils/more.1 | 51 +++++++++++++++++++++++++++------------------------ 1 files changed, 27 insertions(+), 24 deletions(-) diff --git a/text-utils/more.1 b/text-utils/more.1 index 02353aa..894b0a8 100644 --- a/text-utils/more.1 +++ b/text-utils/more.1 @@ -33,11 +33,14 @@ .\" @(#)more.1 5.15 (Berkeley) 7/29/91 .\" .\" Revised: Fri Dec 25 15:27:27 1992 by root -.\" 25Dec92: Extensive changes made by Rik Faith (faith@xxxxxxxxxx) to -.\" conform with the more 5.19 currently in use by the Linux community. +.\" 25Dec92: Extensive changes made by Rik Faith (faith@xxxxxxxxxx) to +.\" conform with the more 5.19 currently in use by the Linux community. +.\" Revised: Sun Jan 30 2011 +.\" Support for long options. +.\" git show 30b1a837b5107942458d0104b2bab370099daf70 .\" .\" .Dd July 29, 1991 (Modified December 25, 1992) -.Dd December 25, 1992 +.Dd January 30, 2011 .Dt MORE 1 .Os "Linux 0.98" .Sh NAME @@ -45,10 +48,7 @@ .Nd file perusal filter for crt viewing .Sh SYNOPSIS .Nm more -.Op Fl dlfpcsu -.Op Fl num -.Op +/\fIpattern\fP -.Op +\fIlinenum\fP +.Op options .Op Ar .Sh DESCRIPTION .Nm More @@ -65,14 +65,17 @@ Options are also taken from the environment variable (make sure to precede them with a dash (``-'')) but command line options will override them. .Bl -tag -width flag -.It Fl num -This option specifies an integer which is the screen size (in lines). -.It Fl d +.It Fl d, \-\-visible-bell .Nm more will prompt the user with the message "[Press space to continue, 'q' to quit.]" and will display "[Press 'h' for instructions.]" instead of ringing the bell when an illegal key is pressed. -.It Fl l +.It Fl f, \-\-logical-count +Causes +.Nm more +to count logical, rather than screen lines (i.e., long lines are not +folded). +.It Fl l, \-\-ignore-form-feed .Nm more usually treats .Ic \&^L @@ -80,27 +83,27 @@ usually treats contains a form feed. The .Fl l option will prevent this behavior. -.It Fl f -Causes -.Nm more -to count logical, rather than screen lines (i.e., long lines are not -folded). -.It Fl p +.It Fl p, \-\-no-scroll Do not scroll. Instead, clear the whole screen and then display the text. -.It Fl c + +Warning. This option is set if command binary is called `page', +and in future this will not be supported way to set the option. +.It Fl c, \-\-clean-ends Do not scroll. Instead, paint each screen from the top, clearing the remainder of each line as it is displayed. -.It Fl s -Squeeze multiple blank lines into one. -.It Fl u +.It Fl u, \-\-no-underlining Suppress underlining. -.It Ic +/ +.It Fl s, \-\-squeeze +Squeeze multiple blank lines into one. +.It Fl num, \-\-lines=num +This option specifies an integer which is the screen size (in lines). +.It Ic +num, \-\-start-line=num +Start at line number +.It Ic +/string, \-\-search=string The .Ic +/ option specifies a string that will be searched for before each file is displayed. -.It Ic +num -Start at line number .Ic num . .El .Sh COMMANDS -- 1.7.3.5 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html