I think it would be nice if there were a file in which packages could register the paths for their normal user (and administrative user) binaries, along with a description of the package or application. That would allow a script to be created that would offer various paths (traditional, xpg4, xpg6, etc) in the proper order as a starting point, with other directories usually coming after. Although if one were willing to run a command duplicate checker as part of adding entries to the file, it could perhaps advise of other alternative environments that one might want to put ahead of a more generic path in some cases.
It could then append the path setting chosen by the user (with the program's advice) to their .profile or .login file as appropriate (with some either hardcoded or configurable knowledge of which shells use what configuration files). Something like that, along with simply editing the defaults in /etc/skel, or setting suitable values in /etc/profile or /etc/.login, could provide the combination of initial defaults with an easy way for the user to customize their command set without having too much of a learning curve for your average clueless f^H^H^H^H^H^H^H^H^H^H, er, person. This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list [email protected]
