[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.44 and 1.46

version 1.44, 2004/09/17 11:05:56 version 1.46, 2006/01/26 08:42:33
Line 1 
Line 1 
 %%%%%%%%%%%  $OpenXM: OpenXM/src/kan96xx/Doc/ox.sm1,v 1.43 2004/09/17 07:27:28 takayama Exp $  %%%%%%%%%%%  $OpenXM: OpenXM/src/kan96xx/Doc/ox.sm1,v 1.45 2004/09/17 12:32:11 takayama Exp $
   
 /ox.sm1.myname (ox-new.sm1) def  /ox.sm1.myname (ox-new.sm1) def
   
Line 48  ox.version [(Version)] system_variable gt 
Line 48  ox.version [(Version)] system_variable gt 
   /@@@.Xm_noX Xm_noX def    /@@@.Xm_noX Xm_noX def
 }{  } ifelse  }{  } ifelse
 /Xm_noX @@@.Xm_noX def  /Xm_noX @@@.Xm_noX def
   /Xm_engineLogToStdout 0 def
   
 /oxNoX {  /oxNoX {
    /Xm_noX 1 def     /Xm_noX 1 def
Line 348  ox.verbose { oxhelp } {  } ifelse
Line 349  ox.verbose { oxhelp } {  } ifelse
   
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 /ox_launch_nox {  /ox_launch_nox {
   /@@@.ox_launch_nox  1 def    Xm_noX /ox_launch_nox.save set
     oxNoX
   ox_launch_aux    ox_launch_aux
     /Xm_noX ox_launch_nox.save def
 } def  } def
 /ox_launch {  /ox_launch {
   /@@@.ox_launch_nox  0 def  
   ox_launch_aux    ox_launch_aux
 } def  } def
   
Line 372  ox.verbose { oxhelp } {  } ifelse
Line 374  ox.verbose { oxhelp } {  } ifelse
    } {     } {
      /remoteServer aaa 1 get def       /remoteServer aaa 1 get def
      /name aaa 2 get def       /name aaa 2 get def
      /myhost aaa 3 get def  
    } ifelse     } ifelse
   
    /myssh [(which) (ssh)] oxshell def     /myssh [(which) (ssh)] oxshell def
    myssh tag 0 eq {     myssh tag 0 eq {
      (ssh is not found.) error       (ssh is not found.) error
    } { } ifelse     } { } ifelse
   
      [(gethostname)] extension /myhost set
   
    /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
Line 387  ox.verbose { oxhelp } {  } ifelse
Line 391  ox.verbose { oxhelp } {  } ifelse
    peer 0 get -1 eq {     peer 0 get -1 eq {
      (Error in oxGetPort) error       (Error in oxGetPort) error
    } { } ifelse     } { } ifelse
  [myssh ( -f ) machine ( -l ) name ( )   [myssh ( -X -f ) machine ( -l ) name ( )
     [      [
      (ox100start ) % it must be on a path of the remote host       (ox100start ) % it must be on a path of the remote host
      @@@.quiet { ( -quiet ) } {  } ifelse       @@@.quiet { ( -quiet ) } {  } ifelse
      Xm_noX { ( -nox ) } { } ifelse       Xm_noX { ( -nox ) } { } ifelse
      ( -oxserver ) remoteServer ( -e )       ( -oxserver ) remoteServer ( -e )
      ( -reverse )       ( -reverse )
        ( -host ) myhost
      ( -data ) data ( -control ) control   pass [1 2] get       ( -data ) data ( -control ) control   pass [1 2] get
     ] cat      ] cat
  ] cat /comm set   ] cat /comm set
Line 401  ox.verbose { oxhelp } {  } ifelse
Line 406  ox.verbose { oxhelp } {  } ifelse
   comm execve 0 lt {    comm execve 0 lt {
     (Fork exec failed) error      (Fork exec failed) error
   } { } ifelse    } { } ifelse
  [(oxCreateClient2) peer 1 pass 0 get] extension /your-peer set  % ipmask must be 1 to accept from a global address.
    [(oxCreateClient2) peer 1 , pass 0 get] extension /your-peer set
  /LLL.end   /LLL.end
  /arg1 your-peer def   /arg1 your-peer def
  ] pop   ] pop
Line 410  ox.verbose { oxhelp } {  } ifelse
Line 416  ox.verbose { oxhelp } {  } ifelse
 } def  } def
   
 [(ox_launch)  [(ox_launch)
 [( [remote remote-ox-server remote-login-name myhostname] )  [( [remote-machine remote-ox-server-name remote-login-name] )
  (  ox_launch  client )   (  ox_launch  client )
  $or $   $or $
  $ [(localhost) ox-server-name] ox_launch client$   $ [(localhost) ox-server-name] ox_launch client$
    (This command launches ox server via ssh.)
    (My hostname is set by the function gethostname.)
  (Example 1: )   (Example 1: )
  $ [(tau.math.kobe-u.ac.jp) $   $ [(orange2-clone) $
  $  (bin/ox_math) (taka) (dc4.math.kobe-u.ac.jp) $   $  (bin/ox_sm1) (taka)$
  $ ] ox_launch /@@@.oxmath set $   $ ] ox_launch /@@@.oxsm1 set $
 ]] putUsages  ]] putUsages
   
 [(ox_launch_nox)  [(ox_launch_nox)
 [( [remote remote-ox-server remote-login-name myhostname] )  [( [remote-machine remote-ox-server-name remote-login-name] )
  (  ox_launch_nox  client )   (  ox_launch_nox  client )
  (Example 1: )   (Example 1: )
  $ [(tau.math.kobe-u.ac.jp) $   $ [(tau.math.kobe-u.ac.jp) $
  $  (bin/ox_math) (taka) (dc4.math.kobe-u.ac.jp) $   $  (bin/ox_math) (taka) $
  $ ] ox_launch_nox /@@@.oxmath set $   $ ] ox_launch_nox /@@@.oxmath set $
 ]] putUsages  ]] putUsages
   
Line 677  ox.verbose { oxhelp } {  } ifelse
Line 685  ox.verbose { oxhelp } {  } ifelse
   oxstart100    oxstart100
   @@@.quiet { ( -quiet ) } {  } ifelse    @@@.quiet { ( -quiet ) } {  } ifelse
   Xm_noX { ( -nox ) } {  } ifelse    Xm_noX { ( -nox ) } {  } ifelse
     Xm_engineLogToStdout { ( -nox -engineLogToStdout ) } { } ifelse %bug.onlyForsm1
   ( -oxserver bin/ox_sm1 -e ) ( -reverse )    ( -oxserver bin/ox_sm1 -e ) ( -reverse )
   ( -data ) data ( -control ) control   pass [1 2] get    ( -data ) data ( -control ) control   pass [1 2] get
   ( )] cat execve    ( )] cat execve
Line 1721  oxasir.verbose {
Line 1730  oxasir.verbose {
   oxstart100    oxstart100
   @@@.quiet { ( -quiet ) } {  } ifelse    @@@.quiet { ( -quiet ) } {  } ifelse
   Xm_noX { ( -nox ) } {  } ifelse    Xm_noX { ( -nox ) } {  } ifelse
     Xm_engineLogToStdout { ( -nox -engineLogToStdout ) } { } ifelse %bug.onlyForasir
   ( -oxserver bin/ox_asir -e ) ( -reverse )    ( -oxserver bin/ox_asir -e ) ( -reverse )
   ( -data ) data ( -control ) control   pass [1 2] get    ( -data ) data ( -control ) control   pass [1 2] get
   ( )] cat execve    ( )] cat execve

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

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