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

Diff for /OpenXM/src/kan96xx/Doc/cgiasir.sm1 between version 1.2 and 1.6

version 1.2, 2005/02/25 11:30:58 version 1.6, 2018/12/12 01:08:50
Line 1 
Line 1 
 %$Id$  %$Id$
 %$OpenXM: OpenXM/src/kan96xx/Doc/cgiasir.sm1,v 1.1 2005/02/24 06:13:30 takayama Exp $  %$OpenXM: OpenXM/src/kan96xx/Doc/cgiasir.sm1,v 1.5 2013/02/15 05:39:45 takayama Exp $
 [(parse) (ox.sm1) pushfile] extension  [(parse) (ox.sm1) pushfile] extension
 [(parse) (cgi.sm1) pushfile] extension  [(parse) (cgi.sm1) pushfile] extension
   
Line 59 
Line 59 
 % CGI_ASIR_ALLOW is not used.  % CGI_ASIR_ALLOW is not used.
 /cgiAsirAllow  /cgiAsirAllow
   [    [
   %% They are required by the system
        (ox103_reset)
   %%%%%%%%%%%%%%%%%%%%%%%%%%
 %    (primadec)  %    (primadec)
 %    (fctr)  %    (fctr)
 %    (dp_gr_main)  %    (dp_gr_main)
Line 115  def
Line 118  def
 /cgiAsir.errorMessage  /cgiAsir.errorMessage
   [ (Content-Type: text/html) nl    [ (Content-Type: text/html) nl
     nl      nl
     (<html><body>) nl      (<html><meta http-equiv="Content-Type" name="viewport" content="text/html; charset=UTF-8; width=device-width"><body>) nl
     (Input <br> asir-command <br>  without semicolon. <br> <br>) nl      (Input <br> asir-command <br>  without semicolon. <br> <br>) nl
     (<pre> Example) nl      (<pre> Example) nl
     $primadec([x^3-1],[x])$ nl      $primadec([x^3-1],[x])$ nl
Line 127  def
Line 130  def
     $Execution CPU time limit is $      $Execution CPU time limit is $
     cgiasir.tlimit toString  (  seconds.) nl nl      cgiasir.tlimit toString  (  seconds.) nl nl
     (</pre>) nl      (</pre>) nl
       [(getenv)  (CGI_ASIR_MSG)] extension tag 0 eq not {
        [(getenv) (CGI_ASIR_MSG)] extension nl nl
       } {  } ifelse
     (<form method="POST">) nl      (<form method="POST">) nl
     (<input type=submit>) nl      (<input type=submit>) nl
     (<textarea name="oxMessageBody") nl      (<textarea name="oxMessageBody") nl
Line 137  def
Line 143  def
 def  def
   
 /cgiAsir.0 {  /cgiAsir.0 {
     cgiAsir.0a
     cgiAsir.0b
   } def
   
   /cgiAsir.0a {
   /arg1 set    /arg1 set
   [/sss /kv /comm /i /acti0 /pError] pushVariables    [/sss /kv /comm /i /acti0 /pError] pushVariables
   [    [
Line 162  def
Line 173  def
 % Step 3. Calling asir  % Step 3. Calling asir
     oxasir.ccc [ ] eq { ox_cgiAsirConnectMethod } { } ifelse      oxasir.ccc [ ] eq { ox_cgiAsirConnectMethod } { } ifelse
     oxasir.ccc cgi.body oxsubmit      oxasir.ccc cgi.body oxsubmit
     ] pop
     popVariables
   } def
   
   /cgiAsir.0b {
   % Step 4. Request the result
     oxasir.ccc oxpopstring /cgi_body set      oxasir.ccc oxpopstring /cgi_body set
     % set for cgiReplyInHttp0      % set for cgiReplyInHttp0
     /@@@stdout (NONE) def  /@@@stderr (NONE) def      /@@@stdout (NONE) def  /@@@stderr (NONE) def
     /cgi.body cgi_body def      /cgi.body cgi_body def
   ] pop  
   popVariables  
 } def  } def
   
 /cgi.test2 {  /cgi.test2 {

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.6

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