BAIT: tx command

NAME

tx - transmit a message to the telescope/instrument server.

SYNOPSIS

tx [node] [port=] [verbose] [timestamp] msg ...

DESCRIPTION

tx transmits all the arguments in the command line to the telescope/instrument server. The program then awaits the reply, and sends it to stdout. If a message beginning with the word `ERROR' is received it still passed to stdout, without setting the exit status.

The command tx help will list the available services.

node= specifies then name (or ip address) of the machine to connect to. The default value is the present machine.

port= specifies the socket port to use. The default value is 0x1340.

Examples

tx point ra=12:34:34 dec=33:33:56 epoch=2000 sends a message to the server at port 0x1340 on the local machine and asks it to point the telescope.

tx node=mambo port=x01341 help asks the server on node mambo responding to port 0x1341 what services are available.

SEE ALSO

BAIT protocol, tserver.


Revised August 31, 2000