Previous: Private Module Installation, Up: Module Installation
To install a module so that it is available to all Geomview users do the following
emodule-define
command for that module:
(emodule-define "New Module" "newmodule")
The first argument, "New Module"
above, is the string that will
appear in the Modules browser. The second string,
"newmodule"
above, is the Bourne shell command for invoking the module.
It may include arguments, and you may assume that the module is on the
$path searched by the shell.
After these steps, the new module should appear, in alphabetical position, in the Modules browser of Geomview's Main panel next time Geomview is run. The reason this works is that when Geomview is invoked it processes all the .geomview-* files in its modules directory. It also remembers the pathname of this directory and prepends that path to the $path of the shell in which it invokes such a module.