| It runs, comes up fine but never finds a manpage.
| Manpages are under /usr/man/man[1-8] and /usr/an/cat[1-8].
I think I figures it out. It seems that half my manpages are only available
under cat? (ie. they came pre-nroffed and without nroff source).
man (and TkMan etc) first look in man/man? for a page. They only look in
the cat? directory if they previously found it in man?. Right?
So what do i have to do to make it see all cat? entries? link them all over
to man?, or create dummy entries in man?
Is there a general rule for this?
Mathias
You shouldn't pontificate out of ignorance. TkMan does recognize the .gz
extension out of the box.
(mat...@solomon.technet.sg) wrote:
: I think I figures it out. It seems that half my manpages are only available
: under cat? (ie. they came pre-nroffed and without nroff source).
;
: man (and TkMan etc) first look in man/man? for a page. They only look in
: the cat? directory if they previously found it in man?. Right?
:
: So what do i have to do to make it see all cat? entries? link them all over
: to man?, or create dummy entries in man?
Wrong. If you took half a second to read the Makefile you would have seen the
following lines:
mandir = man
# if you have only formatted man pages, uncomment the following line
#mandir = cat
# if you have some formatted pages without unformatted counterparts,
# uncomment the following line
#mandir = {{man,cat}}
RTFM,
-Tom
--
phe...@cs.Berkeley.EDU
> I think I figures it out. It seems that half my manpages are only available
> under cat? (ie. they came pre-nroffed and without nroff source).
> man (and TkMan etc) first look in man/man? for a page. They only look in
> the cat? directory if they previously found it in man?. Right?
> So what do i have to do to make it see all cat? entries? link them all over
> to man?, or create dummy entries in man?
On my Unix box (HP) the rule seems to be:
If it is in the cat directory but not in the man directory,
the one from the cat directory is printed.
If it is the man directory but not in the cat directory,
it is nroff'ed into the cat directory and then printed.
It it is in both directories and the cat entry is newer, the
cat entry is printed, if the man entry is newer, the cat entry is
created newly and printed.
(To make it more complicated, there are also cat.Z and man.Z directories
for compressed versions, to which the same rules apply).
You must not link man entries to cat entries or vice versa,
because man entries are nroff INPUT and cat entries are nroff OUTPUT
files.
--
Dr. Hubert Partl Mail: pa...@mail.boku.ac.at
EDV-Zentrum, Universitaet fuer Bodenkultur Phone: (+43 1) 36 92 924 - 233
Nussdorfer Laende 11 Fax: (+43 1) 36 92 924 - 200
A-1190 Wien, Austria (-: Make laugh, not war! :-)