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

Diff for /OpenXM/src/kan96xx/Doc/ox.sm1 between version 1.43 and 1.44

version 1.43, 2004/09/17 07:27:28 version 1.44, 2004/09/17 11:05:56
Line 1 
Line 1 
 %%%%%%%%%%%  $OpenXM: OpenXM/src/kan96xx/Doc/ox.sm1,v 1.42 2004/09/10 13:20:22 takayama Exp $  %%%%%%%%%%%  $OpenXM: OpenXM/src/kan96xx/Doc/ox.sm1,v 1.43 2004/09/17 07:27:28 takayama Exp $
   
 /ox.sm1.myname (ox-new.sm1) def  /ox.sm1.myname (ox-new.sm1) def
   
Line 360  ox.verbose { oxhelp } {  } ifelse
Line 360  ox.verbose { oxhelp } {  } ifelse
  /arg1 set   /arg1 set
  [/in-launch_nox /pass /peer /data /control /name /machine   [/in-launch_nox /pass /peer /data /control /name /machine
   /your-peer /comm /remoteOpenXMbin /remoteServer /myhost    /your-peer /comm /remoteOpenXMbin /remoteServer /myhost
   /argNumber /aaa    /argNumber /aaa  /myssh
  ] pushVariables   ] pushVariables
  [   [
    /aaa arg1 def     /aaa arg1 def
Line 370  ox.verbose { oxhelp } {  } ifelse
Line 370  ox.verbose { oxhelp } {  } ifelse
      aaa 1 get ox_launch_localhost /your-peer set       aaa 1 get ox_launch_localhost /your-peer set
      /LLL.end goto       /LLL.end goto
    } {     } {
      /remoteOpenXMbin aaa 1 get def       /remoteServer aaa 1 get def
      /remoteServer aaa 2 get def       /name aaa 2 get def
      /name aaa 3 get def       /myhost aaa 3 get def
      /myhost aaa 4 get def  
    } ifelse     } ifelse
   
      /myssh [(which) (ssh)] oxshell def
      myssh tag 0 eq {
        (ssh is not found.) error
      } { } ifelse
    /pass ox_encrypt_104_genPass def     /pass ox_encrypt_104_genPass def
    /peer [(oxGetPort) myhost] extension def     /peer [(oxGetPort) myhost] extension def
    /data peer 1 get toString def     /data peer 1 get toString def
    /control peer 3 get toString def     /control peer 3 get toString def
    peer message     peer message
  [(ssh -f ) machine ( -l ) name ( ")     peer 0 get -1 eq {
        (Error in oxGetPort) error
    @@@.ox_launch_nox {     } { } ifelse
    } {   [myssh ( -f ) machine ( -l ) name ( )
      remoteOpenXMbin(/oxlog )      [
      ( /usr/X11R6/bin/xterm -icon -e )       (ox100start ) % it must be on a path of the remote host
    } ifelse       @@@.quiet { ( -quiet ) } {  } ifelse
        Xm_noX { ( -nox ) } { } ifelse
   ( ) remoteOpenXMbin (/ox )       ( -oxserver ) remoteServer ( -e )
   ( -reverse -ox ) remoteServer       ( -reverse )
   ( -host ) myhost       ( -data ) data ( -control ) control   pass [1 2] get
   ( -data ) data ( -control ) control   pass [1 2] get      ] cat
   oxpath.null  
   ( ")  
  ] cat /comm set   ] cat /comm set
  (Executing the command : ) messagen comm message message   (Executing the command : ) messagen comm message
   comm system    comm execve 0 lt {
  (sleep 5) system-csh      (Fork exec failed) error
     } { } ifelse
  [(oxCreateClient2) peer 1 pass 0 get] extension /your-peer set   [(oxCreateClient2) peer 1 pass 0 get] extension /your-peer set
  /LLL.end   /LLL.end
  /arg1 your-peer def   /arg1 your-peer def
Line 408  ox.verbose { oxhelp } {  } ifelse
Line 410  ox.verbose { oxhelp } {  } ifelse
 } def  } def
   
 [(ox_launch)  [(ox_launch)
 [( [remote remote-OpenXM-bin remote-ox-server remote-login-name myhostname] )  [( [remote remote-ox-server remote-login-name myhostname] )
  (  ox_launch  client )   (  ox_launch  client )
  $or $   $or $
  $ [(localhost) ox-server-name] ox_launch client$   $ [(localhost) ox-server-name] ox_launch client$
  (Example 1: )   (Example 1: )
  $ [(tau.math.kobe-u.ac.jp) (/home/taka/OpenXM/bin) $   $ [(tau.math.kobe-u.ac.jp) $
  $  (/home/taka/OpenXM/src/ox_math/ox_math) (taka) (dc4.math.kobe-u.ac.jp) $   $  (bin/ox_math) (taka) (dc4.math.kobe-u.ac.jp) $
  $ ] ox_launch /@@@.oxmath set $   $ ] ox_launch /@@@.oxmath set $
 ]] putUsages  ]] putUsages
   
 [(ox_launch_nox)  [(ox_launch_nox)
 [( [remote remote-OpenXM-bin remote-ox-server remote-login-name myhostname] )  [( [remote remote-ox-server remote-login-name myhostname] )
  (  ox_launch_nox  client )   (  ox_launch_nox  client )
  (Example 1: )   (Example 1: )
  $ [(tau.math.kobe-u.ac.jp) (/home/taka/OpenXM/bin) $   $ [(tau.math.kobe-u.ac.jp) $
  $  (/home/taka/OpenXM/src/ox_math/ox_math) (taka) (dc4.math.kobe-u.ac.jp) $   $  (bin/ox_math) (taka) (dc4.math.kobe-u.ac.jp) $
  $ ] ox_launch_nox /@@@.oxmath set $   $ ] ox_launch_nox /@@@.oxmath set $
 ]] putUsages  ]] putUsages
   
Line 438  ox.verbose { oxhelp } {  } ifelse
Line 440  ox.verbose { oxhelp } {  } ifelse
     /data peer 1 get toString def      /data peer 1 get toString def
     /control peer 3 get toString def      /control peer 3 get toString def
     peer message      peer message
     [oxpath.oxlog.xterm  oxpath.ox ( -reverse -ox ) oxserver      [
        oxstart100
        @@@.quiet { ( -quiet ) } {  } ifelse
        Xm_noX { ( -nox ) } { } ifelse
        ( -oxserver ) oxserver ( -e )
        ( -reverse )
      ( -data ) data ( -control ) control   pass [1 2] get       ( -data ) data ( -control ) control   pass [1 2] get
       oxpath.null      ] cat execve
      ( &)] cat system-csh  
     [(oxCreateClient2) peer 0 pass 0 get] extension /my-peer set      [(oxCreateClient2) peer 0 pass 0 get] extension /my-peer set
                          %% 0 means connect from only localhost.                           %% 0 means connect from only localhost.
     /arg1 my-peer def      /arg1 my-peer def

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

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