1xpaset(1)                     SAORD Documentation                    xpaset(1)
2
3
4

NAME

6       xpaset: send data to one or more XPA servers
7

SYNOPSIS

9       <data> ⎪ xpaset  [-h] [-i nsinet] [-m method] [-n] [-p] [-s] [-t
10       sval,lval] [-u users] [-v] <template⎪host:port> [paramlist]
11

OPTIONS

13         -h            print help message
14         -i            access XPA point on different machine (override XPA_NSINET)
15         -m            override XPA_METHOD environment variable
16         -n            don't wait for the status message after server completes
17         -p            don't read (or send) buf data from stdin
18         -s            enter server mode
19         -t [s,l]      set short and long timeouts (override XPA_[SHORT,LONG]_TIMEOUT)
20         -u [users]    XPA points can be from specified users (override XPA_NSUSERS)
21         -v            verify message to stdout
22         --version     display version and exit
23

DESCRIPTION

25       Data read from stdin will be sent to access points matching the tem‐
26       plate or host:port.  A set of qualifying parameters can be appended.
27
28       Normally, xpaset reads data input from stdin until EOF and sends those
29       data to the XPA target, along with parameters entered on the command
30       line. For example to send a FITS file to the ds9 image display:
31
32         cat foo.fits ⎪ xpaset ds9 fits
33
34       Sometimes, however, it is desirable to send only parameters to an XPA
35       access point, without sending data. For such cases, use the -p switch
36       to indicate that there is no data being send to stdin. For example, to
37       change the colormap used by the ds9 image display program, use:
38
39         csh> xpaset -p ds9 cmap Heat
40
41       Of course, this also can be accomplished by sending EOF to stdin in any
42       of the usual ways:
43
44         csh> echo "" ⎪ xpaset ds9 cmap Heat
45         csh> xpaget ds9 cmap Heat < /dev/null
46         csh> xpaset ds9 cmap Heat
47         ^D                    # Ctl-D signals EOF
48
49       The -s switch puts xpaset into server mode, in which commands and data
50       can be sent to access points without having to run xpaset multiple
51       times.  (Its not clear if this buys you much!) The syntax for sending
52       commands in server mode is:
53
54         csh> xpaset -s
55         xpaset ds9 colormap I8
56         ^D
57         xpaset ds9 regions
58         circle 200 300 40
59         circle 300 400 50
60         ^D
61       etc.
62
63       After the  required "xpaset" command is specified, optional ASCII data
64       can be appended (as in the region example).  A single data/command set
65       is delimited by ^D. Note that typing ^D when a command is expected ter‐
66       minates the program.
67
68       NB: server mode only works from the terminal and only ASCII data can be
69       sent in this way.
70
71       Examples:
72
73         csh> xpaset ds9 file < foo.fits
74         csh> echo "stop" ⎪ xpaset myhost:12345
75

SEE ALSO

77       See xpa(n) for a list of XPA help pages
78
79
80
81version 2.1.8                  November 1, 2007                      xpaset(1)
Impressum