Previous Next        Current Page: NeXtMidas Training / Getting Started - Part 1 / NeXtMidas Shell / Modes of Operation
Start Here   
Background   
Common Midas Concepts   
Getting Started - Part 1   
   - NeXtMidas Shell   
      - nmstart   
      - nm   
      - nmend   
      - Modes of Operation   
   + Running NeXtMidas Commands   
   + Results Parameters   
   + Lab 1   
   + Getting Help   
   + Lab 2   
Getting Started - Part 2   
Working with Files   
Option Trees   
Macros - Part 1 (Basics)   
Macros - Part 2 (Graphics)   
NetBeans - Part 1 (Setup)   
NetBeans - Part 2 (GUIs)   
NetBeans - Part 3 (Profiler)   
Eclipse - Part 1 (Setup)   
Eclipse - Part 2 (GUIs)   
Primitives   
Applets & WebStart   
Maps & Imagery   
X-Midas Interoperability   
RMIF & Remoting   
Installing NeXtMidas   
Support & Maintenance   
File Handlers   


  • NeXtMidas provides several shell operating modes:
    Interactive
    The shell is explicitly started using nm, and commands are entered in response to the shell prompt.
    This uses a conventional, text-based command window for interaction.
    $ nm
    nM> 
    One-Shot
    A single command is run from the operating system prompt. A temporary shell is started to manage command execution.
    Usually used to launch a finished application.
    $ nm myapp
    <Runs the MYAPP application and exits.>
    $ 
    Applet
    NeXtMidas is run as an applet in a browser. (See the Applets & WebStart module for details.)
    WebStart
    NeXtMidas is launched via Java WebStart. (See the Applets & WebStart module for details.)
    Web Service
    NeXtMidas is run on a web server and acts as a web service.
    This is really a special case of One-Shot mode.
    "Independent" Mode
    Used when running NeXtMidas from an external script.
    Allows running NeXtMidas without nmstart and nmend.
    See nm -H for more details.
    $ ${JAVAHOME}/bin/java -classpath /home/smith/nxm212/tools/ NmClassLoader &
    > -INDEPENDENT "mymacro param1 param2"