$heading = "Getting started: Preliminaries"; include ("../head"); ?> Firstly, you should create a directory in which to store your projects (normally called /hase).
There are currently two Unix versions of HASE, a Solaris version and a Linux version. To run either version a number of environment variables have to be set up at the start of each session. This is done for both versions by creating entries in a file called .brc in your top-level home directory (you may already have one) and, additionally for the Solaris version, in a file called .hase which you will need to create in your top-level home directory. The .hase file should contain the following:
export HASEDIR=/home/hase/simpp export HASEPRJDIR=/home/XXX/hase
where XXX is your user id, and hase is the name of the directory containing your projects.
You also need to set up aliasses for running HASE and pointers to some other HASE set-up files. To do this, add the following command lines to your .brc file:
export PATH=$PATH:. alias HaseL='/home/hase/Linux/Hase/Hase' export LINUXHASE=/home/hase/Linux/Hase alias HaseS='/home/hase/simpp/hase_new/' source /home/hase/libraries/setup
After these commands have been processed (automatically next time you log in, or by running "source ./.brc" if you are still in the session in which you editted the file) you can run HASE by simply typing the command "HaseS" to run the Solaris version or HaseL to run the Linux version.
If you are using a Linux machine, then to run the Solaris version you need to open a window on to a Solaris server to run HaseS. You also need to force Linux to run with an 8-bit colour bitmap by interrupting the Linux login sequence (using ^C) and then typing
xll -bpp 8
This will do strange things to the colours in other applications if you run them in the same session.