File:  [MW Coherent from dump] / coherent / a / usr / man / COHERENT / more
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



more                         Command                         more




Display text one page at a time

mmoorree [ -ccddffllssuu ] [ -_w_i_n_d_o_w__s_i_z_e ] [ +_l_i_n_e__n_u_m_b_e_r ] [ +/_p_a_t_t_e_r_n ] [ _f_i_l_e ... ] [ - ]

mmoorree is a filter for paging through text one screenful at a time.
_f_i_l_e  is a  text file;  the  operator -  tells mmoorree  to read  and
display the standard input.

***** Options *****

mmoorree  reads   options  from  the   command  line  and   from  the
environmental variable  MMOORREE. In case of  a conflict, the options
given  on the  command line  take  precedence.  Every  cluster of
options must  be preceded with  a hyphen `-', even  if passed via
the environmental variable MMOORREE.

mmoorree recognizes the following options:

-cc Paint  the  screen  from the  top  line  down.  mmoorree  normally
   repaints  the  screen  by scrolling  from  the  bottom of  the
   screen.

-dd Prompt the user at the end of each screen with the message:
           [Press space to continue, 'q' to quit.]

   The default is to not issue a prompt.

-ff Count  actual lines  from the  input  file rather  than screen
   lines.  This  option is useful when  the input contains escape
   sequences that mmoorree does not recognize.

-ll Do not  treat the formfeed character  <ccttrrll-LL> as special.  By
   default, mmoorree pauses at  each formfeed character, as if a full
   screen had been displayed.

-ss Squeeze consecutive blank  lines into one blank line.  This is
   useful for looking at nnrrooffff output, such as manual pages.

-uu Display  backspaces  as   control  characters  and  leave  the
   carriage return-linefeed (CR-LF) pair alone.  By default, mmoorree
   displays  backspaces  that appear  adjacent  to an  underscore
   character as  underlined text; backspaces  that appear between
   two  identical characters as  emboldened text;  and compresses
   CR-LF sequences.

+/_p_a_t_t_e_r_n
   Search  for _p_a_t_t_e_r_n  before displaying a  file.  _p_a_t_t_e_r_n  is a
   regular  expression, as  recognized by  commands eedd  or eeggrreepp.
   _p_a_t_t_e_r_n  should be  escaped to  avoid  being processed  by the
   shell.

-_w_i_n_d_o_w__s_i_z_e
   Set the size of  the window that mmoorree displays to _w_i_n_d_o_w__s_i_z_e,
   which is a decimal integer less than or equal to the number of


COHERENT Lexicon                                           Page 1




more                         Command                         more



   lines on your terminal.   The default window size is read from
   the tteerrmmccaapp description for your terminal.

+_l_i_n_e__n_u_m_b_e_r
   Make  _l_i_n_e__n_u_m_b_e_r  the beginning  line  to  display in   _f_i_l_e.
   _l_i_n_e__n_u_m_b_e_r is a decimal integer less than the number of lines
   in _f_i_l_e.

***** Commands *****

The  following  describes  mmoorree's  interactive  commands.   These
commands are based on those for the UNIX editor vvii. Some commands
may optionally be preceded by  a decimal number.  If you enter an
invalid command, mmoorree will beep at you.

hh

?  Help: display a summary of these commands.

[_N]<ssppaaccee>
   Display the next _N lines of text (default, one screenful).

[_N]zz
   If _N is not specified, display the next screenful.  Otherwise,
   display _N  lines and set  the default scrolling size  to _N for
   all subsequent <ssppaaccee> and zz commands.

[_N]<ccttrrll-FF>
[_N]ff
   Scroll forward _N screenfuls (default, one screenful).  If _N is
   more  than  the  screen  size,  only  the final  screenful  is
   displayed.

[_N]<ccttrrll-BB>
[_N]bb
   Scroll backward  _N screenfuls (default, one  screenful).  If _N
   is  more than  the screen  size, only  the final  screenful is
   displayed.

[_N]ss
   Skip  forward _N  lines  (default, one  line)  and display  one
   screenful.

[_N]<rreettuurrnn>
[_N]<eenntteerr>
   Scroll forward  _N lines (default, one).   Display all _N lines,
   even if _N is more than the screen size.

[_N]<ccttrrll-DD>
[_N]dd
   Scroll forward _N lines (default, one half of the screen size).
   If _N is specified, it becomes the new default for subsequent dd
   and <ccttrrll-DD> commands.




COHERENT Lexicon                                           Page 2




more                         Command                         more



<ccttrrll-LL>
   Redraw the screen.

'  (Apostrophe) Return to  the position in the current file where
   the previous  search command started,  or to the  beginning of
   the  file   if  no   search  commands  have   occurred.   This
   information is lost when a new file is examined.

[_N]/_p_a_t_t_e_r_n
   Search  forward  for  the  _N-th  line  that  contains  _p_a_t_t_e_r_n
   (default,   one).   _p_a_t_t_e_r_n  is   a  regular   expression,  as
   recognized by  eedd or  eeggrreepp. The  search starts at  the second
   line displayed.

nn  Repeat previous search.

:ff Display the  name of  the current  file with the  current line
   number.

[_N]:nn
   Examine the _N-th file after  the current file, as given in the
   command line (default, the next file).

[_N]:pp
   Examine the  _N-th file previous to the  current file, as given
   in the command line (default, the previous file).

! _c_o_m_m_a_n_d
:! _c_o_m_m_a_n_d
   Pass _c_o_m_m_a_n_d  to the  shell specified by  environment variable
   SSHHEELLLL for execution.  The default shell is /bbiinn/sshh.

vv  Invoke an editor to edit  the current file.  The editor is set
   by the environment variables VVIISSUUAALL and EEDDIITTOORR, in that order.
   If these variables are not set, use vvii.

=  Display the current line number.

qq

:qq

QQ

:QQ Quit.

***** Environment *****

mmoorree uses the following environment variables:

EEDDIITTOORR  Specify default editor.

MMOORREE    Set default options for mmoorree




COHERENT Lexicon                                           Page 3




more                         Command                         more



SSHHEELLLL   Specify  the  shell being  used  (normally  set at  login
        time).

TTEERRMM    Specify the  type of terminal  you are using.   mmoorree uses
        this  variable  to read  from  /eettcc/tteerrmmccaapp the  terminal
        characteristics needed to manipulate the screen.

VVIISSUUAALL  Specify default visual editor.

***** See Also *****

ccoommmmaannddss, eeggrreepp, ssccaatt, vvii

***** Author *****

This software is derived from software contributed to Berkeley by
Mark Nudleman.  mmoorree is copyright (c) 1988,1990 by The Regents of
the  University  of  California.   Copyright  (c)  1988  by  Mark
Nudleman.  All rights reserved.

mmoorree is  distributed as a  service to COHERENT  customers, as is.
It is not supported by Mark Williams Company.  _C_a_v_e_a_t _u_t_i_l_i_t_o_r.



































COHERENT Lexicon                                           Page 4



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.