{
    "mode": "man",
    "parameter": "ZMORE",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/ZMORE/1/json",
    "generated": "2026-06-12T16:36:39Z",
    "synopsis": "zmore [ name ...  ]",
    "sections": {
        "NAME": {
            "content": "zmore - file perusal filter for crt viewing of compressed text\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "zmore [ name ...  ]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Zmore is a filter which allows examination of compressed or plain text files one screenful at\na time on a soft-copy terminal.  zmore works on files compressed with compress, pack or gzip,\nand also on uncompressed files.  If a file does not exist, zmore looks for a file of the same\nname with the addition of a .gz, .z or .Z suffix.\n\nZmore normally pauses after each screenful, printing --More-- at the bottom  of  the  screen.\nIf  the  user  then  types a carriage return, one more line is displayed.  If the user hits a\nspace, another screenful is displayed.  Other possibilities are enumerated later.\n\nZmore looks in the file /etc/termcap to determine terminal characteristics, and to  determine\nthe  default  window  size.  On a terminal capable of displaying 24 lines, the default window\nsize is 22 lines.  To use a pager other than the default more, set environment variable PAGER\nto the name of the desired program, such as less.\n\nOther sequences which may be typed when zmore pauses, and their effects, are as follows (i is\nan optional integer argument, defaulting to 1) :\n\ni<space>\ndisplay i more lines, (or another screenful if no argument is given)\n\n^D     display 11 more lines (a ``scroll'').  If i is given, then the scroll size is  set  to\ni.\n\nd      same as ^D (control-D)\n\niz     same as typing a space except that i, if present, becomes the new window size.\n\nis     skip i lines and print a screenful of lines\n\nif     skip i screenfuls and print a screenful of lines\n\nq or Q Quit.\n\n=      Display the current line number.\n\ni/expr search  for  the i-th occurrence of the regular expression expr.  The user's erase and\nkill characters may be used to edit the regular expression.   Erasing  back  past  the\nfirst column cancels the search command.\n\nin     search for the i-th occurrence of the last regular expression entered.\n\n!command\ninvoke a shell with command.  The character `!' in \"command\" is replaced with the pre‐\nvious shell command.  The sequence \"\\!\" is replaced by \"!\".\n\n:q or :Q\nQuit (same as q or Q).\n\n.      (dot) repeat the previous command.\n\nThe commands take effect immediately, i.e., it is not necessary to type  a  carriage  return.\nUp  to  the  time  when the command character itself is given, the user may hit the line kill\ncharacter to cancel the numerical argument being formed.  In addition, the user may  hit  the\nerase character to redisplay the --More-- message.\n\nAt  any  time  when output is being sent to the terminal, the user can hit the quit key (nor‐\nmally control-\\).  Zmore will stop sending  output,  and  will  display  the  usual  --More--\nprompt.   The  user  may then enter one of the above commands in the normal manner.  Unfortu‐\nnately, some output is lost when this is done, due to the fact that any characters waiting in\nthe terminal's output queue are flushed when the quit signal occurs.\n\nThe  terminal  is  set  to  noecho mode by this program so that the output can be continuous.\nWhat you type will thus not show on your terminal, except for the / and !  commands.\n\nIf the standard output is not a teletype, then zmore acts  just  like  zcat,  except  that  a\nheader is printed before each file if there is more than one file.\n",
            "subsections": []
        },
        "FILES": {
            "content": "/etc/termcap\nTerminal data base\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "more(1), gzip(1), zdiff(1), zgrep(1), znew(1), zforce(1), gzexe(1)\n\n\n\nZMORE(1)",
            "subsections": []
        }
    },
    "summary": "zmore - file perusal filter for crt viewing of compressed text",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "more",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/more/1/json"
        },
        {
            "name": "gzip",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/gzip/1/json"
        },
        {
            "name": "zdiff",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/zdiff/1/json"
        },
        {
            "name": "zgrep",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/zgrep/1/json"
        },
        {
            "name": "znew",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/znew/1/json"
        },
        {
            "name": "zforce",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/zforce/1/json"
        },
        {
            "name": "gzexe",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/gzexe/1/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "View `gzip` compressed files with `more`.",
        "examples": [
            {
                "description": "Open a compressed file",
                "command": "zmore {{path/to/file.txt.gz}}"
            },
            {
                "description": "Display the next page of the file",
                "command": "<Space>"
            },
            {
                "description": "Search for a pattern in the file (press `<n>` to go to next match)",
                "command": "</>{{regex}}"
            },
            {
                "description": "Exit",
                "command": "<q>"
            },
            {
                "description": "Display interactive command help",
                "command": "<h>"
            }
        ]
    }
}