>I had considered that as well. However, you advised[1] the use of >realpath. As an afterthought using realpath() also has the side >effect of making the output of man -l more user-friendly as well as >making error messages that complain about windex missing more >sensible.
Ah, that just depends on which of me read the email that day. But possibly more on the context. Canonizing for display purposes with realpath is certainly preferred. (But for duplicate detection, the single stat and the 2 integer compare is quicker and easier to implement) >Now we are trampling on man.cf, which does tend to exist. Yep :-) >This would involve possibly overriding the behavior configured by >man.cf. Since *Solaris ships with /usr/share/man/man.cf adding this >functionality only in the absence of man.cf would be pointless. >Overriding the behavior configured by man.cf just because MANPATH is >not set seems like a confusing configuration option. Yes. >When taking it to this granularity, there are other things to consider >at the same time. For instance, Should it also translate gnu info >pages into man pages and display them when appropriate? > >I think that this work sounds like good follow-on work. If others >feel strongly that /usr/ucb and/or gnu info handling belongs with this >and is unlikely to derail the ARC case I could look to lump it in. I don't think it's a requirement; it does not pass the test of "obvious and cheap" which such a requirement should pass, IMHO Casper _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
