X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=zless.1;h=26d0ddd3b00ae65f588a7b05439bf34e18c4ccac;hb=e69450077be2e9b4045c21e2ec528e5085ba4820;hp=996fb0caf366c496018b6dd283bac3e7b0fe7d1c;hpb=302189d124ed5849c2589ea92e912eb24fdc4ab3;p=gzip diff --git a/zless.1 b/zless.1 index 996fb0c..26d0ddd 100644 --- a/zless.1 +++ b/zless.1 @@ -8,11 +8,46 @@ zless \- file perusal filter for crt viewing of compressed text .I Zless is a filter which allows examination of compressed or plain text files one screenful at a time on a soft-copy terminal. It is the equivalent of -setting the environment variable PAGER to -.I less, -and then running zmore. However, enough people seem to think that having the -command -.I zless -available is important to be worth providing it. +setting the environment variable LESSOPEN to '|gzip -cdfq -- %s', +and the environment variable LESSMETACHARS to +"';*?"()<>[|&^`#\\$%=~'", +and then running +.IR less . +.I Less +now provides similar, and more flexible, functionality through the +.I lessfile +and +.I lesspipe +filters. .SH "SEE ALSO" -zmore(1), less(1) +zmore(1), less(1), lessfile(1), lesspipe(1) +.SH "BUGS" +.I Zless +does not work with compressed data that is piped to it via standard +input; it requires that input files be specified as arguments. +If you really want to use less in a pipe, +then do the uncompress explicitly and pipe to less instead of using zless. +.SH "COPYRIGHT NOTICE" +Copyright \(co 2006 Free Software Foundation, Inc. +.br +Copyright \(co 1992, 1993 Jean-loup Gailly +.PP +Permission is granted to make and distribute verbatim copies of +this manual provided the copyright notice and this permission notice +are preserved on all copies. +.ig +Permission is granted to process this file through troff and print the +results, provided the printed document carries copying permission +notice identical to this one except for the removal of this paragraph +(this paragraph not being relevant to the printed manual). +.. +.PP +Permission is granted to copy and distribute modified versions of this +manual under the conditions for verbatim copying, provided that the entire +resulting derived work is distributed under the terms of a permission +notice identical to this one. +.PP +Permission is granted to copy and distribute translations of this manual +into another language, under the above conditions for modified versions, +except that this permission notice may be stated in a translation approved +by the Foundation.