You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
3.0 KiB
80 lines
3.0 KiB
<title>The more Command</title>
|
|
<h1>more</h1>
|
|
|
|
<!--INDEX paginator "more command" -->
|
|
|
|
The more command provides screen-at-a-time control for user input.<p>
|
|
|
|
<h2>Format</h2><dl><dd>
|
|
|
|
The more command is an embedded command and is not accessible to the
|
|
user on the command line.<p>
|
|
|
|
</dl><h2>Functional Description</h2>
|
|
<dl>
|
|
<dd> The more command is not specified by the user on the command line, but
|
|
is implicitly used by certain commands. After displaying the number of lines
|
|
according to the value of the moresz environment variable, the more command
|
|
displays the prompt "more-" Commands that use the more command include
|
|
h, hi, d, l, search, and ls.
|
|
</dl>
|
|
<p> The user can enter the following commands at the "more-" prompt:
|
|
</p>
|
|
<dl>
|
|
<dd>
|
|
<table 0 cellpadding="5" width="95%">
|
|
<tr bgcolor="#CCCCFF">
|
|
<th width="131" align="right" valign="top">Command </th>
|
|
<th width="655" align="left" valign="top">Action</th>
|
|
</tr>
|
|
<tr bgcolor="#CCCCCC">
|
|
<td width="131" align="right" valign="top">Space </td>
|
|
<td width="655" align="left" valign="top"> Print one more page</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="131" align="right" valign="top">/str </td>
|
|
<td width="655" align="left" valign="top"> Search forward for string
|
|
str</td>
|
|
</tr>
|
|
<tr bgcolor="#CCCCCC">
|
|
<td width="131" align="right" valign="top">n </td>
|
|
<td width="655" align="left" valign="top"> Repeat last executed search</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="131" align="right" valign="top"><CR> </td>
|
|
<td width="655" align="left" valign="top"> Show next line</td>
|
|
</tr>
|
|
<tr bgcolor="#CCCCCC">
|
|
<td width="131" align="right" valign="top">q </td>
|
|
<td width="655" align="left" valign="top"> Quit from the more prompt
|
|
and return to the monitor prompt</td>
|
|
</tr>
|
|
</table>
|
|
</dl>
|
|
<p>The <font face="Courier New, Courier, mono">moresz</font> Variable</p>
|
|
<p> <font face="Courier New, Courier, mono">moresz</font> sets how many lines
|
|
are displayed on one screen during screen-at-a-time output. If <font face="Courier New, Courier, mono">moresz</font>
|
|
is set to zero, the screen scrolls continuously. The ^S or ^Q control sequence
|
|
must be used to pause the output, and the ^C control sequence must be used to
|
|
terminate output. </p>
|
|
<p> For example, to set the default number of lines output by the more command
|
|
to 12, enter: </p>
|
|
<blockquote>
|
|
<p>PMON> set moresz 12 </p>
|
|
<p> </p>
|
|
</blockquote>
|
|
<h2>See Also</h2><dl><dd>
|
|
<a href="c_set.htm">set</a> command for the setup of
|
|
the environment variables.
|
|
|
|
</dl><p><hr>
|
|
<b>Navigation:</b>
|
|
<a href="pmon.htm">Document Home</a> |
|
|
<a href="doctoc.htm">Document Contents</a> |
|
|
<a href="docindex.htm">Document Index</a>
|
|
<p>
|
|
<p>
|
|
<p>
|
|
<p>
|
|
<p><!--$Id: c_more.htm,v 1.1.1.1 2006/09/14 01:59:06 root Exp $ -->
|
|
<p> </p>
|
|
|