[BACK]Return to math2ox.texi CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_math / documents

Diff for /OpenXM/src/ox_math/documents/math2ox.texi between version 1.5 and 1.6

version 1.5, 2000/03/14 14:25:27 version 1.6, 2000/03/14 14:59:39
Line 1 
Line 1 
 %% $OpenXM: OpenXM/src/ox_math/documents/math2ox.texi,v 1.4 2000/03/14 05:46:09 ohara Exp $  %% $OpenXM: OpenXM/src/ox_math/documents/math2ox.texi,v 1.5 2000/03/14 14:25:27 ohara Exp $
   
 \input texinfo  \input texinfo
 @iftex  @iftex
Line 34 
Line 34 
 @node Top,, (dir), (dir)  @node Top,, (dir), (dir)
   
 @menu  @menu
   * Starting OX servers::
 * Mathematica Client Functions::  * Mathematica Client Functions::
 * Sample Programs::  * Sample Programs::
   * Example::
   * References::
 @end menu  @end menu
   
 @node Starting OX servers,,, Top  @node Starting OX servers,,, Top
   
 @chapter Starting OX servers  @chapter Starting OX servers
   
   @node Loading an OX Client on Mathematica,,, Starting OX servers
   @section Loading an OX Client on Mathematica
   
   The program @code{math2ox} is an external module for Mathematica
   to call OpenXM servers.
   The @code{math2ox} communicates with OpenXM servers by the OpenXM protocol
   and communicates with Mathematica by MathLink.
   
   @example
   In[1]:= Install["math2ox"]
   @end example
   
   We recommend loading a mathematica program @code{oxclient.m} instead of
   calling @code{Install[]} directly:
   @example
   In[1] := <<oxclient.m
   @end example
   
 @node Starting OX servers on the localhost,,, Starting OX servers  @node Starting OX servers on the localhost,,, Starting OX servers
 @section Starting OX servers on the localhost  @section Starting OX servers on the localhost
   
Line 70  String
Line 90  String
 @end itemize  @end itemize
   
 @example  @example
 In[1]:= Install["math2ox"]  In[1]:= pid = OxStart["ox_sm1"]
 In[2]:= pid = OxStart["ox_sm1"]  
 @end example  @end example
   
 In this example, @code{ox_sm1} is started on the local machine.  In this example, @code{ox_sm1} is started on the local machine.
   
   
   
   
 @node Starting OX servers on a remote machine,,, Top  @node Starting OX servers on a remote machine,,, Top
 @section Starting OX servers on a remote machine  @section Starting OX servers on a remote machine
   
Line 123  We note that the @code{OxStartRemoteSSH[]} is an exper
Line 139  We note that the @code{OxStartRemoteSSH[]} is an exper
 @end itemize  @end itemize
   
 @example  @example
 In[2]:= pid = OxStartRemoteSSH["ox_sm1", "remotehost"]  In[1]:= pid = OxStartRemoteSSH["ox_sm1", "remotehost"]
 @end example  @end example
   
 In this example, @code{ox_sm1} is started on the remote machine @code{remotehost}.  In this example, @code{ox_sm1} is started on the remote machine @code{remotehost}.
   
 @node Mathematica Client Functions,,, Top  @node Mathematica Client Functions,,, Top
   
 @chapter Mathematica Client Functions  @chapter Mathematica Client Functions
   
 The program @code{math2ox} is an external module for Mathematica  
 to call OpenXM servers.  
 The @code{math2ox} communicates with OpenXM servers by the OpenXM protocol  
 and communicates with Mathematica by MathLink.  
   
 @c  Description of OxStart  @c  Description of OxStart
 @menu  @menu
 * OxStart::  * OxStart::
Line 162  String
Line 172  String
 @end itemize  @end itemize
   
 @example  @example
 In[1]:= Install["math2ox"]  In[1]:= pid = OxStart["ox_sm1"]
 In[2]:= pid = OxStart["ox_sm1"]  
 @end example  @end example
   
 In this example, @code{ox_sm1} is started on the local machine.  In this example, @code{ox_sm1} is started on the local machine.
Line 391  We can send an OX message written in OX/CMO expression
Line 400  We can send an OX message written in OX/CMO expression
 In[4] := OxSendMessage[pid, "(CMO_LIST, (CMO_STRING, "hello world"), (CMO_ZERO))"]  In[4] := OxSendMessage[pid, "(CMO_LIST, (CMO_STRING, "hello world"), (CMO_ZERO))"]
 In[5] := OxSendMessage[pid, "(OX_COMMAND, (SM_popCMO))"]  In[5] := OxSendMessage[pid, "(OX_COMMAND, (SM_popCMO))"]
 @end example  @end example
 If the expression conains syntax errors, then nothing is sent.  If the expression contains syntax errors, then nothing is sent.
   
 Remarks: if @code{SM_popCMO} is sent by the @code{OxSendMessage[]} function, then the  Remarks: if @code{SM_popCMO} is sent by the @code{OxSendMessage[]} function, then the
 OX stack machine returns the top of the stack to the @code{math2ox}.  OX stack machine returns the top of the stack to the @code{math2ox}.

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>