Previous Next        Current Page: NeXtMidas User's Guide / Installation and Customization / Tailor the NeXtMidas Environment
back
FAQs   
Release Information   
Getting Help   
Basic Concepts   
Result Parameters   
XML Support   
Files   
System Operation   
Macros   
WebStart Intro   
Graphics   
X-Midas Interoperability   
Third-Party Compatibility   
Installation and Customization   
   - System Installation   
   - Using OS Environment Variables   
   - Option Tree Configuration   
   + Adding New Commands   
   - Tailor the NeXtMidas Environment   
   - Compilation   
   - Compile Native Code on Windows   
Running NeXtMidas Independently   
Glossary   


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
  ! turn on stack tracing
  debug on trace
  
  ! 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

back