=================================================================== RCS file: /home/cvs/OpenXM/src/kan96xx/Doc/httpd-asir.sm1,v retrieving revision 1.19 retrieving revision 1.24 diff -u -p -r1.19 -r1.24 --- OpenXM/src/kan96xx/Doc/httpd-asir.sm1 2002/01/16 09:20:00 1.19 +++ OpenXM/src/kan96xx/Doc/httpd-asir.sm1 2002/10/24 02:30:15 1.24 @@ -1,4 +1,4 @@ -%% $OpenXM: OpenXM/src/kan96xx/Doc/httpd-asir.sm1,v 1.18 2002/01/13 06:57:43 takayama Exp $ +%% $OpenXM: OpenXM/src/kan96xx/Doc/httpd-asir.sm1,v 1.23 2002/10/24 02:12:34 takayama Exp $ %% http server by sm1 [(parse) (httpd.sm1) pushfile] extension pop @@ -43,7 +43,7 @@ def [(forkExec) [ %%(c:\windows\command\start) - (start) + ox.win.start.0 aload pop (iexplore) %% Starting internet explorer (TM). [(http://localhost:) httpd.port toString] cat ] @@ -70,9 +70,9 @@ def { [(sm1.socket) (select) [httpd.server.fd 0 get -1]] extension %% wait for ever - [(sm1.socket) (read) [httpd.server.fd 0 get ]] extension /ff set - ff length 0 eq { - (connection is closed.) message + [(sm1.socket) (readHTTP) [httpd.server.fd 0 get ]] extension /ff set + ff tag 0 eq { + (connection is closed.) message exit } { (------------ start ----------------------) message @@ -90,6 +90,7 @@ def ( ) message httpd.serial 0 eq { /httpd.com httpd.initialization def + /httpd.textarea.valid 1 def } { } ifelse httpd.sendFile tag 0 eq { } {