hello there, if these are in text format you could use zless or zmore.
Paul


On Thu, 4 Feb 1999, Shao Zhang wrote:


Hi,
        This might be an ideal solution for you..

  2.2.  Script to view those compressed HOWTOs. Didier Juges,
  [EMAIL PROTECTED]

  From a newbie to another, here is a short script that eases looking
  for and viewing howto documents.  My howto's are in
  /usr/doc/faq/howto/ and are gzipped. The file names are XXX-HOWTO.gz,
  XXX being the subject.  I created the following script called "howto"
  in the /usr/local/sbin directory:


______________________________________________________________________
       #!/bin/sh
       if [ "$1" = "" ]; then
           ls /usr/doc/faq/howto | less
       else
           gunzip -c /usr/doc/faq/howto/$1-HOWTO.gz | less
       fi

______________________________________________________________________

  When called without argument, it displays a directory of the available
  howto's. Then when entered with the first part of the file name
  (before the hyphen) as an argument, it unzips (keeping the original
  intact) then displays the document.

  For instance, to view the Serial-HOWTO.gz document, enter:

  $ howto Serial



On Tue, 2 Feb 1999, Johann Spies wrote:

> On Mon, 1 Feb 1999, Martin Waller wrote:
> 
> > Use TkDesk (requires X...) and double click on them.  They will be 
> > automatically opened up and displayed in a window for you.
> > 
> > 
> > Martin
> > 
> > >
> > >Is there a tool for reading the oodles of documentation in /usr/doc, or 
> > do
> > >I just have to go in there, gunzip, and more?
> 
> You can use emacs or xemacs configured to read .gz files or use lynx, mc
> or filerunner.
> 
> Johann
>  --------------------------------------------------------------------------
> | Johann Spies                                 Windsorlaan 19              |
> | [EMAIL PROTECTED]                3201 Pietermaritzburg             |
> | Tel/Faks Nr. +27 331-46-1310                       Suid-Afrika (South 
> Africa)  |
>  --------------------------------------------------------------------------
> 
>      "Love not the world, neither the things that are in the
>       world. If any man love the world, the love of the 
>       Father is not in him...And the world passeth away, and
>       the lust thereof; but he that doeth the will of God 
>       abideth for ever."             I John 2:15,17 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 


-- 
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to