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

Diff for /OpenXM/src/kan96xx/Doc/httpd-sm1.sm1 between version 1.5 and 1.7

version 1.5, 2001/08/12 07:54:47 version 1.7, 2001/08/21 14:21:29
Line 1 
Line 1 
 %% $OpenXM: OpenXM/src/kan96xx/Doc/httpd-sm1.sm1,v 1.4 2001/08/12 07:20:37 takayama Exp $  %% $OpenXM: OpenXM/src/kan96xx/Doc/httpd-sm1.sm1,v 1.6 2001/08/21 14:12:45 takayama Exp $
 %% http server by sm1  %% http server by sm1
 %% Note to run on the Windows (TM).  %% Note to run on the Windows (TM).
 %% (A) You need to set IE (internet explorer) as follows:  %% (A) You need to set IE (internet explorer) as follows:
Line 23 
Line 23 
  ] cat   ] cat
 def  def
   
 [(getenv) (OSTYPE)] extension  [(ostype)] extension 0 get
 tag 0 eq {  (windows) eq {
     %% Native windows environment or cygwin.
   [(parse) (ox-win.sm1) pushfile] extension    [(parse) (ox-win.sm1) pushfile] extension
 }{  }{
   [(getenv) (OSTYPE)] extension    [(parse) (ox.sm1) pushfile] extension
   (cygwin) eq {  
     [(parse) (ox-win.sm1) pushfile] extension  
   }{  
     [(parse) (ox.sm1) pushfile] extension  
   } ifelse  
 } ifelse  } ifelse
   
 (ox_sm1.started) boundp {  (ox_sm1.started) boundp {
 } {  } {
   %% Initialize ox_sm1    %% Initialize ox_sm1
   [(getenv) (OSTYPE)] extension    [(ostype)] extension 0 get
   tag 0 eq {    (windows) eq {
      sm1connectr_win  %% Assume that it is native Windows.      [(getenv) (OSTYPE)] extension
       (cygwin) eq {
         sm1connectr      %% Cygwin
       }{
         sm1connectr_win  %% Native Windows.
       } ifelse
   }{    }{
      sm1connectr      %% cygwin or unix.       sm1connectr      %% Unix
   } ifelse    } ifelse
   ox.ccc oxmathcap    ox.ccc oxmathcap
   ox.ccc oxsetmathcap    ox.ccc oxsetmathcap
Line 60  tag 0 eq {
Line 61  tag 0 eq {
 %  [(sleep 3; start iexplore http://localhost:)  %  [(sleep 3; start iexplore http://localhost:)
 %    httpd.port toString  %    httpd.port toString
 %   ( &)] cat system  %   ( &)] cat system
    [(forkExec)     [(ostype)] extension 0 get
     [     (windows) eq {
       (c:/windows/command/start)       %% On windows.
       (iexplore)   %% Starting internet explorer (TM).        [(forkExec)
       [(http://localhost:) httpd.port toString] cat         [
     ]           (c:/windows/command/start)
     [  ]           (iexplore)   %% Starting internet explorer (TM).
    3] extension           [(http://localhost:) httpd.port toString] cat
          ]
          [  ]
         3] extension
      }{
         %% On unix.
         [(sleep 3 ; netscape http://localhost:) httpd.port toString ( & ) ] cat
         system
      } ifelse
    httpd ;     httpd ;
   ] pop    ] pop
   popVariables    popVariables

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.7

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