more(1)

more(1)

:e [file]

E[file] Examine a new ®le. If the ®le argument is not speci®ed, the "current" ®le (see the :n and :p commands) from the list of ®les in the command line is re-examined. The ®lename is subjected to the process of shell word expansions. If ®le is a # (number sign) character, the previously examined ®le is re-examined.

i:n

Examine the next ®le. If i is speci®ed, examines the i-th next ®le speci®ed in the com-

 

mand line.

i:p

Examine the previous ®le. If a number i is speci®ed, examines the i-th previous ®le

 

speci®ed in the command line.

:t tagstring

Go to the supplied tagstring and scroll or rewrite the screen with that line in the

 

current position.

m letter

Mark the current position with the speci®ed letter, where letter represents the name

 

of one of the lower-case letters of the portable character set.

'letter Return to the position that was previously marked with the speci®ed letter, making that line the current position.

r

<Ctrl-l>Refresh the screen.

RRefresh the screen, discarding any buffered input.

.

Dot. Repeat the previous command.

^\

Halt a partial display of text. more stops sending output, and displays the usual

 

prompt. Unfortunately, some output is lost as a result.

The commands take effect immediately; i.e., it is not necessary to press <Return>. Up to the time when the command character itself is given, the line-kill character can be used to cancel the numerical argument being formed.

If the standard output is not a teletype, more is equivalent to cat(1).

more supports the SIGWINCH signal, and redraws the screen in response to window size changes.

EXTERNAL INFLUENCES

Environment Variables

COLUMNS Overrides the system-selected horizontal screen size.

EDITOR Used by the v command to select an editor.

LANG Provides a default value for the internationalization variables that are unset or null. If LANG is unset or null, the default value of "C" (see lang(5)) is used. If any of the internationalization variables contains an invalid setting, more will behave as if all internationalization variables are set to "C". See environ(5).

LC_ALL If set to a non-empty string value, overrides the values of all the other internationalization variables.

LC_CTYPE Determines the interpretation of text as single and/or multi-byte characters, the classi®cation of characters as printable, and the characters matched by character class expressions in regular expressions.

LC_MESSAGES

 

Determines the locale that should be used to affect the format and contents of diagnostic

 

messages written to standard error and informative messages written to standard output.

NLSPATH

Determines the location of message catalogues for the processing of LC_MESSAGES.

LINES

Overrides the system-selected vertical screen size, used as the number of lines in a screen-

 

ful. The -noption takes precedence over the LINES variable for determining the number

 

of lines in a screenful.

 

 

MORE

Determines a string containing options, preceded with hyphens and blank-character-

 

separated as on the command line. Any command-line options are processed after those in

 

the MORE variable. The

MORE variable takes precedence over the

TERM and LINES

 

variables for determining the number of lines in a screenful.

 

HP-UX Release 11i: December 2000

− 5 −

Section 1547

m