From aswNS@hampFri Jul  5 09:21:54 1996
Date: Fri, 19 Apr 1996 13:48:52 -0400 (EDT)
From: Albert S Woodhull <aswNS@hamp>
Reply to: awoodhull@hampshire.edu
To: Glen Overby <glen@winternet.com>
Subject: A Minix FAQ entry

Hello Glen, 

This is about the Minix 1.5 man page, but I think the current FAQ needs to
cover the topic, since there are so many new users of MacMinix out there
and they are getting the new style man pages from various sources. 

 Al
---------------------------------------------------------------------
Q: How do I use man pages for Minix 1.6 or higher with Minix 1.5?

A: The man pages generally available on the net are collections of small
files, one topic per file, as are used by versions of Minix from 1.6 on,
and by most Unix-like systems. Earlier versions of Minix used a different
format, in which all the man "pages" in a section are concatenated in a
single large file. This makes it possible to create an index and to see a
menu of available choices in response to the man command with no
arguments. However, users of Minix 1.5 who get newers man pages from the
net need to know how the concatenated files are made. 

There isn't any documentation on the format of Minix 1.5 man files except
what is inherent in the Minix 1.5 man.c source.  The man files consist of
keyword lines that begin with a "#" in the first column, followed by lines
of text to be displayed when one of the keywords in the preceding keyword
line is selected from the keyword menu or as an argument to the man
command.  The keyword lines are not displayed, but all lines of text up to
but not including the next keyword line will be displayed. New articles
may be added to a man file by concatenation, but if a keyword appears more
than once only the last reference will be displayed. 

In use, the Minix 1.5.10 man command expects to find files man<n> in
the directory/usr/man. The command format is 
	man [<arg1> [arg2]]

If the command is given with no arguments a menu of the keywords in man1
is presented.

If the commmand is given with one argument, if the argument is a <n> suffix
of a man<n> file in /usr/man a menu of the keywords in man<n> is presented.

If the commmand is given with one argument, if the argument is not a <n>
suffix of a man<n> file in /usr/man a search is made for an article with a 
keyword corresponding to arg1 in man1.

If the command is given with two arguments the first argument is used to select
a file man<arg1> and the second argument is the keyword to search for.

Articles can be paged through using the Enter key.  Presentation of an
article may be interrupted by the Delete or Q keys.  When in menu mode
the menu will be presented each time an article is complete. The 
Delete or Q keys will exit from the menu back to the command line
prompt.  Under some circumstances the Delete key will not work, but the
Q key will continue to function. 
-------------


