Let me see if I understand the question right. The modulecmd will load the basic env for the specific shell you wish to use. For example
modulecmd bash load this sets the base to start from. Users of the tool will then create project specific modulefiles which contain environment needs such as PATH, LD_LIBRARY_PATH, ENV_VAR1, ENV_VAR2, etc, etc. Everyone on the project could then load the appropriate environment easily with: modulecmd bash project_modulefile load When changes are needed to the environment the project_modulefile is changed in one location for all members of the project to use and everyone is up to date with the changes. regards Bruce On Aug 21, 2009, at 2:47 PM, Roland Mainz wrote: > John Fischer wrote: >> >> PSARC, >> >> I am sponsoring this project for Bruce Rothermal who will be >> integrating >> this project via the SFW consolidation. I have set the timer for >> Friday, >> August 28th. The case directory contains this proposal, FOSS check >> list, >> and appropriate man pages. >> >> This project proposes to integrate the Environment Modules within a >> Minor release of Solaris (i.e., Open Solaris). The environment >> modules >> provides an easy modification to a user's environment via TCL >> scripts. >> These scripts set various environmental variables such as PATH, >> MANPATH, >> etc. > [snip] >> 4. Technical Description: >> >> The environment modules package provides for an easy dynamic >> modification of a user's environment via modulefiles. which >> typically instruct the module command to alter or set shell >> environment variables such as PATH, MANPATH, etc. > > How does this work ? AFAIK the shells have no API which allow another > process to just write or override the values of shell-internal > values ? > Or is it expected that existing commands in /usr/bin/ are replaced > with > the "module" wrapper and then select a matching binariy from { > /usr/gnu/bin/, /usr/oldsystemvcmd/bin/, /usr/bsd/bin/ etc. } ? > > ---- > > Bye, > Roland > > -- > __ . . __ > (o.\ \/ /.o) roland.mainz at nrubsig.org > \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer > /O /==\ O\ TEL +49 641 3992797 > (;O/ \/ \O;) -------------- next part -------------- Bruce Rothermal Email: bruce.rothermal at sun.com Skype: bruce.rothermal Google Talk: bruce.rothermal at gmail.com