mings@geriatrix.cs.uoregon.edu (Ming Yau So) (04/10/91)
Please forgive me if this question seems trivial, because I have no experience with any version of Unix before 4.3bsd and System V, I can't figure out how this is done in Minix. I've some man page files (nroff file) and I want to install them into my man directory, so I can use the 'man' command to look them up. In BSD and System V, I can do this just by moving them into the proper subdirectories of /usr/man, then things are all set. But this method is no good with Minix. From the code in 'man.c', I've learned that all man pages of section N should be packed in a file 'manN' under /usr/man instead of just placing them into the subdirectory 'manN' of /usr/man. However, I cannot figure out the format of these 'manN' files and the tools use to create them by looking at the source of 'man'. I've tried to use 'ar' to pack the man pages, but obviously it was worng. So, could anyone out there please tell me how to install the man pages ? Thanks for any help. -- ___________________________________________________________________________ Ming Yau So | <<< This area >>> Internet: mings@cs.uoregon.edu | <<< intentionally >>> AOL: Ming So | <<< left blank >>>
barth%randyb.enet.dec.com@vm1.nodak.edu (Randy Barth) (04/10/91)
Having just gone through this discovery process myself.... Formatted man pages need to be appended to the appropriate manX file and must begin with a header line consisting of a sharp (#) followed by a comma delimited list of names the page is to be known by. When man(1) is run, it will create an index file of the form ._manX . Once this is done, all will proceed smoothly. Randy Barth