Redhat has a shell-script called /usr/bin/zless: #!/bin/sh /bin/zcat "$@" | /usr/bin/less (zcat is hard-linked to gzip and gunzip) /usr/bin/zmore also exists and is the same but has a much more complicated shell script. It sets some terminal options and stuff. I attached some files there are a bunch more too. These are the executables in redhats gzip package. /bin/gunzip /bin/gzip /bin/zcat /usr/bin/gunzip /usr/bin/gzexe /usr/bin/gzip /usr/bin/zcmp /usr/bin/zdiff /usr/bin/zegrep /usr/bin/zfgrep /usr/bin/zforce /usr/bin/zgrep /usr/bin/zless /usr/bin/zmore /usr/bin/znew Ben Beuchler wrote: >Gentoo, by default, compresses any documetation installed by a program. Or so >it appears, anyway. Viewing these files transparently is pretty easy. First, >create a script like this: > >---------- >#!/bin/sh > >case "$1" in > *.gz) gunzip -c $1 2>/dev/null > ;; >esac >---------- > >And put it somewhere easily accessible, like /usr/local/bin/lesspipe.sh. > >Now do this: > >export LESSOPEN="|/usr/local/bin/lesspipe.sh %s" > >You'll probably want to stick that in /etc/profile or something. Now if you >try to use less top open a .gz file, it will work transparently. > >-Ben >