catremote
takes some input from Unix shell environment variables and these variables can be used to
control its behaviour. Some of the variables are optional, but others are mandatory and must be set
before catremote
is invoked. The variables used are listed in Table 1 and described briefly
below.
Variable | Default | Description |
CATREM_URLREADER | Program to submit query | |
CATREM_CONFIG | URL of configuration file | |
CATREM_MAXOBJ | 1000 | Maximum number of objects in results table |
CATREM_ECHOURL | no | Echo URL sent to remote server? |
catremote
. The variables for which no
default is given are mandatory CATREM_URLREADER
catremote
uses a separate program to submit the URL constituting a
query to the server and return the table of results. The options available are described in
Section 9.
CATREM_CONFIG
CATREM_MAXOBJ
CATREM_ECHOURL
no
’; to see the URL set CATREM_ECHOURL
to ‘yes
’. Seeing
the URL is potentially useful when debugging configuration files and servers but is not usually
required for normal operation.
These environment variables are set up automatically when CURSA is started. However, if
catremote
is being used outside CURSA they need to be set up manually. Figure 1 shows an example
script for this purpose. On Starlink systems it is available as file:
catremote
environment variables