Geomview Manual - Private Module Installation

Go to the first, previous, next, last section, table of contents.

### Private Module Installation

The `emodule-define` command arranges for a module to appear in Geomview's Modules browser. `emodule-define` takes two string arguments; the first is the name that will appear in the Modules browser. The second is the shell command for running the module; it may include arguments. Geomview executes this command in a subshell when you click on the module's entry in the browser. For example

    (emodule-define "Foo" "/u/home/modules/foo -x")

adds a line labeled "Foo" to the Modules browser which causes the command "/u/home/modules/foo -x" to be executed when selected.

You may put `emodule-define` commands in your ``~/.geomview'` file to arrange for certain modules to be available every time you run Geomview; See section Customization: ``.geomview'` files. You can also execute `emodule-define` commands from the Commands panel to add a module to an already running copy of Geomview.

There are several other gcl commands for controlling the entries in the Modules browser; for details, See section gcl: the Geomview Command Language.

Go to the first, previous, next, last section, table of contents.