home *** CD-ROM | disk | FTP | other *** search
- README file for man v1.0 -- Last updated 7/12/89
-
- The following is my interpretation of the UNIX "man" command. Although
- it isn't very robust, it does handle some very useful cases which occur
- when trying to get stored manual pages, such as:
-
- [from the source]
-
- o You can "man" compressed manual pages
- o You don't have to know if the manual
- pages are unformatted (/usr/man/man?)
- or formatted (/usr/man/cat?).
- o You don't have to know what section
- the manual page is in (and it tells you
- which one)
- o You get automatic paging when you
- invoke man from a tty
-
-
- I didn't bother with a makefile since there is only one source file
- here. It compiles by:
-
- $ cc -O -o man man.c -ldirent -s
-
- Use whatever other favorite options you like. Install it in /usr/local/bin
- or /usr/lbin (whichever you use on your system). It does not require any
- s-bits to be set.
-
- IMPORTANT NOTE: As noted above, this requires that Doug Gwyn's "dirent"
- subroutine library be installed. I didn't include it with this distribution!
- If you require it, drop me a note. If I get enough notes, I'll repost the
- source.
-
- CONFIGURATION HINTS: In the source there are 3 "#define"s which define
- the pager, compressed file "cat" program, and the name of your nroff
- program. These should be defined however you like them, or undefined if
- you don't have them. There are two "#define"s which define where the
- manual pages are located -- in /usr/man/man? and /usr/man/cat? . Set
- these to the way your system is configured.
-
- One more bit of background-- as you might notice from some of the code,
- this program was a bit of a hack. I was tired of not having "man" work
- this way, so I hacked this up quickly. There were several individuals
- interested in the program, so I decided to post it. In any event, if
- you think it needs more functionality or should be modified to do a
- particular thing differently, don't complain to me about it. Make the
- change and send me the diffs so I can get some patches on the net and
- everyone can benefit!
-
- Also note that the code has only been tested and used on my UNIX-pc, but
- it seems that it should run under almost any Unix environment.
-
- Hope this is of use to lots of you.
-
-
- Gil Kloepfer, Jr. ICUS Software Systems
- ...!icus!limbic!gil
-