| Nico Kadel-Garcia 2006-06-18, 1:12 pm |
|
<ANTant@zimage.com> wrote in message
news:D8GdnUj9OP784AnZnZ2dnUVZ_vmdnZ2d@mm
internet.net...
>
Read the manual page on the "find" command. This sort of command should work
pretty well.
find /usr/share/man -type l -print
[vbcol=seagreen]
> $ du /usr/X11R6/
> 8 /usr/X11R6/include/X11/pixmaps
> 12 /usr/X11R6/include/X11
> 16 /usr/X11R6/include
> 8 /usr/X11R6/lib/X11/fonts/encodings/large
> 16 /usr/X11R6/lib/X11/fonts/encodings
> 4 /usr/X11R6/lib/X11/fonts/util
> 1892 /usr/X11R6/lib/X11/fonts/misc
> 76 /usr/X11R6/lib/X11/fonts/100dpi
> 76 /usr/X11R6/lib/X11/fonts/75dpi
> 20 /usr/X11R6/lib/X11/fonts/Speedo
> 20 /usr/X11R6/lib/X11/fonts/Type1
> 2112 /usr/X11R6/lib/X11/fonts
> 2116 /usr/X11R6/lib/X11
> 4 /usr/X11R6/lib/modules/drivers
> 4 /usr/X11R6/lib/modules/extensions
> 12 /usr/X11R6/lib/modules
> 2492 /usr/X11R6/lib
> 2512 /usr/X11R6/
>
>
>
> $ man Xau
> Reformatting Xau(3x), please wait...
> Xau(3)
> Xau(3)
>
> NAME
> Xau library: XauFileName, XauReadAuth, XauLockAuth,
> XauUnlockAuth, XauWriteAuth, XauDisposeAuth,
> XauGetAuthByAddr, XauGetBestAuthByAddr - X authority database
> routines
>
> SYNOPSIS
> #include <X11/Xauth.h>
> ...
>
>
> $ locate /Xau | grep man
> /usr/share/man/man3/Xau.3x.gz
> /usr/share/man/man3/XauDisposeAuth.3x.gz
> /usr/share/man/man3/XauFileName.3x.gz
> /usr/share/man/man3/XauGetAuthByAddr.3x.gz
> /usr/share/man/man3/XauGetBestAuthByAddr.3x.gz
> /usr/share/man/man3/XauLockAuth.3x.gz
> /usr/share/man/man3/XauReadAuth.3x.gz
> /usr/share/man/man3/XauUnlockAuth.3x.gz
> /usr/share/man/man3/XauWriteAuth.3x.gz
OK, we've got something to work with there. There's a way to write a man
page that is entirely the contents of another man page, so that
/usr/share/man/man3/XauGetBestAuthByAddr.3x.gz will provide what is
effectively a symlink to the Xau.3x manpage. Take a look at the
XauGetBestAuthByAddr.3x file and you'll see something like ".so
man3x/Xau.3x". The makewhatis command that generates the fast lookup table
for "man -k" commands is mis-handling it, and not realizing that it should
and refer to the contents of "man3x/Xau.3x.gz"
[vbcol=seagreen]
It looks like you found the actual bug and it's reported. I hope my
explanation helps a bit to understand it.
|