ox_launch()invokes a process to execute command on a host host and enables Asir to communicate with that process. If the number of arguments is 3, `ox_launch' in dir is invoked on host. Then `ox_launch' invokes command. If host is equal to 0, all the commands are invoked on the same machine as the Asir is running. If no arguments are specified, host, dir and command are regarded as 0, the value of
get_rootdir()and `ox_asir' in the same directory respectively.
ox_launch()invokes `xterm' to display standard outputs from command. If
X11is not available or one wants to invoke servers without `xterm', use
ox_launch_nox(), where the outputs of command are redirected to `/dev/null'. If the environment variable
DISPLAYis not set,
Abe the host on which Asir is running, and
Bthe host on which the peer process will run.
Ato the `~/.rhosts' of the host
B. That is, you should be allowed to access the host
Awithout supplying a password.
Xis also used, let
Xserverauthorize the relevant hosts. Adding the hosts can be done by command
ASIR_RSHis set, the content of this variable is used as a promgram to invoke remote servers instead of rsh. For example,
% setenv ASIR_RSH "ssh -f -X -A "implies that remote servers are invoked by `ssh' and that X11 forwarding is enabled. See the manual of `ssh' for the detail.
limit stacksize 16mfor an example.
X, it uses the string specified for display; if the specification is omitted, it uses the value set for the environment variable
ox_shutdown()terminates OpenXM servers whose identifier is id.
pscommand on the remote hosts to see if such processed are alive.
/* iconify on start */ ox_xterm*iconic:on /* activate the scroll bar */ ox_xterm*scrollBar:on /* 1000 lines can be shown by the scrollbar */ ox_xterm*saveLines:1000
 ox_launch(); 0  ox_rpc(0,"fctr",x^10-y^10); 0  ox_pop_local(0); [[1,1],[x^4+y*x^3+y^2*x^2+y^3*x+y^4,1], [x^4-y*x^3+y^2*x^2-y^3*x+y^4,1],[x-y,1],[x+y,1]]  ox_shutdown(0); 0
Go to the first, previous, next, last section, table of contents.