2 Running the Applications

Startup scripts are provided to define commands for running HDSTOOLS programs direct from the Unix shell or from ICL. The following instructions assume your site has been set up in the standard Starlink way.

To initialise the HDSTOOLS package for running from the Unix shell, type:

  % hdstools

This will source the file /star/bin/hdstools/hdstools.csh to set up aliases for the tools.

Similarly, to run from ICL, type:

  ICL> hdstools

This will ‘load’ the ICL script /star/bin/hdstools/hdstools.icl to ‘define’ the required commands.

In both cases you may also want to set up the environment variables AST_LIST_SPOOL, OLDFILE and/or NEWFILE (see HDSTOOLS Output Devices, Section 4).

In addition to the normal commands, hcopy, hcreateetc., commands with ‘hdt_’ replacing the initial ‘h’ (hdt_copy. hdt_create etc.) are defined to allow for the possibility of name conflict with other packages.