In order to use a Cheops system, several variables need to be defined in your environment, and the location of the Cheops host software must be added to your search path. There are two ways provided to do this, depending on whether or not you are using the Garden dotfiles.
You should also add yourself to the cheops-soft mailing list to receive relevant notices about changes to this setup.
If you are using the garden dotfiles system configuration, the basic instructions for setting up your Cheops compile-time and run-time system configuration are much simpler. Support for all standard login shells is supported, including csh, tcsh, sh, bash and ksh. The Cheops host configuration is simply a dotfile package that, when added to your configuration, automatically maintains path, environment variables and aliases.
Here is how to add the cheops package if using csh or tcsh :
Here is how to add the cheops package if using sh, bash or ksh :
In order to use Cheops, your C-shell environment must be set up correctly. This is very easy to do if you simply follow these instructions:
When programming host (referring to programs running on the host workstation's UNIX environment) and local (referring to programs running in Cheops local memory) code, your shell's environment variables are used in that program's Makefile (refer to Compiling Code for Cheops) to specify the desired compile-time and run-time configuration.. To set these parameters, edit the following environment variables in your ~/.cheops-env file:
Once these user-definable environment variables are set up properly, any code you compile or execute will automatically be configured to your system.
The above listed user definable variables let you define own system configuration is at the given moment for a given shell. For example, if your host workstation is using two Cheops systems, you may desire to use serial port 0 for serial communications in one terminal (xterm) and simultaneously use serial port 1 for communications to the other Cheops system.
To customize the environment variables for a given shell, simply type:
setenv <env var> <value>
renew
in the given C-shell. The renew command uses the current values of
the above variables to define the values of a family of other CHEOPS
environment variables that define compile-time and run-time system
configuration.
The renew command sets values of the following environment variables based on the current value of the user-definable variables described above:
The Cheops environment also includes several c-shell aliases for your convenience :