On Tue, Sep 04, 2007 at 01:30:43PM -0700, Amit wrote:
> Hey guys,
>
> Recently started using OpenBSD (4.0) as my development server. I just
> installed dejagnu and one of the dependencies is TCL. At the end of
> pkg_add, this is the output
>
> *********
> sudo pkg_add -i dejagnu
> ...
> dejagnu-1.4.3p4: complete
> --- tcl-8.4.7p1 -------------------
> You may wish to add /usr/local/lib/tcl8.4/man to /etc/man.conf
> *********
>
> I tried editing man.conf and added the following lines,
>
> **********
> _whatdb /usr/local/lib/tcl8.4/man/whatis.db
>
> tcl /usr/local/lib/tcl8.4/man/
>
> 9F /usr/local/lib/tcl8.4/man/{man}9
> **********
>
> Now, I run the following command:
>
> **********
> $ man Tcl
> man: no entry for Tcl in the manual.
> $ man -f Tcl
> Tcl (n) - Tool Command Language
> **********
>
> Am I missing something?
>
you'll have to specify the section:
$ man -s tcl Tcl
that should pick it up, i think. if you add the tcl8.4 dir to "_default", you
will be able to omit -s.
failing that, check that there are pages where you think, and that it is
"Tcl" and not "tcl", or somesuch.
also see -M, -m, MANPATH, man(1), and man.conf(5).
jmc