=================================================================== RCS file: /home/cvs/OpenXM/src/kan96xx/Doc/ox-win.sm1,v retrieving revision 1.4 retrieving revision 1.5 diff -u -p -r1.4 -r1.5 --- OpenXM/src/kan96xx/Doc/ox-win.sm1 2001/08/10 08:33:03 1.4 +++ OpenXM/src/kan96xx/Doc/ox-win.sm1 2001/08/10 13:48:40 1.5 @@ -1,12 +1,18 @@ -%%%%%%%%%%% $OpenXM: OpenXM/src/kan96xx/Doc/ox-win.sm1,v 1.3 2001/08/09 13:05:49 takayama Exp $ +%%%%%%%%%%% $OpenXM: OpenXM/src/kan96xx/Doc/ox-win.sm1,v 1.4 2001/08/10 08:33:03 takayama Exp $ %%%%%%%%%%%% Configuration: Specify your server path %%%%% ox, ox_sm1, oxlog are contained in kxx.tgz %%%%% These should be under /usr/local/lib/sm1 or LOAD_SM1_PATH -[(getenv) (OPENXMHOMEWIN)] extension -/OpenXM_HOME_WIN set + +%% This variable is used in sm1connectr_win %% It should be set, for example, to c:/cygwin/home/nobuki/OpenXM %% See kan96xx/win/websm1.bat +[(getenv) (OPENXMHOMEWIN)] extension +/OpenXM_HOME_WIN set +%% This is used in asirconnectr_win +/OX_LAUNCH (c:\home\asir\bin\ox_launch.exe) def +%%%%%%%%%%%%%%% end configuration %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + /oxpath.ox (bin/ox.exe) def /oxpath.oxsm1 (bin/ox_sm1.exe) def /oxpath.oxlog (bin/oxlog.exe) def @@ -632,23 +638,32 @@ ox.verbose { popVariables } def -/asirconnectr { +/asirconnectr_win { [/in-sm1connectr /pass /peer /data /control ] pushVariables [ - /pass [(oxGenPass)] extension def + /pass [ ] cat def %% Do not use one time password. /peer [(oxGetPort) (localhost)] extension def /data peer 1 get toString def /control peer 3 get toString def peer message - [(start ox_launch ) ( 127.0.0.1 ) ( 0 ) - control ( ) data (ox_asir) ( 1 ) - oxpath.null - ( )] cat % system - control message data message - [(oxCreateClient2) peer 0 pass] extension /ox.ccc set + [control data] message + [(forkExec) + [OX_LAUNCH + (ox_launch) + (localhost) + (0) + control toString + data toString + (ox_asir) + (1) + ] + [ ] + 7 %% 1 1 1 + ] extension ; + [(oxCreateClient2) peer 0 pass] extension /oxasir.ccc set %% 0 means connect from only localhost. - (The server is binded to the variable ox.ccc) message - ox.ccc.init + (The server is binded to the variable oxasir.ccc) message + %% Initialization code for asir. ] pop popVariables } def