more

Name

more -- file perusal filter for crt viewing

Description

more is as specified in the Single UNIX Specification but with differences as listed below.

Differences

The more command need not respect the LINES and COLUMNS environment variables.

The more command need not support the following interactive commands:

g
G
u
control u
control f
newline
j
k
r
R
m
' (return to mark)
/!
?
N
:e
:t
control g
ZZ

-num

specifies an integer which is the screen size (in lines).

-e

has unspecified behavior.

-i

has unspecified behavior.

-n

has unspecified behavior.

-p

Either (1) clear the whole screen and then display the text (instead of the usual scrolling behavior), or (2) provide the behavior specified by the Single UNIX Specification. In the latter case, the syntax is "-p command".

-t

has unspecified behavior.

+num

starts at line number num.

+/string

specifies a string that will be searched for before each file is displayed.

LSB Deprecated Differences

The behaviors specified in this section are expected to disappear from a future version of the LSB; applications should only use the non-LSB-deprecated behaviors.

-d

prompts 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.

-l

prevents the typical behavior where more treats ^L (form feed) as a special character and pauses after any line that contains a form feed.

-f

counts logical, rather than screen lines (i.e., long lines are not folded).

Rationale

The +num and +/string options are deprecated in the Single UNIX Specification, Version 2; however we must continue to specify them because util-linux-2.11f does not support the replacement (-p command). The +command option as found in the Single UNIX Specification is more general than what we specify, but util-linux-2.11f appears to only support the more specific +num and +/string forms.