On Fri, Mar 13, 2009 at 12:45:50PM +0100, Raphael Hertzog wrote:
> Package: man-db
> Version: 2.5.4-2
> Severity: normal
>
> I wanted to lookup dh(1) so typed "man dh" and I ended in dh(3ssl).
>
> I didn't change the man configuration:
> $ man --location dh
> /usr/share/man/fr/man3/dh.3SSL.gz
> $ man --all --location dh
> /usr/share/man/fr/man3/dh.3SSL.gz
> /usr/share/man/man1/dh.1.gz
> $ echo $MANSECT
>
> $ grep SECTION /etc/manpath.config
> # the default is 1, n, l, 8, 3, 2, 5, 4, 9, 6, 7. Multiple SECTION
> SECTION 1 n l 8 3 2 3posix 3pm 3perl 5 4 9 6 7
>
>
> At first glance, it looks like the section scan is done inside each language
> instead of globally. manpages-fr-extra is the package providing dh(3ssl).
Hmm. This is a very difficult tradeoff to make. Right now, man
intentionally does this:
/* Try comparing based on language. Assuming we've got the right
* name, then it's better to display a page in the user's preferred
* language than a page from a better section.
*/
Are you saying that it would in fact be better to display a manual page
in a language that man doesn't know the user will be able to read? I
find it difficult to decide which is the better direction to jump here.
--
Colin Watson [[email protected]]
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]