home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 4 / FreshFish_May-June1994.bin / bbs / gnu / gzip-1.2.4-bin.lha / man / cat1 / zmore.0 < prev    next >
Encoding:
Text File  |  1993-12-07  |  5.5 KB  |  199 lines

  1.  
  2.  
  3.  
  4. ZMORE(1)                                                 ZMORE(1)
  5.  
  6.  
  7. NNAAMMEE
  8.        zmore  - file perusal filter for crt viewing of compressed
  9.        text
  10.  
  11. SSYYNNOOPPSSIISS
  12.        zzmmoorree [ name ...  ]
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.        _Z_m_o_r_e is a filter which allows examination  of  compressed
  16.        or plain text files one screenful at a time on a soft-copy
  17.        terminal.  _z_m_o_r_e works on files compressed with  _c_o_m_p_r_e_s_s_,
  18.        _p_a_c_k  or  _g_z_i_p_, and also on uncompressed files.  If a file
  19.        does not exist, _z_m_o_r_e looks for a file of  the  same  name
  20.        with the addition of a .gz, .z or .Z suffix.
  21.  
  22.        _Z_m_o_r_e  normally  pauses  after  each  screenful,  printing
  23.        --More-- at the bottom of the screen.  If  the  user  then
  24.        types  a  carriage return, one more line is displayed.  If
  25.        the user hits a space,  another  screenful  is  displayed.
  26.        Other possibilities are enumerated later.
  27.  
  28.        _Z_m_o_r_e looks in the file _/_e_t_c_/_t_e_r_m_c_a_p to determine terminal
  29.        characteristics, and to determine the default window size.
  30.        On  a terminal capable of displaying 24 lines, the default
  31.        window size is 22 lines.  To use a pager  other  than  the
  32.        default  _m_o_r_e_,  set environment variable PAGER to the name
  33.        of the desired program, such as _l_e_s_s_.
  34.  
  35.        Other sequences which may be typed when _z_m_o_r_e pauses,  and
  36.        their  effects,  are  as follows (_i is an optional integer
  37.        argument, defaulting to 1) :
  38.  
  39.  
  40.        _i<space>
  41.               display _i more lines, (or another screenful  if  no
  42.               argument is given)
  43.  
  44.  
  45.        ^D     display  11  more  lines  (a  ``scroll'').  If _i is
  46.               given, then the scroll size is set to _i.
  47.  
  48.  
  49.        d      same as ^D (control-D)
  50.  
  51.  
  52.        _iz     same as typing a space except that _i,  if  present,
  53.               becomes  the new window size.  Note that the window
  54.               size reverts back to the default at the end of  the
  55.               current file.
  56.  
  57.  
  58.        _is     skip _i lines and print a screenful of lines
  59.  
  60.  
  61.  
  62.  
  63.  
  64.                                                                 1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ZMORE(1)                                                 ZMORE(1)
  71.  
  72.  
  73.        _if     skip _i screenfuls and print a screenful of lines
  74.  
  75.  
  76.        q or Q quit  reading  the  current file; go on to the next
  77.               (if any)
  78.  
  79.  
  80.        e or q When  the  prompt  --More--(Next  file:  _f_i_l_e)   is
  81.               printed, this command causes zmore to exit.
  82.  
  83.  
  84.        s      When   the  prompt  --More--(Next  file:  _f_i_l_e)  is
  85.               printed, this command causes zmore to skip the next
  86.               file and continue.
  87.  
  88.  
  89.        =      Display the current line number.
  90.  
  91.  
  92.        _i/expr search  for  the  _i-th  occurrence  of  the regular
  93.               expression _e_x_p_r_.  If  the  pattern  is  not  found,
  94.               _z_m_o_r_e  goes  on  to the next file (if any).  Other-
  95.               wise, a screenful is displayed, starting two  lines
  96.               before  the  place  where the expression was found.
  97.               The user's erase and kill characters may be used to
  98.               edit the regular expression.  Erasing back past the
  99.               first column cancels the search command.
  100.  
  101.  
  102.        _in     search for the _i-th occurrence of the last  regular
  103.               expression entered.
  104.  
  105.  
  106.        !command
  107.               invoke  a shell with _c_o_m_m_a_n_d.  The character `!' in
  108.               "command" are replaced with the previous shell com-
  109.               mand.  The sequence "\!" is replaced by "!".
  110.  
  111.  
  112.        :q or :Q
  113.               quit  reading  the  current file; go on to the next
  114.               (if any) (same as q or Q).
  115.  
  116.  
  117.        .      (dot) repeat the previous command.
  118.  
  119.        The commands take effect immediately, i.e., it is not nec-
  120.        essary to type a carriage return.  Up to the time when the
  121.        command character itself is given, the user  may  hit  the
  122.        line kill character to cancel the numerical argument being
  123.        formed.  In addition, the user may hit the erase character
  124.        to redisplay the --More-- message.
  125.  
  126.        At any time when output is being sent to the terminal, the
  127.  
  128.  
  129.  
  130.                                                                 2
  131.  
  132.  
  133.  
  134.  
  135.  
  136. ZMORE(1)                                                 ZMORE(1)
  137.  
  138.  
  139.        user can hit the quit  key  (normally  control-\).   _Z_m_o_r_e
  140.        will  stop  sending  output,  and  will  display the usual
  141.        --More-- prompt.  The user may then enter one of the above
  142.        commands in the normal manner.  Unfortunately, some output
  143.        is lost when this is done, due to the fact that any  char-
  144.        acters  waiting in the terminal's output queue are flushed
  145.        when the quit signal occurs.
  146.  
  147.        The terminal is set to _n_o_e_c_h_o mode by this program so that
  148.        the output can be continuous.  What you type will thus not
  149.        show on your terminal, except for the / and !  commands.
  150.  
  151.        If the standard output is not a teletype, then _z_m_o_r_e  acts
  152.        just  like  _z_c_a_t_,  except  that a header is printed before
  153.        each file.
  154.  
  155. FFIILLEESS
  156.        /etc/termcap        Terminal data base
  157.  
  158. SSEEEE AALLSSOO
  159.        more(1), gzip(1), zdiff(1), zgrep(1), znew(1),  zforce(1),
  160.        gzexe(1)
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.                                                                 3
  197.  
  198.  
  199.