View previous topic :: View next topic |
Author |
Message |
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Tue May 13, 2003 5:18 pm Post subject: How do you read doc in gz format ?? |
|
|
Hi,
It's stupid for sure but my problem is : I installed afsdoc, documentation for openafs, and the only thing installed is *.gz files in /usr/share/doc. How do I read them ? I tried man, yelp, info...nothing worked...
Any ideas ?? _________________ "May God stands between you and harm in all the empty places where you must walk" - Babylon 5 |
|
Back to top |
|
|
Oopsz Guru
Joined: 08 Oct 2002 Posts: 340
|
Posted: Tue May 13, 2003 5:22 pm Post subject: |
|
|
zless textfile.gz
|
|
Back to top |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Tue May 13, 2003 5:35 pm Post subject: |
|
|
But it's not only one file, it's a complete structure, with directory, images, etc...
Code: | > ls
AdminGd QkBegin UserGd books.gif.gz index.gif.gz index.html.gz prev.gif.gz top.gif.gz
AdminRef RelNotes banner.gif.gz bot.gif.gz index.htm.gz next.gif.gz toc.gif.gz |
So i need some sort of browser for doc.... any other ideas ? _________________ "May God stands between you and harm in all the empty places where you must walk" - Babylon 5 |
|
Back to top |
|
|
popopo_ n00b
Joined: 15 Mar 2003 Posts: 21
|
Posted: Tue May 13, 2003 5:36 pm Post subject: |
|
|
Various programs have built-in support for .gz files.
Just try vi (vim, gvim, etc...), or less (no need for zless). I guess it works also for emacs.
edit : you can also gunzip *.gz of course |
|
Back to top |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Tue May 13, 2003 5:50 pm Post subject: |
|
|
There is directory and subdirectories... so I don't think this is the best way to do... besides, if the ebuild does not unpack help for such package and you cannot read without doing so, there is a serious logic problem here for the guy who wrote that ebuild... _________________ "May God stands between you and harm in all the empty places where you must walk" - Babylon 5 |
|
Back to top |
|
|
tlauder n00b
Joined: 24 Feb 2003 Posts: 10
|
Posted: Tue May 13, 2003 6:40 pm Post subject: |
|
|
Edited out as this wasn't the place to post it.
Try the --recursive option to gunzip
Last edited by tlauder on Tue May 13, 2003 8:01 pm; edited 2 times in total |
|
Back to top |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Tue May 13, 2003 7:17 pm Post subject: |
|
|
(no comment on the rant here)
afsdoc is pure documentation. So if you emerge it, you probably intend to read it.
you may be right for the space, but gunzip will not work on subdirectory so the method to unzip all the doc is not straighforward. Therefore, my point remains true. _________________ "May God stands between you and harm in all the empty places where you must walk" - Babylon 5 |
|
Back to top |
|
|
DefconAlpha Apprentice
Joined: 25 Feb 2003 Posts: 151 Location: Alabama
|
Posted: Tue May 13, 2003 7:18 pm Post subject: gunzip doc viewing |
|
|
Code: | gunzip -C /usr/share/doc/prog/file.gz | less |
or more, or redirect it to a file: whichever you like... _________________ In the end, the love you get is equal to the love you make
--John Lennon & Paul McCartney (The End - Abbey Road, |
|
Back to top |
|
|
|