Next: About this document ... Up: The Modules System Previous: Personal Environment Settings
Finally
That's really all there is. Look at the personal module as well as the various system modules to see how to write a module. The module command will allow you to include modules, remove them, list which you're using, etc. You can freely add or remove modules from your shell resource file. You can move between different shells, and the modules will work in the same way. The one thing to be careful of is not overwriting settings that previous modules have made. That is, by the time you load your personal module, you have already loaded several modules which may have made additions to your path. So, in your personal module, it is not a good idea to reset your path, but to instead append to it (see the sample personal module for an explanation of this).
By typing module help in a shell, you get a list of all module commands you can invoke. Some of these are initadd (to add a module to your startups), initremove (to remove the module from your startups), list (to list all the modules you're using), help <module name> (to get help on some module) and display to view what some particular module is adding to your environment.
For further help, you can man both module(1) and modulefile(4). module explains the module system in more depth than does this document, and modulefile talks about the syntax for module files. Also, at http://www.modules.org there is a more in-depth description of the modules system. Finally, you can mail the Meta-TA with any questions that you have about the system.
Next: About this document ... Up: The Modules System Previous: Personal Environment Settings Seth Proctor
1998-09-08