[BACK]Return to oxmath.sm1 CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / Doc

Annotation of OpenXM/src/kan96xx/Doc/oxmath.sm1, Revision 1.1

1.1     ! takayama    1: %  oxmath.sm1  : An interface to Open Mathematica Server. (ox_math)
        !             2: %  $OpenXM$
        !             3: %% This package requires ox.sm1
        !             4: [(parse) (ox.sm1) pushfile] extension
        !             5: %%%%%%%%%%%%%  Configure path for ox and ox_math on your remote machine.
        !             6: /oxpath.oxlog.xterm-ssh  (/home/taka/OpenXM/bin/oxlog /usr/X11R6/bin/xterm -icon -e ) def
        !             7: /oxpath.oxmath-ssh (/home/taka/OpenXM/src/ox_math/ox_math) def
        !             8: /oxpath.ox-ssh    (/home/taka/OpenXM/bin/ox) def
        !             9: /myhostname-ssh   (dc1.math.kobe-u.ac.jp) def
        !            10:
        !            11: /oxmathconnectr-ssh {
        !            12:  /arg1 set
        !            13:  [/in-oxmathconnectr /pass /peer /data /control /name /machine
        !            14:   /your-peer /comm
        !            15:  ] pushVariables
        !            16:  [
        !            17:  /machine arg1 0 get def
        !            18:  /name arg1 1 get def
        !            19:
        !            20:  /pass [(oxGenPass)] extension def
        !            21:  /peer [(oxGetPort) myhostname-ssh] extension def
        !            22:  /data peer 1 get toString def
        !            23:  /control peer 3 get toString def
        !            24:  peer message
        !            25:  [(ssh -f ) machine ( -l ) name ( ")
        !            26:   oxpath.oxlog.xterm-ssh  oxpath.ox-ssh ( -reverse -ox ) oxpath.oxmath-ssh
        !            27:   ( -host ) myhostname-ssh
        !            28:   ( -data ) data ( -control ) control  ( -pass ) pass
        !            29:   oxpath.null
        !            30:   ( ")
        !            31:  ] cat /comm set
        !            32:  (Executing the command : ) messagen comm message message
        !            33:   comm system
        !            34:  (sleep 5) system
        !            35:  [(oxCreateClient2) peer 1 pass] extension /your-peer set
        !            36: %% /@@@.oxmath your-peer def
        !            37: %% (ox_math is set to @@@.oxmath) message
        !            38:  /arg1 your-peer def
        !            39:  ] pop
        !            40:  popVariables
        !            41:  arg1
        !            42: } def
        !            43: [(oxmathconnectr-ssh)
        !            44: [([hostname login-name] oxmathconnectr-ssh client)
        !            45:  (Starting oxpath.oxmath-ssh by the launcher oxpath.ox-ssh on the "hostname".)
        !            46:  (Set the following varialbes at the beginning of oxmath.sm1 )
        !            47:  (to appropriate values:)
        !            48:  (oxpath.oxlog.xterm-ssh  oxpath.oxmath-ssh  oxpath.ox-ssh myhostname-ssh )
        !            49:  $Example 1: $
        !            50:  $  *** Path names on the remote machine tau.math.kobe-u.ac.jp $
        !            51:  $    /oxpath.oxlog.xterm-ssh (/home/taka/OpenXM/bin/oxlog /usr/X11R6/bin/xterm -icon -e ) def $
        !            52:  $    /oxpath.oxmath-ssh (/home/taka/OpenXM/src/ox_math/ox_math) def $
        !            53:  $    /oxpath.ox-ssh    (/home/taka/OpenXM/bin/ox) def $
        !            54:  $  *** The machine name on which you are running sm1. $
        !            55:  $    /myhostname-ssh   (dc1.math.kobe-u.ac.jp) def $
        !            56:  $         [(tau.math.kobe-u.ac.jp) (taka)] oxmathconnectr-ssh /@@@.oxmath set  $
        !            57: ]] putUsages
        !            58:
        !            59:
        !            60:

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