ox_launch
, ox_launch_nox
, ox_shutdown
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.
get_rootdir()
.
ox_launch()
invokes `xterm' to display
standard outputs from command.
If X11
is 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 DISPLAY
is not set,
ox_launch()
and ox_launch_nox()
behave identically.
A
be the host on which Asir is running, and
B
the host on which the peer process will run.
A
to the `~/.rhosts' of
the host B
.
That is, you should be allowed to access the host B
from A
without supplying a password.
X
is also used,
let Xserver
authorize the relevant hosts.
Adding the hosts can be done by command xhost
.
ASIR_RSH
is 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 16m
for an example.
X
,
it uses the string specified for display;
if the specification is omitted, it uses the value set for the
environment variable DISPLAY
.
ox_shutdown()
terminates OpenXM servers whose identifier
is id.
ps
command 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
[219] ox_launch(); 0 [220] ox_rpc(0,"fctr",x^10-y^10); 0 [221] 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]] [222] ox_shutdown(0); 0
ox_rpc
, ox_cmo_rpc
, ox_execute_string
,
section ox_pop_cmo
, ox_pop_local
,
section ifplot
, conplot
, plot
, plotover
Go to the first, previous, next, last section, table of contents.