[BACK]Return to usage.txt CVS log [TXT][DIR] Up to [local] / OpenXM / src / OpenMath

File: [local] / OpenXM / src / OpenMath / usage.txt (download)

Revision 1.1, Wed Nov 3 07:20:16 1999 UTC (24 years, 6 months ago) by tam
Branch: MAIN

write (too) easy usage text

easy usage:

1, start OMproxy
	% cd ${OpenXM_HOME}/lib/java-support
	% java OMproxy

2, start sm1 and connect to OMproxy

=====sm1=====
sm1>macro package : dr.sm1,   9/26,1995 --- Version 9/8, 1999. 
sm1>macro package : module1.sm1, 1994 -- Nov 8, 1998
sm1>(ox.sm1) run ;  
ox.sm1, --- open sm1 protocol module 10/1,1999  (C) N.Takayama. oxhelp for help
sm1>[(localhost) 1300 1200] oxconnect /ox set ;
Trying to connect port 1200, ip=100007f
connected.

Control port 1200 : Connected.
Trying to connect port 1300, ip=100007f
connected.

Stream port 1300 : Connected.
Byte order for control process is network byte order.
Byte order for engine process is network byte order.
===== =====

3, send (CMO_ZZ,123)

=====sm1=====
sm1>ox (123).. oxsendcmo ::
%[null]
===== =====

4, trancerate CMO to OpenMath XML encoding

=====sm1=====
sm1>ox (CMO2OMXML) oxexec ::
%[null]
sm1>ox oxpopcmo ::
$<OMI>123</OMI>$
===== =====