Annotation of coherent/g/usr/bin/gzip/zmore.1, revision 1.1

1.1     ! root        1: .TH ZMORE 1
        !             2: .SH NAME
        !             3: zmore \- file perusal filter for crt viewing of compressed text
        !             4: .SH SYNOPSIS
        !             5: .B zmore
        !             6: [ name ...  ]
        !             7: .SH DESCRIPTION
        !             8: .I  Zmore
        !             9: is a filter which allows examination of compressed text files
        !            10: one screenful at a time on a soft-copy terminal.
        !            11: It normally pauses after each screenful, printing --More--
        !            12: at the bottom of the screen.
        !            13: If the user then types a carriage return, one more line is displayed.
        !            14: If the user hits a space,
        !            15: another screenful is displayed.  Other possibilites are enumerated later.
        !            16: .PP
        !            17: .I Zmore
        !            18: looks in the file
        !            19: .I /etc/termcap
        !            20: to determine terminal characteristics,
        !            21: and to determine the default window size.
        !            22: On a terminal capable of displaying 24 lines,
        !            23: the default window size is 22 lines.
        !            24: To use a pager other than the default
        !            25: .I more,
        !            26: set environment variable PAGER to the name of the desired program, such as
        !            27: .I less.
        !            28: .PP
        !            29: Other sequences which may be typed when
        !            30: .I zmore
        !            31: pauses, and their effects, are as follows (\fIi\fP is an optional integer
        !            32: argument, defaulting to 1) :
        !            33: .PP
        !            34: .IP \fIi\|\fP<space>
        !            35: display
        !            36: .I i
        !            37: more lines, (or another screenful if no argument is given)
        !            38: .PP
        !            39: .IP ^D
        !            40: display 11 more lines (a ``scroll'').
        !            41: If
        !            42: .I i
        !            43: is given, then the scroll size is set to \fIi\|\fP.
        !            44: .PP
        !            45: .IP d
        !            46: same as ^D (control-D)
        !            47: .PP
        !            48: .IP \fIi\|\fPz
        !            49: same as typing a space except that \fIi\|\fP, if present, becomes the new
        !            50: window size.  Note that the window size reverts back to the default at the
        !            51: end of the current file.
        !            52: .PP
        !            53: .IP \fIi\|\fPs
        !            54: skip \fIi\|\fP lines and print a screenful of lines
        !            55: .PP
        !            56: .IP \fIi\|\fPf
        !            57: skip \fIi\fP screenfuls and print a screenful of lines
        !            58: .PP
        !            59: .IP "q or Q"
        !            60: quit reading the current file; go on to the next (if any)
        !            61: .PP
        !            62: .IP e
        !            63: When the prompt --More--(Next file: 
        !            64: .IR file )
        !            65: is printed, this command causes zmore to exit.
        !            66: .PP
        !            67: .IP s
        !            68: When the prompt --More--(Next file: 
        !            69: .IR file )
        !            70: is printed, this command causes zmore to skip the next file and continue.
        !            71: .PP 
        !            72: .IP =
        !            73: Display the current line number.
        !            74: .PP
        !            75: .IP \fIi\|\fP/expr
        !            76: search for the \fIi\|\fP-th occurrence of the regular expression \fIexpr.\fP
        !            77: If the pattern is not found,
        !            78: .I zmore
        !            79: goes on to the next file (if any).
        !            80: Otherwise, a screenful is displayed, starting two lines before the place
        !            81: where the expression was found.
        !            82: The user's erase and kill characters may be used to edit the regular
        !            83: expression.
        !            84: Erasing back past the first column cancels the search command.
        !            85: .PP
        !            86: .IP \fIi\|\fPn
        !            87: search for the \fIi\|\fP-th occurrence of the last regular expression entered.
        !            88: .PP
        !            89: .IP !command
        !            90: invoke a shell with \fIcommand\|\fP. 
        !            91: The character `!' in "command" are replaced with the
        !            92: the previous shell command.  The sequence "\\!" is replaced by "!".
        !            93: .PP
        !            94: .IP ":q or :Q"
        !            95: quit reading the current file; go on to the next (if any)
        !            96: (same as q or Q).
        !            97: .PP
        !            98: .IP .
        !            99: (dot) repeat the previous command.
        !           100: .PP
        !           101: The commands take effect immediately, i.e., it is not necessary to
        !           102: type a carriage return.
        !           103: Up to the time when the command character itself is given,
        !           104: the user may hit the line kill character to cancel the numerical
        !           105: argument being formed.
        !           106: In addition, the user may hit the erase character to redisplay the
        !           107: --More-- message.
        !           108: .PP
        !           109: At any time when output is being sent to the terminal, the user can
        !           110: hit the quit key (normally control\-\\).
        !           111: .I Zmore
        !           112: will stop sending output, and will display the usual --More--
        !           113: prompt.
        !           114: The user may then enter one of the above commands in the normal manner.
        !           115: Unfortunately, some output is lost when this is done, due to the
        !           116: fact that any characters waiting in the terminal's output queue
        !           117: are flushed when the quit signal occurs.
        !           118: .PP
        !           119: The terminal is set to
        !           120: .I noecho
        !           121: mode by this program so that the output can be continuous.
        !           122: What you type will thus not show on your terminal, except for the / and !
        !           123: commands.
        !           124: .PP
        !           125: If the standard output is not a teletype, then
        !           126: .I zmore
        !           127: acts just like
        !           128: .I zcat,
        !           129: except that a header is printed before each file.
        !           130: .SH FILES
        !           131: .DT
        !           132: /etc/termcap           Terminal data base
        !           133: .SH "SEE ALSO"
        !           134: more(1), gzip(1), zcmp(1), znew(1), zforce(1), gzexe(1)

unix.superglobalmegacorp.com

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