X

Help Articles are product support tips and information straight from the NV5 Geospatial Technical Support team developed to help you use our products to their fullest potential.



11670 Rate this article:
3.0

How to start an IDL Command Line session from an already open terminal window on Mac OS X?

QUESTION:

How to start an IDL Command Line session from an already open terminal window (as opposed to double clicking on the "IDLCommandLine" icon provided with the IDL installation) on Mac OS X?


ANSWER:

A) Instructions to manually set up a (Apple or XQuartz/X11) terminal window session to run an IDL Command Line session.

  1) From a Bash shell, issue the following commands:

    source /Applications/exelis/idl84/bin/idl_setup.bash
    idl


  2) From a C-shell:

    source /Applications/exelis/idl84/bin/idl_setup
    idl


----------------------
B) Instructions to configure your terminal session to simply accept the command "idl" without first having to explicitly run the IDL setup script like above.

The following instructions will add a new line to an existing file, ".bash_profile", ".cshrc", etc., or create a new file of that name in your home directory if it doesn't already exist.

After issuing the appropriate command for correct terminal type and shell type from below, you should be able to launch an IDL Command Line session with the following command from a new terminal window:

    idl


  1) For Apple Terminal:

    a) For a Bash shell, issue the following command:

    Issue the following command at the terminal window prompt:

      echo "source /Applications/exelis/idl84/bin/idl_setup.bash" >> ~/.bash_profile


    b) For a C shell (csh):

    Issue the following command at the terminal window prompt:

      echo "source /Applications/exelis/idl84/bin/idl_setup" >> ~/.cshrc


  2) For XQuartz/X11 Terminal:

    a) For a Bash shell, issue the following command:

    Issue the following command at the terminal window prompt:

      echo "source /Applications/exelis/idl84/bin/idl_setup.bash" >> ~/.bashrc


    b) For a C shell (csh):

    Issue the following command at the terminal window prompt:

      echo "source /Applications/exelis/idl84/bin/idl_setup" >> ~/.cshrc

 

Created JU 19-may-2015; kk reviewed 

Please login or register to post comments.
Featured

End-of-Life Policy Enforcement for ENVI 5.3 / IDL 8.5 and Earlier Versions

5/6/2024

April 1, 2024 Dear ENVI/IDL Customer,  We are reaching out to notify you of our supported... more »

How to Upgrade licenses to ENVI 6.x / IDL 9.x

12/5/2023

What is the new Upgrade function? Starting with ENVI 6.0 and IDL 9.0, we have implemented an... more »

What to do if the 'License Administrator - License Server' for the Next-Generation License Server does not start?

6/13/2023

Background: With the release of ENVI 5.7 & IDL 8.9 and the corresponding Next-Generation licensing... more »

Next-Generation Licensing FAQ

4/28/2023

  NV5 Geospatial has adopted a new licensing technology for all future releases of our ENVI, IDL... more »

The IDL Virtual Machine

6/6/2013

What is the IDL Virtual Machine? An IDL Virtual Machine is a runtime version of IDL that can... more »