Un outil pour savoir si une commande est posix - retour accueil
git clone git://bebou.netlib.re/isposix
Log | Files | Refs | README |
more.html (48919B)
1 <!-- Copyright 2001-2024 IEEE and The Open Group, All Rights Reserved --> 2 <!DOCTYPE HTML> 3 <html lang="en"> 4 <head> 5 <meta name="generator" content="HTML Tidy for HTML5 for Linux version 5.8.0"> 6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 7 <link type="text/css" rel="stylesheet" href="style.css"><!-- Generated by The Open Group rhtm tool v1.2.4 --> 8 <!-- Copyright (c) 2001-2024 The Open Group, All Rights Reserved --> 9 <title>more</title> 10 </head> 11 <body bgcolor="white"> 12 <div class="NAVHEADER"> 13 <table summary="Header navigation table" class="nav" width="100%" border="0" cellpadding="0" cellspacing="0"> 14 <tr class="nav"> 15 <td class="nav" width="15%" align="left" valign="bottom"><a href="../utilities/mkfifo.html" accesskey="P"><<< 16 Previous</a></td> 17 <td class="nav" width="70%" align="center" valign="bottom"><a href="contents.html">Home</a></td> 18 <td class="nav" width="15%" align="right" valign="bottom"><a href="../utilities/msgfmt.html" accesskey="N">Next 19 >>></a></td> 20 </tr> 21 </table> 22 <hr align="left" width="100%"></div> 23 <script language="JavaScript" src="../jscript/codes.js"></script><basefont size="3"> 24 <center><font size="2">The Open Group Base Specifications Issue 8<br> 25 IEEE Std 1003.1-2024<br> 26 Copyright © 2001-2024 The IEEE and The Open Group</font></center> 27 <hr size="2" noshade> 28 <a name="top" id="top"></a> <a name="more" id="more"></a> <a name="tag_20_81" id="tag_20_81"></a><!-- more --> 29 <h4 class="mansect"><a name="tag_20_81_01" id="tag_20_81_01"></a>NAME</h4> 30 <blockquote>more — display files on a page-by-page basis</blockquote> 31 <h4 class="mansect"><a name="tag_20_81_02" id="tag_20_81_02"></a>SYNOPSIS</h4> 32 <blockquote class="synopsis"> 33 <div class="box"><code><tt><sup>[<a href="javascript:open_code('UP')">UP</a>]</sup> <img src="../images/opt-start.gif" alt= 34 "[Option Start]" border="0"> more</tt> <b>[</b><tt>-ceisu</tt><b>] [</b><tt>-n</tt> <i>number</i><b>] [</b><tt>-p</tt> 35 <i>command</i><b>] [</b><tt>-t</tt> <i>tagstring</i><b>] [</b><i>file</i><tt>...</tt><b>]</b> <tt><img src="../images/opt-end.gif" 36 alt="[Option End]" border="0"></tt></code></div> 37 </blockquote> 38 <h4 class="mansect"><a name="tag_20_81_03" id="tag_20_81_03"></a>DESCRIPTION</h4> 39 <blockquote> 40 <p>The <i>more</i> utility shall read files and either write them to the terminal on a page-by-page basis or filter them to 41 standard output. If standard output is not a terminal device, all input files shall be copied to standard output in their entirety, 42 without modification, except as specified for the <b>-s</b> option. If standard output is a terminal device, the files shall be 43 written a number of lines (one screenful) at a time under the control of user commands. See the EXTENDED DESCRIPTION section.</p> 44 <p>Certain block-mode terminals do not have all the capabilities necessary to support the complete <i>more</i> definition; they are 45 incapable of accepting commands that are not terminated with a <newline>. Implementations that support such terminals shall 46 provide an operating mode to <i>more</i> in which all commands can be terminated with a <newline> on those terminals. This 47 mode:</p> 48 <ul> 49 <li> 50 <p>Shall be documented in the system documentation</p> 51 </li> 52 <li> 53 <p>Shall, at invocation, inform the user of the terminal deficiency that requires the <newline> usage and provide 54 instructions on how this warning can be suppressed in future invocations</p> 55 </li> 56 <li> 57 <p>Shall not be required for implementations supporting only fully capable terminals</p> 58 </li> 59 <li> 60 <p>Shall not affect commands already requiring <newline> characters</p> 61 </li> 62 <li> 63 <p>Shall not affect users on the capable terminals from using <i>more</i> as described in this volume of POSIX.1-2024</p> 64 </li> 65 </ul> 66 </blockquote> 67 <h4 class="mansect"><a name="tag_20_81_04" id="tag_20_81_04"></a>OPTIONS</h4> 68 <blockquote> 69 <p>The <i>more</i> utility shall conform to XBD <a href="../basedefs/V1_chap12.html#tag_12_02"><i>12.2 Utility Syntax 70 Guidelines</i></a> , except that <tt>'+'</tt> may be recognized as an option delimiter as well as <tt>'-'</tt>.</p> 71 <p>The following options shall be supported:</p> 72 <dl compact> 73 <dd></dd> 74 <dt><b>-c</b></dt> 75 <dd>If a screen is to be written that has no lines in common with the current screen, or <i>more</i> is writing its first screen, 76 <i>more</i> shall not scroll the screen, but instead shall redraw each line of the screen in turn, from the top of the screen to 77 the bottom. In addition, if <i>more</i> is writing its first screen, the screen shall be cleared. This option may be silently 78 ignored on devices with insufficient terminal capabilities.</dd> 79 <dt><b>-e</b></dt> 80 <dd>Exit immediately after writing the last line of the last file in the argument list; see the EXTENDED DESCRIPTION section.</dd> 81 <dt><b>-i</b></dt> 82 <dd>Perform pattern matching in a case-insensitive manner; see XBD <a href="../basedefs/V1_chap09.html#tag_09_02"><i>9.2 Regular 83 Expression General Requirements</i></a> .</dd> 84 <dt><b>-n </b><i>number</i></dt> 85 <dd>Specify the number of lines per screenful. The <i>number</i> argument is a positive decimal integer. The <b>-n</b> option shall 86 override any values obtained from any other source.</dd> 87 <dt><b>-p </b><i>command</i></dt> 88 <dd>Each time a screen from a new file is displayed or redisplayed (including as a result of <i>more</i> commands; for example, 89 <b>:p</b>), execute the <i>more</i> command(s) in the command arguments in the order specified, as if entered by the user after the 90 first screen has been displayed. No intermediate results shall be displayed (that is, if the command is a movement to a screen 91 different from the normal first screen, only the screen resulting from the command shall be displayed.) If any of the commands fail 92 for any reason, an informational message to this effect shall be written, and no further commands specified using the <b>-p</b> 93 option shall be executed for this file.</dd> 94 <dt><b>-s</b></dt> 95 <dd>Behave as if consecutive empty lines were a single empty line.</dd> 96 <dt><b>-t </b><i>tagstring</i></dt> 97 <dd>Write the screenful of the file containing the tag named by the <i>tagstring</i> argument. See the <a href= 98 "../utilities/ctags.html#"><i>ctags</i></a> utility. The tags feature represented by <b>-t</b> <i>tagstring</i> and the <b>:t</b> 99 command is optional. It shall be provided on any system that also provides a conforming implementation of <a href= 100 "../utilities/ctags.html"><i>ctags</i></a>; otherwise, the use of <b>-t</b> produces undefined results. 101 <p>The filename resulting from the <b>-t</b> option shall be logically added as a prefix to the list of command line files, as if 102 specified by the user. If the tag named by the <i>tagstring</i> argument is not found, it shall be an error, and <i>more</i> shall 103 take no further action.</p> 104 <p>If the tag specifies a line number, the first line of the display shall contain the beginning of that line. If the tag specifies 105 a pattern, the first line of the display shall contain the beginning of the matching text from the first line of the file that 106 contains that pattern. If the line does not exist in the file or matching text is not found, an informational message to this 107 effect shall be displayed, and <i>more</i> shall display the default screen as if <b>-t</b> had not been specified.</p> 108 <p>If both the <b>-t</b> <i>tagstring</i> and <b>-p</b> <i>command</i> options are given, the <b>-t</b> <i>tagstring</i> shall be 109 processed first; that is, the file and starting line for the display shall be as specified by <b>-t</b>, and then the <b>-p</b> 110 <i>more</i> command shall be executed. If the line (matching text) specified by the <b>-t</b> command does not exist (is not 111 found), no <b>-p</b> <i>more</i> command shall be executed for this file at any time.</p> 112 </dd> 113 <dt><b>-u</b></dt> 114 <dd>Treat a <backspace> as a printable control character, displayed as an implementation-defined character sequence (see the 115 EXTENDED DESCRIPTION section), suppressing backspacing and the special handling that produces underlined or standout mode text on 116 some terminal types. Also, do not ignore a <carriage-return> at the end of a line.</dd> 117 </dl> 118 </blockquote> 119 <h4 class="mansect"><a name="tag_20_81_05" id="tag_20_81_05"></a>OPERANDS</h4> 120 <blockquote> 121 <p>The following operand shall be supported:</p> 122 <dl compact> 123 <dd></dd> 124 <dt><i>file</i></dt> 125 <dd>A pathname of an input file. If no <i>file</i> operands are specified, the standard input shall be used. If a <i>file</i> is 126 <tt>'-'</tt>, the standard input shall be read at that point in the sequence.</dd> 127 </dl> 128 </blockquote> 129 <h4 class="mansect"><a name="tag_20_81_06" id="tag_20_81_06"></a>STDIN</h4> 130 <blockquote> 131 <p>The standard input shall be used only if no <i>file</i> operands are specified, or if a <i>file</i> operand is <tt>'-'</tt>.</p> 132 </blockquote> 133 <h4 class="mansect"><a name="tag_20_81_07" id="tag_20_81_07"></a>INPUT FILES</h4> 134 <blockquote> 135 <p>The input files being examined shall be text files. If standard output is a terminal, standard error shall be used to read 136 commands from the user. If standard output is a terminal, standard error is not readable, and command input is needed, <i>more</i> 137 may attempt to obtain user commands from the controlling terminal (for example, <b>/dev/tty</b>); otherwise, <i>more</i> shall 138 terminate with an error indicating that it was unable to read user commands. If standard output is not a terminal, no error shall 139 result if standard error cannot be opened for reading.</p> 140 </blockquote> 141 <h4 class="mansect"><a name="tag_20_81_08" id="tag_20_81_08"></a>ENVIRONMENT VARIABLES</h4> 142 <blockquote> 143 <p>The following environment variables shall affect the execution of <i>more</i>:</p> 144 <dl compact> 145 <dd></dd> 146 <dt><i>COLUMNS</i></dt> 147 <dd>Override the system-selected horizontal display line size. See XBD <a href="../basedefs/V1_chap08.html#tag_08"><i>8. 148 Environment Variables</i></a> for valid values and results when it is unset or null.</dd> 149 <dt><i>EDITOR</i></dt> 150 <dd>Used by the <b>v</b> command to select an editor. See the EXTENDED DESCRIPTION section.</dd> 151 <dt><i>LANG</i></dt> 152 <dd>Provide a default value for the internationalization variables that are unset or null. (See XBD <a href= 153 "../basedefs/V1_chap08.html#tag_08_02"><i>8.2 Internationalization Variables</i></a> for the precedence of internationalization 154 variables used to determine the values of locale categories.)</dd> 155 <dt><i>LC_ALL</i></dt> 156 <dd>If set to a non-empty string value, override the values of all the other internationalization variables.</dd> 157 <dt><i>LC_COLLATE</i></dt> 158 <dd><br> 159 Determine the locale for the behavior of ranges, equivalence classes, and multi-character collating elements within regular 160 expressions.</dd> 161 <dt><i>LC_CTYPE</i></dt> 162 <dd>Determine the locale for the interpretation of sequences of bytes of text data as characters (for example, single-byte as 163 opposed to multi-byte characters in arguments and input files) and the behavior of character classes within regular 164 expressions.</dd> 165 <dt><i>LC_MESSAGES</i></dt> 166 <dd><br> 167 Determine the locale that should be used to affect the format and contents of diagnostic messages written to standard error and 168 informative messages written to standard output.</dd> 169 <dt><i>NLSPATH</i></dt> 170 <dd><sup>[<a href="javascript:open_code('XSI')">XSI</a>]</sup> <img src="../images/opt-start.gif" alt="[Option Start]" border="0"> 171 Determine the location of messages objects and message catalogs. <img src="../images/opt-end.gif" alt="[Option End]" border= 172 "0"></dd> 173 <dt><i>LINES</i></dt> 174 <dd>Override the system-selected vertical screen size, used as the number of lines in a screenful. See XBD <a href= 175 "../basedefs/V1_chap08.html#tag_08"><i>8. Environment Variables</i></a> for valid values and results when it is unset or null. The 176 <b>-n</b> option shall take precedence over the <i>LINES</i> variable for determining the number of lines in a screenful.</dd> 177 <dt><i>MORE</i></dt> 178 <dd>Determine a string containing options described in the OPTIONS section preceded with <hyphen-minus> characters and 179 <blank>-separated as on the command line. Any command line options shall be processed after those in the <i>MORE</i> 180 variable, as if the command line were: 181 <pre> 182 <tt>more $MORE </tt><i>options operands</i><tt> 183 </tt></pre> 184 <p>The <i>MORE</i> variable shall take precedence over the <i>TERM</i> and <i>LINES</i> variables for determining the number of 185 lines in a screenful.</p> 186 </dd> 187 <dt><i>TERM</i></dt> 188 <dd>Determine the name of the terminal type. If this variable is unset or null, an unspecified default terminal type is used.</dd> 189 </dl> 190 </blockquote> 191 <h4 class="mansect"><a name="tag_20_81_09" id="tag_20_81_09"></a>ASYNCHRONOUS EVENTS</h4> 192 <blockquote> 193 <p>The following actions shall be taken upon receipt of signals:</p> 194 <dl compact> 195 <dd></dd> 196 <dt>SIGCONT</dt> 197 <dd>The actions described below for SIGWINCH shall be taken, except that the screen shall always be refreshed (regardless of 198 whether the terminal window size changed).</dd> 199 <dt>SIGWINCH</dt> 200 <dd>If standard output is a terminal, the current terminal window size associated with the terminal on standard output shall be 201 obtained, as if by a call to XSH <a href="../functions/tcgetwinsize.html#"><i>tcgetwinsize</i></a> . If the terminal window size is 202 successfully obtained, it shall be used as follows: 203 <ul> 204 <li> 205 <p>If the <i>COLUMNS</i> environment variable is unset or does not contain a number, the horizontal display line size shall be set 206 to the number of columns in the obtained terminal window size.</p> 207 </li> 208 <li> 209 <p>If the <b>-n</b> option was not specified (neither on the command line nor via the <i>MORE</i> environment variable) and the 210 <i>LINES</i> environment variable is unset or does not contain a number, the vertical screen size shall be set to the number of 211 rows in the obtained terminal window size.</p> 212 </li> 213 </ul> 214 <p>If the above resulted in either the vertical screen size or the horizontal display line size (or both) changing to a different 215 value, the number of lines available per screen and the number of columns available per line shall be updated correspondingly (see 216 XBD <a href="../basedefs/V1_chap08.html#tag_08"><i>8. Environment Variables</i></a> ) and the screen shall be refreshed; otherwise, 217 the screen may be refreshed.</p> 218 </dd> 219 </dl> 220 <p>The action taken for all other signals shall be the default.</p> 221 </blockquote> 222 <h4 class="mansect"><a name="tag_20_81_10" id="tag_20_81_10"></a>STDOUT</h4> 223 <blockquote> 224 <p>The standard output shall be used to write the contents of the input files.</p> 225 </blockquote> 226 <h4 class="mansect"><a name="tag_20_81_11" id="tag_20_81_11"></a>STDERR</h4> 227 <blockquote> 228 <p>The standard error shall be used for diagnostic messages and user commands (see the INPUT FILES section), and, if standard 229 output is a terminal device, to write a prompting string. The prompting string shall appear on the screen line below the last line 230 of the file displayed in the current screenful. The prompt shall contain the name of the file currently being examined and shall 231 contain an end-of-file indication and the name of the next file, if any, when prompting at the end-of-file. If an error or 232 informational message is displayed, it is unspecified whether it is contained in the prompt. If it is not contained in the prompt, 233 it shall be displayed and then the user shall be prompted for a continuation character, at which point another message or the user 234 prompt may be displayed. The prompt is otherwise unspecified. It is unspecified whether informational messages are written for 235 other user commands.</p> 236 </blockquote> 237 <h4 class="mansect"><a name="tag_20_81_12" id="tag_20_81_12"></a>OUTPUT FILES</h4> 238 <blockquote> 239 <p>None.</p> 240 </blockquote> 241 <h4 class="mansect"><a name="tag_20_81_13" id="tag_20_81_13"></a>EXTENDED DESCRIPTION</h4> 242 <blockquote> 243 <p>The following section describes the behavior of <i>more</i> when the standard output is a terminal device. If the standard 244 output is not a terminal device, no options other than <b>-s</b> shall have any effect, and all input files shall be copied to 245 standard output otherwise unmodified, at which time <i>more</i> shall exit without further action.</p> 246 <p>The number of lines available per screen shall be determined by the <b>-n</b> option, if present, or by obtaining the vertical 247 screen size from the <i>LINES</i> environment variable (see the ENVIRONMENT VARIABLES section) or from the terminal window size 248 associated with the terminal on standard output (see XSH <a href="../functions/tcgetwinsize.html#"><i>tcgetwinsize</i></a> ), with 249 a default value as described in XBD <a href="../basedefs/V1_chap08.html#tag_08"><i>8. Environment Variables</i></a> .</p> 250 <p>The maximum number of lines written shall be one less than this number, because the screen line after the last line written 251 shall be used to write a user prompt and user input. If the number of lines in the screen is less than two, the results are 252 undefined. It is unspecified whether user input is permitted to be longer than the remainder of the single line where the prompt 253 has been written.</p> 254 <p>The number of columns available per line shall be determined by obtaining the horizontal display line size from the 255 <i>COLUMNS</i> environment variable (see the ENVIRONMENT VARIABLES section) or from the terminal window size associated with the 256 terminal on standard output (see XSH <a href="../functions/tcgetwinsize.html#"><i>tcgetwinsize</i></a> ), with a default value as 257 described in XBD <a href="../basedefs/V1_chap08.html#tag_08"><i>8. Environment Variables</i></a> .</p> 258 <p>Lines that are longer than the display shall be folded; the length at which folding occurs is unspecified, but should be 259 appropriate for the output device. Folding may occur between glyphs of single characters that take up multiple display columns.</p> 260 <p>When standard output is a terminal and <b>-u</b> is not specified, <i>more</i> shall treat <backspace> and 261 <carriage-return> characters specially:</p> 262 <ul> 263 <li> 264 <p>A character, followed first by a sequence of <i>n</i> <backspace> characters (where <i>n</i> is the same as the number of 265 column positions that the character occupies), then by <i>n</i> <underscore> characters (<tt>'_'</tt>), shall cause that 266 character to be written as underlined text, if the terminal type supports that. The <i>n</i> <underscore> characters, 267 followed first by <i>n</i> <backspace> characters, then any character with <i>n</i> column positions, shall also cause that 268 character to be written as underlined text, if the terminal type supports that.</p> 269 </li> 270 <li> 271 <p>A sequence of <i>n</i> <backspace> characters (where <i>n</i> is the same as the number of column positions that the 272 previous character occupies) that appears between two identical printable characters shall cause the first of those two characters 273 to be written as emboldened text (that is, visually brighter, standout mode, or inverse-video mode), if the terminal type supports 274 that, and the second to be discarded. Immediately subsequent occurrences of <backspace>/character pairs for that same 275 character shall also be discarded. (For example, the sequence <tt>"a\ba\ba\ba"</tt> is interpreted as a single emboldened 276 <tt>'a'</tt>.)</p> 277 </li> 278 <li> 279 <p>The <i>more</i> utility shall logically discard all other <backspace> characters from the line as well as the character 280 which precedes them, if any.</p> 281 </li> 282 <li> 283 <p>A <carriage-return> at the end of a line shall be ignored, rather than being written as a non-printable character, as 284 described in the next paragraph.</p> 285 </li> 286 </ul> 287 <p>It is implementation-defined how other non-printable characters are written. Implementations should use the same format that 288 they use for the <a href="../utilities/ex.html"><i>ex</i></a> <b>print</b> command; see the OPTIONS section within the <a href= 289 "../utilities/ed.html"><i>ed</i></a> utility. It is unspecified whether a multi-column character shall be separated if it crosses a 290 display line boundary; it shall not be discarded. The behavior is unspecified if the number of columns on the display is less than 291 the number of columns any single character in the line being displayed would occupy.</p> 292 <p>When each new file is displayed (or redisplayed), <i>more</i> shall write the first screen of the file. Once the initial screen 293 has been written, <i>more</i> shall prompt for a user command. If the execution of the user command results in a screen that has 294 lines in common with the current screen, and the device has sufficient terminal capabilities, <i>more</i> shall scroll the screen; 295 otherwise, it is unspecified whether the screen is scrolled or redrawn.</p> 296 <p>For all files but the last (including standard input if no file was specified, and for the last file as well, if the <b>-e</b> 297 option was not specified), when <i>more</i> has written the last line in the file, <i>more</i> shall prompt for a user command. 298 This prompt shall contain the name of the next file as well as an indication that <i>more</i> has reached end-of-file. If the user 299 command is <b>f</b>, <control>-F, <space>, <b>j</b>, <newline>, <b>d</b>, <control>-D, or <b>s</b>, 300 <i>more</i> shall display the next file. Otherwise, if displaying the last file, <i>more</i> shall exit. Otherwise, <i>more</i> 301 shall execute the user command specified.</p> 302 <p>Several of the commands described in this section display a previous screen from the input stream. In the case that text is 303 being taken from a non-rewindable stream, such as a pipe, it is implementation-defined how much backwards motion is supported. If a 304 command cannot be executed because of a limitation on backwards motion, an error message to this effect shall be displayed, the 305 current screen shall not change, and the user shall be prompted for another command.</p> 306 <p>If a command cannot be performed because there are insufficient lines to display, <i>more</i> shall alert the terminal. If a 307 command cannot be performed because there are insufficient lines to display or a <b>/</b> command fails: if the input is the 308 standard input, the last screen in the file may be displayed; otherwise, the current file and screen shall not change, and the user 309 shall be prompted for another command.</p> 310 <p>The interactive commands in the following sections shall be supported. Some commands can be preceded by a decimal integer, 311 called <i>count</i> in the following descriptions. If not specified with the command, <i>count</i> shall default to 1. In the 312 following descriptions, <i>pattern</i> is a basic regular expression, as described in XBD <a href= 313 "../basedefs/V1_chap09.html#tag_09_03"><i>9.3 Basic Regular Expressions</i></a> . The term "examine" is historical usage meaning 314 "open the file for viewing"; for example, <i>more</i> <b>foo</b> would be expressed as examining file <b>foo</b>.</p> 315 <p>In the following descriptions, unless otherwise specified, <i>line</i> is a line in the <i>more</i> display, not a line from the 316 file being examined.</p> 317 <p>In the following descriptions, the <i>current position</i> refers to two things:</p> 318 <ol> 319 <li> 320 <p>The position of the current line on the screen</p> 321 </li> 322 <li> 323 <p>The line number (in the file) of the current line on the screen</p> 324 </li> 325 </ol> 326 <p>Usually, the line on the screen corresponding to the current position is the third line on the screen. If this is not possible 327 (there are fewer than three lines to display or this is the first page of the file, or it is the last page of the file), then the 328 current position is either the first or last line on the screen as described later.</p> 329 <h5><a name="tag_20_81_13_01" id="tag_20_81_13_01"></a>Help</h5> 330 <dl compact> 331 <dd></dd> 332 <dt><i>Synopsis</i>:</dt> 333 <dd> 334 <pre> 335 <tt>h 336 </tt></pre></dd> 337 </dl> 338 <p>Write a summary of these commands and other implementation-defined commands. The behavior shall be as if the <i>more</i> utility 339 were executed with the <b>-e</b> option on a file that contained the summary information. The user shall be prompted as described 340 earlier in this section when end-of-file is reached. If the user command is one of those specified to continue to the next file, 341 <i>more</i> shall return to the file and screen state from which the <b>h</b> command was executed.</p> 342 <h5><a name="tag_20_81_13_02" id="tag_20_81_13_02"></a>Scroll Forward One Screenful</h5> 343 <dl compact> 344 <dd></dd> 345 <dt><i>Synopsis</i>:</dt> 346 <dd> 347 <pre> 348 <b>[</b><i>count</i><b>]</b><tt>f 349 </tt><b>[</b><i>count</i><b>]</b><tt><control>-F 350 </tt></pre></dd> 351 </dl> 352 <p>Scroll forward <i>count</i> lines, with a default of one screenful. If <i>count</i> is more than the screen size, only the final 353 screenful shall be written.</p> 354 <h5><a name="tag_20_81_13_03" id="tag_20_81_13_03"></a>Scroll Backward One Screenful</h5> 355 <dl compact> 356 <dd></dd> 357 <dt><i>Synopsis</i>:</dt> 358 <dd> 359 <pre> 360 <b>[</b><i>count</i><b>]</b><tt>b 361 </tt><b>[</b><i>count</i><b>]</b><tt><control>-B 362 </tt></pre></dd> 363 </dl> 364 <p>Scroll backward <i>count</i> lines, with a default of one screenful (see the <b>-n</b> option). If <i>count</i> is more than the 365 screen size, only the final screenful shall be written.</p> 366 <h5><a name="tag_20_81_13_04" id="tag_20_81_13_04"></a>Scroll Forward One Line</h5> 367 <dl compact> 368 <dd></dd> 369 <dt><i>Synopsis</i>:</dt> 370 <dd> 371 <pre> 372 <b>[</b><i>count</i><b>]</b><tt><space> 373 </tt><b>[</b><i>count</i><b>]</b><tt>j 374 </tt><b>[</b><i>count</i><b>]</b><tt><newline> 375 </tt></pre></dd> 376 </dl> 377 <p>Scroll forward <i>count</i> lines. The default <i>count</i> for the <space> shall be one screenful; for <b>j</b> and 378 <newline>, one line. The entire <i>count</i> lines shall be written, even if <i>count</i> is more than the screen size.</p> 379 <h5><a name="tag_20_81_13_05" id="tag_20_81_13_05"></a>Scroll Backward One Line</h5> 380 <dl compact> 381 <dd></dd> 382 <dt><i>Synopsis</i>:</dt> 383 <dd> 384 <pre> 385 <b>[</b><i>count</i><b>]</b><tt>k 386 </tt></pre></dd> 387 </dl> 388 <p>Scroll backward <i>count</i> lines. The entire <i>count</i> lines shall be written, even if <i>count</i> is more than the screen 389 size.</p> 390 <h5><a name="tag_20_81_13_06" id="tag_20_81_13_06"></a>Scroll Forward One Half Screenful</h5> 391 <dl compact> 392 <dd></dd> 393 <dt><i>Synopsis</i>:</dt> 394 <dd> 395 <pre> 396 <b>[</b><i>count</i><b>]</b><tt>d 397 </tt><b>[</b><i>count</i><b>]</b><tt><control>-D 398 </tt></pre></dd> 399 </dl> 400 <p>Scroll forward <i>count</i> lines, with a default of one half of the screen size. If <i>count</i> is specified, it shall become 401 the new default for subsequent <b>d</b>, <control>-D, and <b>u</b> commands.</p> 402 <h5><a name="tag_20_81_13_07" id="tag_20_81_13_07"></a>Skip Forward One Line</h5> 403 <dl compact> 404 <dd></dd> 405 <dt><i>Synopsis</i>:</dt> 406 <dd> 407 <pre> 408 <b>[</b><i>count</i><b>]</b><tt>s 409 </tt></pre></dd> 410 </dl> 411 <p>Display the screenful beginning with the line <i>count</i> lines after the last line on the current screen. If <i>count</i> 412 would cause the current position to be such that less than one screenful would be written, the last screenful in the file shall be 413 written.</p> 414 <h5><a name="tag_20_81_13_08" id="tag_20_81_13_08"></a>Scroll Backward One Half Screenful</h5> 415 <dl compact> 416 <dd></dd> 417 <dt><i>Synopsis</i>:</dt> 418 <dd> 419 <pre> 420 <b>[</b><i>count</i><b>]</b><tt>u 421 </tt><b>[</b><i>count</i><b>]</b><tt><control>-U 422 </tt></pre></dd> 423 </dl> 424 <p>Scroll backward <i>count</i> lines, with a default of one half of the screen size. If <i>count</i> is specified, it shall become 425 the new default for subsequent <b>d</b>, <control>-D, <b>u</b>, and <control>-U commands. The entire <i>count</i> lines 426 shall be written, even if <i>count</i> is more than the screen size.</p> 427 <h5><a name="tag_20_81_13_09" id="tag_20_81_13_09"></a>Go to Beginning of File</h5> 428 <dl compact> 429 <dd></dd> 430 <dt><i>Synopsis</i>:</dt> 431 <dd> 432 <pre> 433 <b>[</b><i>count</i><b>]</b><tt>g 434 </tt></pre></dd> 435 </dl> 436 <p>Display the screenful beginning with line <i>count</i>.</p> 437 <h5><a name="tag_20_81_13_10" id="tag_20_81_13_10"></a>Go to End-of-File</h5> 438 <dl compact> 439 <dd></dd> 440 <dt><i>Synopsis</i>:</dt> 441 <dd> 442 <pre> 443 <b>[</b><i>count</i><b>]</b><tt>G 444 </tt></pre></dd> 445 </dl> 446 <p>If <i>count</i> is specified, display the screenful beginning with the line <i>count</i>. Otherwise, display the last screenful 447 of the file.</p> 448 <h5><a name="tag_20_81_13_11" id="tag_20_81_13_11"></a>Refresh the Screen</h5> 449 <dl compact> 450 <dd></dd> 451 <dt><i>Synopsis</i>:</dt> 452 <dd> 453 <pre> 454 <tt>r 455 <control>-L 456 </tt></pre></dd> 457 </dl> 458 <p>Refresh the screen.</p> 459 <h5><a name="tag_20_81_13_12" id="tag_20_81_13_12"></a>Discard and Refresh</h5> 460 <dl compact> 461 <dd></dd> 462 <dt><i>Synopsis</i>:</dt> 463 <dd> 464 <pre> 465 <tt>R 466 </tt></pre></dd> 467 </dl> 468 <p>Refresh the screen, discarding any buffered input. If the current file is non-seekable, buffered input shall not be discarded 469 and the <b>R</b> command shall be equivalent to the <b>r</b> command.</p> 470 <h5><a name="tag_20_81_13_13" id="tag_20_81_13_13"></a>Mark Position</h5> 471 <dl compact> 472 <dd></dd> 473 <dt><i>Synopsis</i>:</dt> 474 <dd> 475 <pre> 476 <tt>m</tt><i>letter</i><tt> 477 </tt></pre></dd> 478 </dl> 479 <p>Mark the current position with the letter named by <i>letter</i>, where <i>letter</i> represents the name of one of the 480 lowercase letters of the portable character set. When a new file is examined, all marks may be lost.</p> 481 <h5><a name="tag_20_81_13_14" id="tag_20_81_13_14"></a>Return to Mark</h5> 482 <dl compact> 483 <dd></dd> 484 <dt><i>Synopsis</i>:</dt> 485 <dd> 486 <pre> 487 <tt>'</tt><i>letter</i><tt> 488 </tt></pre></dd> 489 </dl> 490 <p>Return to the position that was previously marked with the letter named by <i>letter</i>, making that line the current 491 position.</p> 492 <h5><a name="tag_20_81_13_15" id="tag_20_81_13_15"></a>Return to Previous Position</h5> 493 <dl compact> 494 <dd></dd> 495 <dt><i>Synopsis</i>:</dt> 496 <dd> 497 <pre> 498 <tt>'' 499 </tt></pre></dd> 500 </dl> 501 <p>Return to the position from which the last large movement command was executed (where a "large movement" is defined as any 502 movement of more than a screenful of lines). If no such movements have been made, return to the beginning of the file.</p> 503 <h5><a name="tag_20_81_13_16" id="tag_20_81_13_16"></a>Search Forward for Pattern</h5> 504 <dl compact> 505 <dd></dd> 506 <dt><i>Synopsis</i>:</dt> 507 <dd> 508 <pre> 509 <b>[</b><i>count</i><b>]</b><tt>/</tt><b>[</b><tt>!</tt><b>]</b><i>pattern</i><tt><newline> 510 </tt></pre></dd> 511 </dl> 512 <p>Display the screenful beginning with the <i>count</i>th line containing the pattern. The search shall start after the first line 513 currently displayed. The null regular expression (<tt>'/'</tt> followed by a <newline>) shall repeat the search using the 514 previous regular expression, with a default <i>count</i>. If the character <tt>'!'</tt> is included, the matching lines shall be 515 those that do not contain the <i>pattern</i>. If no match is found for the <i>pattern</i>, a message to that effect shall be 516 displayed.</p> 517 <h5><a name="tag_20_81_13_17" id="tag_20_81_13_17"></a>Search Backward for Pattern</h5> 518 <dl compact> 519 <dd></dd> 520 <dt><i>Synopsis</i>:</dt> 521 <dd> 522 <pre> 523 <b>[</b><i>count</i><b>]</b><tt>?</tt><b>[</b><tt>!</tt><b>]</b><i>pattern</i><tt><newline> 524 </tt></pre></dd> 525 </dl> 526 <p>Display the screenful beginning with the <i>count</i>th previous line containing the pattern. The search shall start on the last 527 line before the first line currently displayed. The null regular expression (<tt>'?'</tt> followed by a <newline>) shall 528 repeat the search using the previous regular expression, with a default <i>count</i>. If the character <tt>'!'</tt> is included, 529 matching lines shall be those that do not contain the <i>pattern</i>. If no match is found for the <i>pattern</i>, a message to 530 that effect shall be displayed.</p> 531 <h5><a name="tag_20_81_13_18" id="tag_20_81_13_18"></a>Repeat Search</h5> 532 <dl compact> 533 <dd></dd> 534 <dt><i>Synopsis</i>:</dt> 535 <dd> 536 <pre> 537 <b>[</b><i>count</i><b>]</b><tt>n 538 </tt></pre></dd> 539 </dl> 540 <p>Repeat the previous search for <i>count</i>th line containing the last <i>pattern</i> (or not containing the last 541 <i>pattern</i>, if the previous search was <tt>"/!"</tt> or <tt>"?!"</tt>).</p> 542 <h5><a name="tag_20_81_13_19" id="tag_20_81_13_19"></a>Repeat Search in Reverse</h5> 543 <dl compact> 544 <dd></dd> 545 <dt><i>Synopsis</i>:</dt> 546 <dd> 547 <pre> 548 <b>[</b><i>count</i><b>]</b><tt>N 549 </tt></pre></dd> 550 </dl> 551 <p>Repeat the search in the opposite direction of the previous search for the <i>count</i>th line containing the last 552 <i>pattern</i> (or not containing the last <i>pattern</i>, if the previous search was <tt>"/!"</tt> or <tt>"?!"</tt>).</p> 553 <h5><a name="tag_20_81_13_20" id="tag_20_81_13_20"></a>Examine New File</h5> 554 <dl compact> 555 <dd></dd> 556 <dt><i>Synopsis</i>:</dt> 557 <dd> 558 <pre> 559 <tt>:e </tt><b>[</b><i>filename</i><b>]</b><tt><newline> 560 </tt></pre></dd> 561 </dl> 562 <p>Examine a new file. If the <i>filename</i> argument is not specified, the current file (see the <b>:n</b> and <b>:p</b> commands 563 below) shall be re-examined. The <i>filename</i> shall be subjected to the process of shell word expansions (see <a href= 564 "../utilities/V3_chap02.html#tag_19_06"><i>2.6 Word Expansions</i></a> ); if more than a single pathname results, the effects are 565 unspecified. If <i>filename</i> is a <number-sign> (<tt>'#'</tt>), the previously examined file shall be re-examined. If 566 <i>filename</i> is not accessible for any reason (including that it is a non-seekable file), an error message to this effect shall 567 be displayed and the current file and screen shall not change.</p> 568 <h5><a name="tag_20_81_13_21" id="tag_20_81_13_21"></a>Examine Next File</h5> 569 <dl compact> 570 <dd></dd> 571 <dt><i>Synopsis</i>:</dt> 572 <dd> 573 <pre> 574 <b>[</b><i>count</i><b>]</b><tt>:n 575 </tt></pre></dd> 576 </dl> 577 <p>Examine the next file. If a number <i>count</i> is specified, the <i>count</i>th next file shall be examined. If <i>filename</i> 578 refers to a non-seekable file, the results are unspecified.</p> 579 <h5><a name="tag_20_81_13_22" id="tag_20_81_13_22"></a>Examine Previous File</h5> 580 <dl compact> 581 <dd></dd> 582 <dt><i>Synopsis</i>:</dt> 583 <dd> 584 <pre> 585 <b>[</b><i>count</i><b>]</b><tt>:p 586 </tt></pre></dd> 587 </dl> 588 <p>Examine the previous file. If a number <i>count</i> is specified, the <i>count</i>th previous file shall be examined. If 589 <i>filename</i> refers to a non-seekable file, the results are unspecified.</p> 590 <h5><a name="tag_20_81_13_23" id="tag_20_81_13_23"></a>Go to Tag</h5> 591 <dl compact> 592 <dd></dd> 593 <dt><i>Synopsis</i>:</dt> 594 <dd> 595 <pre> 596 <tt>:t </tt><i>tagstring</i><tt><newline> 597 </tt></pre></dd> 598 </dl> 599 <p>If the file containing the tag named by the <i>tagstring</i> argument is not the current file, examine the file, as if the 600 <b>:e</b> command was executed with that file as the argument. Otherwise, or in addition, display the screenful beginning with the 601 tag, as described for the <b>-t</b> option (see the OPTIONS section). If the <a href="../utilities/ctags.html"><i>ctags</i></a> 602 utility is not supported by the system, the use of <b>:t</b> produces undefined results.</p> 603 <h5><a name="tag_20_81_13_24" id="tag_20_81_13_24"></a>Invoke Editor</h5> 604 <dl compact> 605 <dd></dd> 606 <dt><i>Synopsis</i>:</dt> 607 <dd> 608 <pre> 609 <tt>v 610 </tt></pre></dd> 611 </dl> 612 <p>Invoke an editor to edit the current file being examined. If standard input is being examined, the results are unspecified. The 613 name of the editor shall be taken from the environment variable <i>EDITOR ,</i> or shall default to <a href= 614 "../utilities/vi.html"><i>vi</i></a>. If the last pathname component in <i>EDITOR</i> is either <a href= 615 "../utilities/vi.html"><i>vi</i></a> or <a href="../utilities/ex.html"><i>ex</i></a>, the editor shall be invoked with a <b>-c</b> 616 <i>linenumber</i> command line argument, where <i>linenumber</i> is the line number of the file line containing the display line 617 currently displayed as the first line of the screen. It is implementation-defined whether line-setting options are passed to 618 editors other than <a href="../utilities/vi.html"><i>vi</i></a> and <a href="../utilities/ex.html"><i>ex</i></a>.</p> 619 <p>When the editor exits, <i>more</i> shall resume with the same file and screen as when the editor was invoked.</p> 620 <h5><a name="tag_20_81_13_25" id="tag_20_81_13_25"></a>Display Position</h5> 621 <dl compact> 622 <dd></dd> 623 <dt><i>Synopsis</i>:</dt> 624 <dd> 625 <pre> 626 <tt>= 627 <control>-G 628 </tt></pre></dd> 629 </dl> 630 <p>Write a message for which the information references the first byte of the line after the last line of the file on the screen. 631 This message shall include the name of the file currently being examined, its number relative to the total number of files there 632 are to examine, the line number in the file, the byte number and the total bytes in the file, and what percentage of the file 633 precedes the current position. If <i>more</i> is reading from standard input, or the file is shorter than a single screen, the line 634 number, the byte number, the total bytes, and the percentage need not be written.</p> 635 <h5><a name="tag_20_81_13_26" id="tag_20_81_13_26"></a>Quit</h5> 636 <dl compact> 637 <dd></dd> 638 <dt><i>Synopsis</i>:</dt> 639 <dd> 640 <pre> 641 <tt>q 642 :q 643 ZZ 644 </tt></pre></dd> 645 </dl> 646 <p>Exit <i>more</i>.</p> 647 </blockquote> 648 <h4 class="mansect"><a name="tag_20_81_14" id="tag_20_81_14"></a>EXIT STATUS</h4> 649 <blockquote> 650 <p>The following exit values shall be returned:</p> 651 <dl compact> 652 <dd></dd> 653 <dt> 0</dt> 654 <dd>Successful completion.</dd> 655 <dt>>0</dt> 656 <dd>An error occurred.</dd> 657 </dl> 658 </blockquote> 659 <h4 class="mansect"><a name="tag_20_81_15" id="tag_20_81_15"></a>CONSEQUENCES OF ERRORS</h4> 660 <blockquote> 661 <p>If an error is encountered accessing a file when using the <b>:n</b> command, <i>more</i> shall attempt to examine the next file 662 in the argument list, but the final exit status shall be affected. If an error is encountered accessing a file via the <b>:p</b> 663 command, <i>more</i> shall attempt to examine the previous file in the argument list, but the final exit status shall be affected. 664 If an error is encountered accessing a file via the <b>:e</b> command, <i>more</i> shall remain in the current file and the final 665 exit status shall not be affected.</p> 666 </blockquote> 667 <hr> 668 <div class="box"><em>The following sections are informative.</em></div> 669 <h4 class="mansect"><a name="tag_20_81_16" id="tag_20_81_16"></a>APPLICATION USAGE</h4> 670 <blockquote> 671 <p>When the standard output is not a terminal, only the <b>-s</b> filter-modification option is effective. This is based on 672 historical practice. For example, a typical implementation of <a href="../utilities/man.html"><i>man</i></a> pipes its output 673 through <i>more</i> <b>-s</b> to squeeze excess white space for terminal users. When <a href="../utilities/man.html"><i>man</i></a> 674 is piped to <a href="../utilities/lp.html"><i>lp</i></a>, however, it is undesirable for this squeezing to happen.</p> 675 </blockquote> 676 <h4 class="mansect"><a name="tag_20_81_17" id="tag_20_81_17"></a>EXAMPLES</h4> 677 <blockquote> 678 <p>The <b>-p</b> allows arbitrary commands to be executed at the start of each file. Examples are:</p> 679 <dl compact> 680 <dd></dd> 681 <dt><i>more </i><b>-p G </b><i>file1 file2</i></dt> 682 <dd><br> 683 Examine each file starting with its last screenful.</dd> 684 <dt><i>more </i><b>-p </b>100 <i>file1 file2</i></dt> 685 <dd><br> 686 Examine each file starting with line 100 in the current position (usually the third line, so line 98 would be the first line 687 written).</dd> 688 <dt><i>more </i><b>-p </b>/100 <i>file1 file2</i></dt> 689 <dd><br> 690 Examine each file starting with the first line containing the string <tt>"100"</tt> in the current position</dd> 691 </dl> 692 </blockquote> 693 <h4 class="mansect"><a name="tag_20_81_18" id="tag_20_81_18"></a>RATIONALE</h4> 694 <blockquote> 695 <p>The <i>more</i> utility, available in BSD and BSD-derived systems, was chosen as the prototype for the POSIX file display 696 program since it is more widely available than either the public-domain program <i>less</i> or than <i>pg</i>, a pager provided in 697 System V. The 4.4 BSD <i>more</i> is the model for the features selected; it is almost fully upwards-compatible from the 4.3 BSD 698 version in wide use and has become more amenable for <a href="../utilities/vi.html"><i>vi</i></a> users. Several features 699 originally derived from various file editors, found in both <i>less</i> and <i>pg</i>, have been added to this volume of 700 POSIX.1-2024 as they have proved extremely popular with users.</p> 701 <p>There are inconsistencies between <i>more</i> and <a href="../utilities/vi.html"><i>vi</i></a> that result from historical 702 practice. For example, the single-character commands <b>h</b>, <b>f</b>, <b>b</b>, and <space> are screen movers in 703 <i>more</i>, but cursor movers in <a href="../utilities/vi.html"><i>vi</i></a>. These inconsistencies were maintained because the 704 cursor movements are not applicable to <i>more</i> and the powerful functionality achieved without the use of the control key 705 justifies the differences.</p> 706 <p>The tags interface has been included in a program that is not a text editor because it promotes another degree of consistent 707 operation with <a href="../utilities/vi.html"><i>vi</i></a>. It is conceivable that the paging environment of <i>more</i> would be 708 superior for browsing source code files in some circumstances.</p> 709 <p>The operating mode referred to for block-mode terminals effectively adds a <newline> to each Synopsis line that currently 710 has none. So, for example, <b>d</b><newline> would page one screenful. The mode could be triggered by a command line option, 711 environment variable, or some other method. The details are not imposed by this volume of POSIX.1-2024 because there are so few 712 systems known to support such terminals. Nevertheless, it was considered that all systems should be able to support <i>more</i> 713 given the exception cited for this small community of terminals because, in comparison to <a href= 714 "../utilities/vi.html"><i>vi</i></a>, the cursor movements are few and the command set relatively amenable to the optional 715 <newline> characters.</p> 716 <p>Historically some versions of <i>more</i> did not obtain the terminal window size on receipt of SIGCONT, resulting in incorrect 717 screen contents when the screen was refreshed if the size had been changed while <i>more</i> was suspended. This is considered to 718 be a bug in those implementations.</p> 719 <p>Some versions of <i>more</i> provide a shell escaping mechanism similar to the <a href="../utilities/ex.html"><i>ex</i></a> 720 <b>!</b> command. The standard developers did not consider that this was necessary in a paginator, particularly given the wide 721 acceptance of multiple window terminals and job control features. (They chose to retain such features in the editors and <a href= 722 "../utilities/mailx.html"><i>mailx</i></a> because the shell interaction also gives an opportunity to modify the editing buffer, 723 which is not applicable to <i>more</i>.)</p> 724 <p>The <b>-p</b> (position) option replaces the <b>+</b> command because of the Utility Syntax Guidelines. The 725 <b>+</b><i>command</i> option is no longer specified by POSIX.1-2024 but may be present in some implementations. In early 726 proposals, it took a <i>pattern</i> argument, but historical <i>less</i> provided the <i>more</i> general facility of a command. It 727 would have been desirable to use the same <b>-c</b> as <a href="../utilities/ex.html"><i>ex</i></a> and <a href= 728 "../utilities/vi.html"><i>vi</i></a>, but the letter was already in use.</p> 729 <p>The text stating "from a non-rewindable stream ... implementations may limit the amount of backwards motion supported" would 730 allow an implementation that permitted no backwards motion beyond text already on the screen. It was not possible to require a 731 minimum amount of backwards motion that would be effective for all conceivable device types. The implementation should allow the 732 user to back up as far as possible, within device and reasonable memory allocation constraints.</p> 733 <p>Historically, non-printable characters were displayed using the ARPA standard mappings, which are as follows:</p> 734 <ol> 735 <li> 736 <p>Printable characters are left alone.</p> 737 </li> 738 <li> 739 <p>Control characters less than \177 are represented as followed by the character offset from the <tt>'@'</tt> character in the 740 ASCII map; for example, \007 is represented as <tt>'G'</tt>.</p> 741 </li> 742 <li> 743 <p>\177 is represented as followed by <tt>'?'</tt>.</p> 744 </li> 745 </ol> 746 <p>The display of characters having their eighth bit set was less standard. Existing implementations use hex (0x00), octal (\000), 747 and a meta-bit display. (The latter displayed characters with their eighth bit set as the two characters <tt>"M-"</tt>, followed by 748 the seven-bit display as described previously.) The latter probably has the best claim to historical practice because it was used 749 with the <b>-v</b> option of 4 BSD and 4 BSD-derived versions of the <a href="../utilities/cat.html"><i>cat</i></a> utility since 750 1980.</p> 751 <p>No specific display format is required by POSIX.1-2024. Implementations are encouraged to conform to historic practice in the 752 absence of any strong reason to diverge.</p> 753 </blockquote> 754 <h4 class="mansect"><a name="tag_20_81_19" id="tag_20_81_19"></a>FUTURE DIRECTIONS</h4> 755 <blockquote> 756 <p>None.</p> 757 </blockquote> 758 <h4 class="mansect"><a name="tag_20_81_20" id="tag_20_81_20"></a>SEE ALSO</h4> 759 <blockquote> 760 <p><a href="../utilities/V3_chap02.html#tag_19"><i>2. Shell Command Language</i></a> , <a href= 761 "../utilities/ctags.html#"><i>ctags</i></a> , <a href="../utilities/ed.html#"><i>ed</i></a> , <a href= 762 "../utilities/ex.html#"><i>ex</i></a> , <a href="../utilities/vi.html#"><i>vi</i></a></p> 763 <p>XBD <a href="../basedefs/V1_chap08.html#tag_08"><i>8. Environment Variables</i></a> , <a href= 764 "../basedefs/V1_chap09.html#tag_09_02"><i>9.2 Regular Expression General Requirements</i></a> , <a href= 765 "../basedefs/V1_chap09.html#tag_09_03"><i>9.3 Basic Regular Expressions</i></a> , <a href= 766 "../basedefs/V1_chap12.html#tag_12_02"><i>12.2 Utility Syntax Guidelines</i></a></p> 767 </blockquote> 768 <h4 class="mansect"><a name="tag_20_81_21" id="tag_20_81_21"></a>CHANGE HISTORY</h4> 769 <blockquote> 770 <p>First released in Issue 4.</p> 771 </blockquote> 772 <h4 class="mansect"><a name="tag_20_81_22" id="tag_20_81_22"></a>Issue 5</h4> 773 <blockquote> 774 <p>The FUTURE DIRECTIONS section is added.</p> 775 </blockquote> 776 <h4 class="mansect"><a name="tag_20_81_23" id="tag_20_81_23"></a>Issue 6</h4> 777 <blockquote> 778 <p>This utility is marked as part of the User Portability Utilities option.</p> 779 <p>The obsolescent SYNOPSIS is removed.</p> 780 <p>The utility has been extensively reworked for alignment with the IEEE P1003.2b draft standard:</p> 781 <ul> 782 <li> 783 <p>Changes have been made as a result of IEEE PASC Interpretations 1003.2 #37 and #109.</p> 784 </li> 785 <li> 786 <p>The <i>more</i> utility should be able to handle underlined and emboldened displays of characters that are wider than a single 787 column position.</p> 788 </li> 789 </ul> 790 </blockquote> 791 <h4 class="mansect"><a name="tag_20_81_24" id="tag_20_81_24"></a>Issue 7</h4> 792 <blockquote> 793 <p>Austin Group Interpretation 1003.1-2001 #027 is applied, clarifying that <tt>'+'</tt> may be recognized as an option delimiter 794 in the OPTIONS section.</p> 795 <p>SD5-XCU-ERN-97 is applied, updating the SYNOPSIS.</p> 796 <p>POSIX.1-2008, Technical Corrigendum 1, XCU/TC1-2008/0123 [265] is applied.</p> 797 <p>POSIX.1-2008, Technical Corrigendum 2, XCU/TC2-2008/0146 [584] is applied.</p> 798 </blockquote> 799 <h4 class="mansect"><a name="tag_20_81_25" id="tag_20_81_25"></a>Issue 8</h4> 800 <blockquote> 801 <p>Austin Group Defect 1031 is applied, changing the description of the <b>-i</b> option.</p> 802 <p>Austin Group Defect 1122 is applied, changing the description of <i>NLSPATH .</i></p> 803 <p>Austin Group Defect 1185 is applied, changing the ASYNCHRONOUS EVENTS and EXTENDED DESCRIPTION sections in relation to the 804 terminal window size.</p> 805 </blockquote> 806 <div class="box"><em>End of informative text.</em></div> 807 <hr> 808 <p> </p> 809 <a href="#top"><span class="topOfPage">return to top of page</span></a><br> 810 <hr size="2" noshade> 811 <center><font size="2">UNIX® is a registered Trademark of The Open Group.<br> 812 POSIX™ is a Trademark of The IEEE.<br> 813 Copyright © 2001-2024 The IEEE and The Open Group, All Rights Reserved<br> 814 [ <a href="../mindex.html">Main Index</a> | <a href="../basedefs/contents.html">XBD</a> | <a href= 815 "../functions/contents.html">XSH</a> | <a href="../utilities/contents.html">XCU</a> | <a href="../xrat/contents.html">XRAT</a> 816 ]</font></center> 817 <hr size="2" noshade> 818 <div class="NAVHEADER"> 819 <table summary="Header navigation table" class="nav" width="100%" border="0" cellpadding="0" cellspacing="0"> 820 <tr class="nav"> 821 <td class="nav" width="15%" align="left" valign="bottom"><a href="../utilities/mkfifo.html" accesskey="P"><<< 822 Previous</a></td> 823 <td class="nav" width="70%" align="center" valign="bottom"><a href="contents.html">Home</a></td> 824 <td class="nav" width="15%" align="right" valign="bottom"><a href="../utilities/msgfmt.html" accesskey="N">Next 825 >>></a></td> 826 </tr> 827 </table> 828 <hr align="left" width="100%"></div> 829 </body> 830 </html>