EnglishFrenchSpanish

OnWorks favicon

xpaset - Online in the Cloud

Run xpaset in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command xpaset that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


xpaset - send data to one or more XPA servers

SYNOPSIS


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

OPTIONS


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

DESCRIPTION


Data read from stdin will be sent to access points matching the template or host:port. A
set of qualifying parameters can be appended.

Normally, xpaset reads data input from stdin until EOF and sends those data to the XPA
target, along with parameters entered on the command line. For example to send a FITS file
to the ds9 image display:

cat foo.fits | xpaset ds9 fits

Sometimes, however, it is desirable to send only parameters to an XPA access point,
without sending data. For such cases, use the \-p switch to indicate that there is no data
being send to stdin. For example, to change the colormap used by the ds9 image display
program, use:

csh> xpaset \-p ds9 cmap Heat

Of course, this also can be accomplished by sending EOF to stdin in any of the usual ways:

csh> echo "" | xpaset ds9 cmap Heat
csh> xpaget ds9 cmap Heat < /dev/null
csh> xpaset ds9 cmap Heat
^D # Ctl\-D signals EOF

The \-s switch puts xpaset into server mode, in which commands and data can be sent to
access points without having to run xpaset multiple times. (Its not clear if this buys
you much!) The syntax for sending commands in server mode is:

csh> xpaset \-s
xpaset ds9 colormap I8
^D
xpaset ds9 regions
circle 200 300 40
circle 300 400 50
^D
etc.

After the required "xpaset" command is specified, optional ASCII data can be appended (as
in the region example). A single data/command set is delimited by ^D. Note that typing ^D
when a command is expected terminates the program.

NB: server mode only works from the terminal and only ASCII data can be sent in this way.

Examples -

csh> xpaset ds9 file < foo.fits
csh> echo "stop" | xpaset myhost:12345

Use xpaset online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 2
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 3
    gMKVExtractGUI
    gMKVExtractGUI
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 4
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 5
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 6
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • More »

Linux commands

Ad