1829705 Members
2384 Online
109992 Solutions
New Discussion

gzip man pages

 
SOLVED
Go to solution
Kathy McGohan_1
Frequent Advisor

gzip man pages

I downloaded gzip version 1.2.4a so that I could zip files over 2 gig. It works great.
I then copied the man pages over to /usr/contrib/man/man1.Z since this is where the old gzip man pages were. Now when I try man gzip, it says,
"stdin: not in compressed format". How do I get the man pages to work? Thanks in advance.
6 REPLIES 6
Rick Garland
Honored Contributor

Re: gzip man pages

The .Z suffix is 'compress'. Files that are gzip typically end in *.gz.
Use the compress command instead of gzip
Kathy McGohan_1
Frequent Advisor

Re: gzip man pages

I had already done that and it did not work.
John Palmer
Honored Contributor
Solution

Re: gzip man pages

Hi Kathy,

I've downloaded and installed 1.2.4a and found that the man pages supplied are not compressed. If you've just overwritten the files in /usr/contrib/man/man1.Z then 'man' will expect them to be compressed.

You could simply compress them and it will work but a better solution would be to manipulate MANPATH such that /opt/gzip/man is before /usr/contrib/man.

Edit /etc/MANPATH accordingly and you will get the relevant /opt/gzip man pages.

Regards,
John
Denver Osborn
Honored Contributor

Re: gzip man pages

What does the output of the file command return?

# file /usr/contrib/man/man1.Z/gzip.1
Patrick Wallek
Honored Contributor

Re: gzip man pages

Have you tried running the catman command to make sure all you man pages are in sync?
Kathy McGohan_1
Frequent Advisor

Re: gzip man pages

I edited the man pages as suggested and it works great. Thanks for all the help and responses.