>[...] >> That is great for components that ship as part of >> OpenSolaris, but >> third parties haven't really bought into the >> share/man idea. I was >> initially going down the route that OpenSolaris has >> symbolic links >> pointing man to share/man. Perhaps the thing to do >> is use share/man >> if it exists, else man. > >That's pretty much what I did for my own version of this; >all the pathnames of commands that I knew had man pages in >/usr/[share]/man ( /usr/bin, /sbin, /usr/sbin, /usr/ucb) were >mapped to /usr/share/man; all others used a derived name >(with share/man tried first, then just man). May take a bit more >tweaking to get it as good as possible, but it pretty much works.
Of course, depending on whether /usr/ucb is in your $PATH first, you also need to juggle with some of the MANEXT stuff (1b before 1, and such) Not that /usr/ucb in $PATH is something you should do. (Hm, let's merge the two ps'es and the whole /usr/ucb thing becomes mostly moot anyway. Casper _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
