19a9ea25fSXin LI.\" $NetBSD: zmore.1,v 1.3 2003/12/28 12:47:52 wiz Exp $ 29a9ea25fSXin LI.\" $OpenBSD: zmore.1,v 1.3 2003/06/23 21:00:48 deraadt Exp $ 39a9ea25fSXin LI.\" 49a9ea25fSXin LI.\" Copyright (c) 2003 Todd C. Miller <Todd.Miller@courtesan.com> 59a9ea25fSXin LI.\" 69a9ea25fSXin LI.\" Permission to use, copy, modify, and distribute this software for any 79a9ea25fSXin LI.\" purpose with or without fee is hereby granted, provided that the above 89a9ea25fSXin LI.\" copyright notice and this permission notice appear in all copies. 99a9ea25fSXin LI.\" 109a9ea25fSXin LI.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 119a9ea25fSXin LI.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 129a9ea25fSXin LI.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 139a9ea25fSXin LI.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 149a9ea25fSXin LI.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 159a9ea25fSXin LI.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 169a9ea25fSXin LI.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 179a9ea25fSXin LI.\" 189a9ea25fSXin LI.\" Sponsored in part by the Defense Advanced Research Projects 199a9ea25fSXin LI.\" Agency (DARPA) and Air Force Research Laboratory, Air Force 209a9ea25fSXin LI.\" Materiel Command, USAF, under agreement number F39502-99-1-0512. 219a9ea25fSXin LI.\" 229a9ea25fSXin LI.\" $FreeBSD$ 239a9ea25fSXin LI.Dd January 26, 2007 249a9ea25fSXin LI.Dt ZMORE 1 259a9ea25fSXin LI.Os 269a9ea25fSXin LI.Sh NAME 279a9ea25fSXin LI.Nm zmore 289a9ea25fSXin LI.Nd view compressed files on a CRT 299a9ea25fSXin LI.Sh SYNOPSIS 309a9ea25fSXin LI.Nm zmore 319a9ea25fSXin LI.Op Ar flags 329a9ea25fSXin LI.Op Ar file ... 339a9ea25fSXin LI.Sh DESCRIPTION 349a9ea25fSXin LI.Nm 359a9ea25fSXin LIis a filter that allows the viewing of files compressed with Lempel-Ziv 369a9ea25fSXin LIencoding. 379a9ea25fSXin LISuch files generally have a 389a9ea25fSXin LI.Dq Z 399a9ea25fSXin LIor 409a9ea25fSXin LI.Dq gz 419a9ea25fSXin LIextension (both the 429a9ea25fSXin LI.Xr compress 1 439a9ea25fSXin LIand 449a9ea25fSXin LI.Xr gzip 1 459a9ea25fSXin LIformats are supported). 469a9ea25fSXin LIAny 479a9ea25fSXin LI.Ar flags 489a9ea25fSXin LIthat are specified are passed to the user's preferred 499a9ea25fSXin LI.Ev PAGER 509a9ea25fSXin LI(which is 519a9ea25fSXin LI.Pa /usr/bin/more 529a9ea25fSXin LIby default). 539a9ea25fSXin LI.Pp 549a9ea25fSXin LIWhen multiple files are specified, 559a9ea25fSXin LI.Nm 569a9ea25fSXin LIwill pause at the end of each file and present the following prompt to the user: 579a9ea25fSXin LI.Bd -literal -offset indent 589a9ea25fSXin LIprev_file (END) - Next: next_file 599a9ea25fSXin LI.Ed 609a9ea25fSXin LI.Pp 619a9ea25fSXin LIWhere 629a9ea25fSXin LI.Sy prev_file 639a9ea25fSXin LIis the file that was just displayed and 649a9ea25fSXin LI.Sy next_file 659a9ea25fSXin LIis the next file to be displayed. 669a9ea25fSXin LIThe following keys are recognized at the prompt: 679a9ea25fSXin LI.Bl -tag -width "e or q" -offset indent 689a9ea25fSXin LI.It Ic e No or Ic q 699a9ea25fSXin LIquit 709a9ea25fSXin LI.Nm zmore . 719a9ea25fSXin LI.It Ic s 729a9ea25fSXin LIskip the next file (or exit if the next file is the last). 739a9ea25fSXin LI.El 749a9ea25fSXin LI.Pp 759a9ea25fSXin LIIf no files are specified, 769a9ea25fSXin LI.Nm 779a9ea25fSXin LIwill read from the standard input. 789a9ea25fSXin LIIn this mode 799a9ea25fSXin LI.Nm 809a9ea25fSXin LIwill assume 819a9ea25fSXin LI.Xr gzip 1 829a9ea25fSXin LIstyle compression since there is no suffix on which to make a decision. 839a9ea25fSXin LI.Sh ENVIRONMENT 849a9ea25fSXin LI.Bl -tag -width "PAGER" 859a9ea25fSXin LI.It Ev PAGER 869a9ea25fSXin LIProgram used to display files. 879a9ea25fSXin LIIf unset, 889a9ea25fSXin LI.Pa /usr/bin/more 899a9ea25fSXin LIis used. 909a9ea25fSXin LI.El 919a9ea25fSXin LI.Sh SEE ALSO 929a9ea25fSXin LI.Xr compress 1 , 939a9ea25fSXin LI.Xr less 1 , 949a9ea25fSXin LI.Xr more 1 95