Tailor The NeXtMidas Environment

To tailor the shell startup environment, edit:

$NMROOT/nxm/sys/cfg/nmstartup.mm

As a result, any change made to this file applies to everyone who uses the NeXtMidas software.

To tailor the shell startup on a per-user basis, add nmstartup.mm to the user s home directory ($HOME). This will run after the system nmstartup.

For example, if the user wants the UCL option tree automatically added to the end of his path each time he starts NeXtMidas, then create (or add) the following line to his $HOME/nmstartup.mm:

startmacro
  ! add the UCL option tree to the front of the search path
  path add ucl
endmacro

Here is another example of a user's $HOME/nmstartup.mm:

startmacro

  ! use nedit as the default editor
  set env.editor "nedit"

  ! add the map option tree
  option map "/home/midas/nxmopt/map/"
  option openmap "/home/midas/nxmopt/map/jars/openmap.jar"
  path set map openmap dsp sys
endmacro