Setting MCPATH
You can set MCPATH in two ways:
- let the McIDAS-X start-up script set the value
- set MCPATH 's value before starting McIDAS-X
If you do not define MCPATH , the McIDAS-X start-up script sets MCPATH to the value below.
$HOME/mcidas/data:$HOME/mcidas/help:~mcidas/data:~mcidas/help
|
To change MCPATH 's value, exit McIDAS-X, set MCPATH to the new value, and restart McIDAS-X. If you use the Korn or Bourne shell, the Unix command to explicitly set MCPATH is similar to the example below.
export MCPATH;MCPATH=$HOME/data:$HOME/mcidas/data:~mcidas/data:~mcidas/help
|
To set this value of MCPATH each time you log on to your account, add the command above to your $HOME/.mcenv file and add the following line to your $HOME/.profile file.
When you start McIDAS-X, the temporary directory created, for example,$HOME/.mctmp/356052 , is appended to the MCPATH value, whether the McIDAS-X start-up script sets MCPATH or you set its value.