[BACK]Return to changelog-ja.tex CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / Doc

Annotation of OpenXM/src/kan96xx/Doc/changelog-ja.tex, Revision 1.37

1.37    ! takayama    1: % $OpenXM: OpenXM/src/kan96xx/Doc/changelog-ja.tex,v 1.36 2018/05/02 02:28:13 takayama Exp $
1.1       takayama    2: \documentclass{jarticle}
                      3: \title{ChangeLog \\ ---kan96xx, kxx, k097}
                      4: \author{Nobuki Takayama}
                      5: \date{}
1.37    ! takayama    6: \usepackage{url}
1.1       takayama    7: \begin{document}
                      8: \maketitle
                      9:
                     10:
                     11: %%OpenXM/doc/Papers/rims-2003-12* $B$K(B oxshell, polymake
                     12:
                     13: \section{2004-02, port $B2=(B}
                     14:
                     15: \begin{enumerate}
                     16: \item gmp $B$O%M%C%H%o!<%/$+$i%@%&%s%m!<%I$7$F%$%s%9%H!<%k$9$k$h$&$K$9$k(B.
                     17: {\tt OpenXM\_contrib} $B$O$D$+$o$J$$(B.
                     18: \item {\tt OpenXM/src/gmp/Makefile-ports} 1.1--1.5,
                     19: %%Mail/openxm-cvs.inbox 141
                     20: \end{enumerate}
                     21:
                     22: \section{2004-02,  memory leak}
                     23: \begin{enumerate}
                     24: \item {\tt misc-2003/A2/bs-poly/bs2-leak.sm1} $B<B9T;~$K%/%i%$%"%s%H9=B$BN(B
                     25: $B$,2u$l$k(B.  gmp 4.x $B$K$h$k%a%b%j%j!<%/$r5?$&$b(B, {\tt GC\_malloc} $B$r;H$&$Y$-$H$3$m$G(B
                     26: {\tt malloc} $B$rMQ$$$F$$$?$N$G%a%b%j$,GK2u$5$l$F$$$?$HH=L@(B.
                     27: {\tt malloc} $B$NCf$K%]%$%s%?$rF~$l$F$O$$$1$J$$(B.
                     28: \item {\tt OpenXM/src/kan96xx} $B0J2<$N3F%U%!%$%k(B.
                     29: {\tt Kan/kanExport1.c} 1.11,
                     30: {\tt Kan/poly3.c} 1.7,
                     31: {\tt Kan/shell.c} 1.11,
                     32: {\tt plugin/file2.c} 1.9 ($B860x(B),
                     33: {\tt plugin/oxKan0.h} 1.16,
                     34: {\tt plugin/sm1Socket.c} 1.16 ($B860x(B).
                     35: {\tt OpenXM/src/kxx/oxmain.c} 1.15.
                     36: %%Mail/openxm-cvs.inbox 164 2004-2-23
                     37: \end{enumerate}
                     38:
                     39: \section{2004-02, 03, ox\_texmacs}
                     40: \begin{enumerate}
                     41: \item sm1 $B$r4pAC$H$7$F(B ox\_texmacs $B$r:n$k(B.  {\tt -q} option $B$GM>7W$J(B
                     42: $B%a%C%;!<%8$rI8=`=PNO$X=P$5$J$$$h$&$K$9$k(B.  $B<!$N%U%!%$%k$rJQ99(B.
                     43: %%Mail/openxm-cvs.inbox 203, 204, 210, 213, 215, 220, 221, 222
                     44: \item {\tt OpenXM/src/util/ox\_pathfinder.c} 1.18--1.19,
                     45: {\tt OpenXM/src/util/ox\_pathfinder.h} 1.11,
                     46: {\tt OpenXM/src/kxx/ox100start.c} 1.6,
                     47: {\tt OpenXM/src/kan96xx/Doc/ox.sm1} 1.34--1.35,
                     48: {\tt OpenXM/src/kan96xx/Kan/ext.c} 1.23,
                     49: {\tt OpenXM/src/kan96xx/Kan/kanExport0.c} 1.21,
                     50: {\tt OpenXM/src/kan96xx/plugin/mytcpio.c} 1.14.
                     51: \item {\tt ox\_texmacs}.
                     52:  {\tt OpenXM/src/kxx} $B0J2<$N<!$N%U%!%$%k$rJQ99(B.
                     53: \item {\tt ox\_texmacs.c} 1.1--1.17,
                     54: {\tt sample\_kanlib.c} 1.1,
                     55: \item {\tt init-openxm.scm} $B$N:n@.(B ($B>.86(B).
                     56: \end{enumerate}
                     57:
                     58: \section{2004-03, ox $B5!G=$N6/2=(B}
                     59: \begin{enumerate}
                     60: \item option $B$D$-$N4X?t$h$S$@$7(B.
                     61: %%Mail/openxm-cvs.inbox 286, 288  $B$^$@=q$$$F$J$$(B
1.2       takayama   62: \end{enumerate}
                     63:
                     64: \section{2004-07, dhecart (2$B=EF1;~2=$K$h$k(B gb)}
                     65: \begin{enumerate}
                     66: \item h[0,1](D) $B$G$N%0%l%V%J(B fan $B$N7W;;$N$?$a$N=`Hw(B.
                     67: \item Doc/dhecart.sm1,  dh.gb
                     68: %%Mail/openxm-cvs.inbox ??
                     69: \end{enumerate}
                     70:
1.5       takayama   71: \section{2004-08-22, lcm, polylcm, gcd, polygcd, $B$=$NB>(B}
1.2       takayama   72: \begin{enumerate}
                     73: \item polylcm, polygcd $B$O(B ox $B$rMQ$$$k(B.
1.5       takayama   74: \item mpzext (lcm, gcd).  int32 $B$O(B universalNumber (mpz\_int) $B$X<+F0JQ49(B.
1.2       takayama   75: \item ox.sm1 $B$O5/F0$N;~$+$i(B load $B$9$Y$-$@$,$^$@$d$C$F$J$$(B.
1.3       takayama   76: %%Mail/openxm-cvs.inbox ??
1.5       takayama   77: \item \verb@[(exponents) ...] gbext @ $B$G(B exponents $B$r<h$j=P$;$k(B. $B;O$a$NHG$O(B 8 $B7n:"(B.
                     78: \item {\tt exponents} $B$N(Bformat $B$rJQ$($?(B. (9/5. cf.gfan.sm1, cone.sm1) \\
                     79: {\tt OpenXM/src/kan96xx/Kan/kanExport1.c} 1.16.
1.3       takayama   80: \end{enumerate}
                     81:
                     82: \section{2004-08-31, weight $B%Y%/%H%k$G(B univNum $B$r<u$1<h$k(B}
                     83: \begin{enumerate}
1.4       takayama   84: \item {\tt to\_int32}, {\tt Kto\_int32} $B$G(B univNum $B$r(B int32 $B$X(B.
                     85: \item {\tt to\_int} $B$O(B {\tt to\_univNum} $B$KF1CM(B. $B$I$A$i$+$rGQ;_$7$h$&(B.
1.3       takayama   86: \item $BFbIt4X?t$NJQ99(B: {\tt KordWsAll()}, {\tt KsetUpRing()}, {\tt oInitW()}
                     87: \item $B%^%/%m(B: {\tt ord\_w}, {\tt weight\_vector}, {\tt s\_weight\_vector},
                     88: {\tt w\_to\_vec}, {\tt ecart.weight\_vector}, {\tt ord\_ws\_all}
                     89: \item  $B%F%9%HJ}K!(B.  cvs-eventail/aux-cone.sm1 $B$N(B test7 $B$rMQ$$$k(B.
1.2       takayama   90: %%Mail/openxm-cvs.inbox ??
1.5       takayama   91: \end{enumerate}
                     92:
                     93: \section{2004-09-5, error $B$*$h$S(B ctrl-C $B$G%^%/%m$N8F$S=P$7MzNr$rI=<((B(trace)}
                     94: \begin{enumerate}
                     95: \item {\tt traceShowStack()} $B$r8F$S=P$9$H8F$S=P$7MzNr$,I=<($5$l$k(B.
                     96: $BMzNr$rJ8;zNs$GLa$9(B.
                     97: \item \verb@ ctrlC_hook @ $B$N<B9TCf$K%(%i!<$r$*$3$9$H(B, ox103\_reset $B$,(B
                     98: $B$h$P$l(B, $B$3$l$,L58B%k!<%W$r@8$`(B. $B$3$l$rKI;_(B.
                     99: \item {\tt executeToken} $B$9$kA0$K4X?t$NL>A0$r(B trace $BMQ$N%9%?%C%/(B
                    100: {\tt TraceNameStack} $B$X(B push.
                    101: $B<B9T$,$*$o$l$P(B pop $B$9$k$3$H$K$h$j(B, $BMzNrI=<($r%3%s%H%m!<%k(B.
                    102: \item extension $B$GMzNr$N%/%j%"(B, $B6/@)I=<($,$G$-$k(B.
                    103: \item ctrl-C $B$GMzNr$NI=<((B, $B%/%j%"$r$9$k(B. $B$3$l$O3F(B ox server $B$GBP=h$NI,MW$"$j(B.
                    104: \item
                    105: {\tt OpenXM/src/kan96xx/Kan/ext.c} 1.24 \\
                    106: {\tt OpenXM/src/kan96xx/Kan/kanExport0.c} 1.30 \\
                    107: {\tt OpenXM/src/kan96xx/Kan/stackmachine.c} 1.15--1.18  \\
                    108: {\tt OpenXM/src/kan96xx/Kan/usage.c} 1.30 \\
                    109: {\tt OpenXM/src/k097/ox\_k0.c} 1.6 \\
                    110: {\tt OpenXM/src/kxx/ox\_texmacs.c} 1.19 \\
                    111: {\tt OpenXM/src/kxx/oxserver00.c} 1.15 \\
                    112: {\tt OpenXM/src/kxx/sample\_kanlib.c} 1.2
                    113: \end{enumerate}
                    114:
                    115: \section{2004-09-05, EUC$BEy(B 8-bit $B$NL>A0$r<u$1IU$1$k(B}
                    116: \begin{enumerate}
                    117: \item hash $BCM$N7W;;J}K!$K%P%0$,$"$C$?(B. hash $B$NCM$OIi$G$O$$$1$J$$(B.
                    118: \item {\tt OpenXM/src/kan96xx/Kan/stackmachine.c} 1.17
                    119: \end{enumerate}
                    120:
                    121:
                    122: \section{2004-09-05, $B%0%l%V%J(Bfan$B$N7W;;(B}
                    123: \begin{enumerate}
                    124: \item polymake $B$,I,MW(B.  9/1, 9/2, 9/3, 9/4 $B$N%N!<%H$b;2>H(B.
                    125: \item OpenXM $B$N(B cvs $B$X$N(B commit $B$OBg$-$$6h@Z$j$G(B.
                    126:       $B:Y$+$$JQ99$O(B {\tt eventail/cone.sm1} $B$G(B.
                    127: \item {\tt OpenXM/src/kan96xx/Doc/gfan.sm1} 1.1
1.6       takayama  128: \end{enumerate}
                    129:
                    130: \section{2004-09-05, $B%0%l%V%J(Bfan$B$N7W;;(B}
                    131: \begin{enumerate}
                    132: \item polymake $B$,I,MW(B.  9/1, 9/2, 9/3, 9/4 $B$N%N!<%H$b;2>H(B.
1.36      takayama  133: @s/2004/08/21-note.pdf $B$KJQ?tEy$N@bL@$"$j(B.
1.6       takayama  134: \item OpenXM $B$N(B cvs $B$X$N(B commit $B$OBg$-$$6h@Z$j$G(B.
                    135:       $B:Y$+$$JQ99$O(B {\tt eventail/cone.sm1} $B$G(B.
                    136: \item {\tt OpenXM/src/kan96xx/Doc/gfan.sm1} 1.1
                    137: \end{enumerate}
                    138:
                    139: \section{2004-09-09, 11, list $B$N6/2=(B}
                    140: \begin{enumerate}
                    141: \item array $B$N(B {\tt join} $B$r9T$&$H%a%b%j$NL5$@;H$$$,$O$2$7$$(B.
                    142: list $B$N(B {\tt cons} $B$rF3F~(B.  rest $B$bF3F~(B. join $B$O;H$($k$,4m81(B.
                    143: \item
                    144: {\tt arrayToList}, {\tt listToArray} : $BJQ494X?t$r=`Hw(B.
                    145: \item {\tt get} $B$,%j%9%H$G$bF0$/$h$&$K(B.
                    146: \item {\tt Kan/dr.sm1} 1.35--1.36, 1.38 \\
                    147: {\tt Kan/extern.h} 1.24--1.25 \\
                    148: {\tt Kan/ext.c} 1.25 \\
                    149: {\tt Kan/kanExport0.c} 1.31--1.33 \\
                    150: {\tt Kan/list.c} 1.3--1.5 \\
                    151: {\tt Kan/primitive.c} 1.12 \\
                    152: {\tt Kan/smacro.sm1} 1.5 \\
                    153: {\tt Kan/usage.c} 1.32 \\
                    154: {\tt Kan/usage.sm1} 1.9
                    155: \end{enumerate}
                    156:
                    157: \section{2004-09-10, $B%3%s%^(B {\tt ,} $B$N07$$$NJQ99(B}
                    158: \begin{enumerate}
                    159: \item  $B%3%s%^(B {\tt ,} $B$O$$$^$^$G%^%/%m$G$"$C$?$,(B, $B6uGr$H$7$F07$&$h$&$KJQ99$9$k(B.
                    160: \item  $B%7%9%F%`$NJQ99$O0J2<$NDL$j(B. \\
                    161: {\tt Kan/scanner.c} 1.5--1.6 \\
                    162: {\tt Kan/scanner2.c} 1.4--1.5 \\
                    163: {\tt Kan/dr.sm1} 1.37 \\
                    164: {\tt Kan/smacro.sm1} 1.6
                    165: \item $B$=$NB>$O%i%$%V%i%jFbIt$G(B {\tt ,,} $B$r(B {\tt \_\_} $B$X(B,
                    166: {\tt ,,,} $B$r(B {\tt \_\_\_} $B$XJQ99$7$?(B.
1.7       takayama  167: \end{enumerate}
                    168:
                    169: \section{2004-09-11,12, infix operator $B$rF3F~(B}
                    170: \begin{enumerate}
                    171: \item {\tt getattr} $B$r2C$($?(B (step 1).
                    172: \item {\tt attr} $B$K(B {\tt ATTR\_INFIX} $BB0@-(B bit $B$rN)$F$F(B,
                    173: infix operator $B$H$9$k(B.
                    174: \item {\tt attr} $B$N(B PROTECT $BB0@-$r(B bit $B$G=hM}$9$k$h$&$KJQ99(B (step 2).
                    175: $B%F%9%H$O(B {\tt k0} $B$G(B
                    176: \begin{verbatim}
                    177: sm1(" [(getattr) /cons] extension :: ");
                    178: cons = 1;
                    179: \end{verbatim}
                    180: Warning $B$,I=<($5$l$k$+(B?
                    181: \item infix $BB0@-$,$"$k$H$-(B, {\tt getokenSM(GET)} $B$G<!$N(B token $B$rFI$_9~$_(B
                    182: $B$=$l$r(B {\tt executeToken} $B$7$F$+$i(B, infix $BB0@-$N$"$k%^%/%m$r<B9T$9$l$P(B
                    183: $B$$$$$+$H$$$&$H(B, $B$=$l$G$O(B top level  $B$N=hM}$7$+$G$-$J$$(B.
                    184: $B$?$H$($P(B, tokenArray $B$r=gHV$K=hM}$7$F$$$k$h$&$J>l9g$O$@$a(B.
                    185: $B$h$C$F(B, {\tt executeToken} $B$NLa$jCM$N(B status $B$NCM$r(B
                    186: $BMQ$$$k(B.  status $B$O(B {\tt loop} $B$+$i(B {\tt exit} $B$9$k$H$-$K$b;H$o$l$F$$$k(B
                    187: $B$N$G(B, status $B$NH=DjJ}K!$r8+D>$9I,MW$,$"$k(B.
1.8       takayama  188: \end{enumerate}
                    189:
                    190: \section{2004-09-13, $BItJ,E*$J(B ecart division}
                    191:
                    192: \noindent Debug $BMQ$N%G!<%?(B 1.
                    193: {\footnotesize \begin{verbatim}
                    194: [ [( (x Dx)^2 + (y Dy)^2 -1) ] (x,y)
                    195:   [ [ (Dx) 1 ] [(x) -1 (y) -1 (Dx) 1 (Dy) 1]]
                    196:   [(partialEcartGlobalVarX) [(x) (y)]] ] ecart.gb /ff set
                    197:
                    198: ff getRing ring_def show_ring
                    199:
                    200: \end{verbatim}
                    201: }
                    202:
                    203: \noindent Debug $BMQ$N%G!<%?(B 2.
                    204: {\footnotesize \begin{verbatim}
                    205: /ecart.checkOrder { 1 } def
                    206: [(DebugReductionEcart) 3] system_variable
                    207: [ [(1-x-y-z) (1-z)] (x,y,z)
                    208:   [ [(y) -1 (z) -1 (Dy) 1 (Dz) 1] [(x) 1 (Dx) 1]]
                    209:   [(partialEcartGlobalVarX) [(x)]] ] ecart.gb /ff set
                    210:
                    211: ff getRing ring_def show_ring
                    212:
                    213:  [ [(1-z) (-x+1-y-z)] (x,y,z)
                    214:   [ [(y) -1 (z) -1 (Dy) 1 (Dz) 1] [(x) 1 (Dx) 1]]
                    215:   [(partialEcartGlobalVarX) [(x)]] ] /std set
                    216: (1+x^3) std ecartd.reduction
                    217: (x*y*z) std ecartd.reduction
                    218: \end{verbatim}
                    219: }
                    220: GlobalVarX $B$NJQ?t$K$D$$$F$O(B local order $B$G$O$$$1$J$$(B.
                    221: $BL58B%k!<%W$H$J$k(B.
                    222: {\tt ecart.checkOrder} $B$b=q$-D>$5$J$$$H$$$1$J$$(B.
                    223:
                    224: \begin{enumerate}
                    225: \item \verb@ ringp->partialEcart @ $B$O(B int $B$NG[Ns(B
                    226: \verb@ ringp->partialEcartGlobalVarX @ $B$ND9$5(B.
                    227: $B$3$NG[Ns$K(B local $B$G$J$$JQ?t(B (first weight $B$,(B non-negative $B$J(B x $BJQ?t(B) $B$N%j%9%H$rF~$l$k(B.
                    228: {\tt ecartGetEllPartial()} $B$GMxMQ$5$l$k(B.
                    229: \item Todo: ring $B$N%a%s%P(B {\tt ringInInputForm} $B$N3hMQ(B. ( weight vector $B$d(B
                    230: input $B7A<0$N(B ring $B$r(B object $B$H$7$F3JG<(B.
                    231: \item Todo: {\tt KgetRingInfo} $B$r<BAu$9$k(B. index $B$+$i(B $BJQ?t(B, $BJQ?t$+$i(B index $BEy(B.
1.1       takayama  232: \end{enumerate}
                    233:
1.9       takayama  234: \section{2004-09, {\tt ATTR\_EXPORT} $B$H(B {\tt RestrictedMode}}
                    235:
                    236: \noindent
                    237: $B8=:_$N(B RestrictedMode $B$K$O0J2<$N@H<e@-$,$"$k(B (2004.9.19).
                    238: \begin{verbatim}
                    239: (cohom.sm1) run
                    240: [(or_attr) 8 /gb] extension
                    241: [(or_attr) 8 /;] extension ;
                    242: [(RestrictedMode) 1] system_variable ;
                    243: [ [{(hello) message } ] (x,y) ] gb ;
                    244: hello     <----  error $B$r5/$3$9A0$K(B {(hello) message} $B$,<B9T$5$l$F$7$^$&(B.
                    245: ERROR(sm):
                    246: << /name object def >>  or  << object /name set >>
                    247: \end{verbatim}
                    248: \noindent $B860x(B:
                    249: $B0z?t$K(B executableArray $B$rM?$($k$3$H$K$h$j(B, $BI>2A$,M^@)$5$l(B
                    250: {\tt ATTR\_EXPORT} bit $B$,%;%C%H$5$l$?4X?t$NI>2A$,$O$8$^$C$F$+$i(B
                    251: executableArray $B$,JQ?t(B {\tt arg1} $B$KBeF~$5$l(B, $B$=$NJQ?t$r(B scanner
                    252: $B$,I>2A$9$k$3$H$K$h$j(B, executableArray $B$,I>2A$5$l$k(B.
                    253:
                    254: \noindent $BBP:v(B:
                    255: {\tt isThereExecutableArrayOnStack(ob)} $B$G%9%?%C%/$r8!::$9$k$h$&$K$9$k(B.
                    256: \begin{verbatim}
                    257: (cohom.sm1) run
                    258: [(or_attr) 8 /gb] extension
                    259: [(or_attr) 8 /;] extension ;
                    260: 0 1 10 { pop pop } for
                    261: [(RestrictedMode) 1] system_variable ;
                    262: [ [{(hello) message } ] (x,y) ] gb ;
                    263: \end{verbatim}
                    264:
                    265: $B%F%9%H(B 2 ($B$3$A$i$O@5>o$KF0$/$O$:(B).
                    266: \begin{verbatim}
                    267: (ox.sm1) run
                    268: [(or_attr) 8 /fctr] extension
                    269: [(or_attr) 8 /pmat] extension ;
                    270: [(or_attr) 8 /;] extension ;
                    271: 0 1 10 { pop pop } for
                    272: [(RestrictedMode) 1] system_variable ;
                    273: [ (x^2-1) (x,y) ] fctr pmat ;
                    274: \end{verbatim}
1.10      takayama  275:
                    276: \section{2004-11-23, POST $B%Y!<%9$N(B cgiPolymake $BEy(B}
                    277:
                    278: \begin{enumerate}
                    279: \item
                    280: {\tt Kan/plugin/mytcpio.c} 1.15 \\
                    281: {\tt Kan/plugin/oxcgi.c} 1.7 \\
                    282: {\tt Kan/ext.c} 1.33 \\
                    283: {\tt Kan/Doc/cgi.sm1} 1.8--1.11 \\
                    284: {\tt polymake/cgi/cgi-polymake.sh} 1.3
                    285: \end{enumerate}
                    286:
                    287: GET $B$G$O<uEO$7$G$-$k%G!<%?$NNL$K@)8B$,$"$k$?$a(B,
                    288: POST $B%Y!<%9$KJQ99$7$?(B.
                    289: \begin{verbatim}
                    290: POST http://polymake.math.kobe-u.ac.jp/cgi-bin/cgi-asir.sh HTTP/0.9
                    291: Content-length: 20
                    292:
                    293: oxMessageBody=2-1%0A
                    294: \end{verbatim}
                    295:
                    296: POST $B$N%G!<%?$r$&$1$H$k$?$a(B,
                    297: \verb@ [(read) fd size] extension @
                    298: $B%7%9%F%`%3!<%k$r2C$($?(B.
                    299:
                    300: $B%7%9%F%`%3!<%k(B {\tt perror} $B$rMQ$$$F(B,
                    301: tcpip $B$N%(%i!<Ey$rI=<($9$k$h$&$K$7$?(B.
                    302: {\tt eventail/data/test32.sm1} $B$NESCf$N%(%i!<$O(B,
                    303: GET $B$G$O<uEO$7$G$-$k%G!<%?$NNL$K@)8B$,$"$k$?$a(B
                    304: $B5/$-$?$h$&$G$"$k$,(B, $BE,@Z$J%(%i!<%a%C%;!<%8$,$J$/$F(B
                    305: $B860x$N5fL@$K;~4V$,$+$+$C$?H?>J(B.
                    306:
                    307: {\tt misc-2004/11/cgi} $B$b;2>H$N$3$H(B.
                    308: Risa/Asir $B$N(B \verb@ set_secure_mode @ , \verb@ set_secure_flag @
                    309: $B$K$bBP1~Cf(B.
1.11      takayama  310:
                    311: \section{2004-12-16, gnuplot v4 $B$X$NBP1~(B.}
                    312:
                    313: \begin{enumerate}
                    314: \item 1.3-1.4     OpenXM/src/kan96xx/Doc/gnuplot.sm1
                    315: \item 1.11        OpenXM/src/kan96xx/plugin/file2.c
                    316: \item 1.6           OpenXM/src/kan96xx/plugin/file2.h
                    317: \item 1.6        OpenXM/src/kan96xx/plugin/file2.hh
                    318: \item 1.4          OpenXM/src/kan96xx/plugin/file2.sm1
                    319: \item 1.15        OpenXM/src/asir-contrib/packages/src/gnuplot
                    320: \end{enumerate}
                    321:
                    322: gnuplot $B$G(B mouse  $B$rMxMQ$G$-$k$h$&$K$7$?$$(B.
                    323: $B$=$N$?$a(B, gnuplot $B$r(B batch mode $B$G$J$/(B,
                    324: interactive mode $B$GMxMQ$G$-$k$h$&$K$7$?(B.
                    325: http://www.gnuplot.info $B$K$"$C$?(B, $B%5%s%W%k%W%m%0%i%`(B
                    326: {\tt gpReadMouseTest.c} ({\tt misc-2004/12/misc})
                    327: $B$r;29M$K(B mkfifo, popen $BEy$rMQ$$$F<BAu$7$?(B.
                    328: mkfifo, popen $BEy$N%7%9%F%`%3!<%k$O(B plugin-file2 $B$X2C$($?(B.
                    329:
                    330: sm1 $B$G$d$k%F%9%H$N<j=g$O0J2<$N$H$*$j(B.
                    331: \begin{verbatim}
                    332:  (gnuplot.sm1) run
                    333:  plotstart.aux
                    334:  (splot x**2-y**2;) gnuplot
                    335:  plotstop.aux
                    336: \end{verbatim}
                    337:
                    338: Windows, Debian package $B$N(B build $B$N%F%9%H$O$^$@(B.
                    339: ({\tt gnuplot4ox} $B$O(B {\tt gnuplot} $B$K(B. {\tt gnuplot\_x11} $B$O(B {\tt libexec}
                    340: $B$N2<$X(B install $B$5$l$k$?$a(B.)
1.12      takayama  341:
                    342: Bug: {\tt plot\_dots} $B$G(B, $B7W;;$7$J$,$iI=<($9$k$H$$$&J}K!$,$&$^$/$$$+$J$$(B.
                    343: $BBg$-$J%G!<%?$rEO$9$H$&$^$/F0$+$J$$(B. cf. {\tt heat()}.
                    344:
                    345: \section{2005-01-23, EUC$BEy(B 8-bit $B$NL>A0$r<u$1IU$1$k(B. bug fix}
                    346: \begin{enumerate}
                    347: \item scanner2 $B$N(B bug $B$K$h$j(B, $B%H%C%W%l%Y%k0J30$G$O(B 8 bit $B$NL>A0$r$&$1$D$1(B
                    348:     $B$J$+$C$?(B.
                    349: \item {\tt OpenXM/src/kan96xx/Kan/scanner2.c} 1.7
1.13      takayama  350: \end{enumerate}
                    351:
                    352: \section{2005-02-28, ox, bug fix}
                    353:
                    354: \begin{enumerate}
                    355: \item Engine $B$N$_$r(B quit  $B$9$k$H(B control server $B$,;D$k%P%0(B.
                    356: $B2r7h(B: oxmain.c $B$G(B  SIGCHLD $B$r<u$1<h$k$h$&$K$7$?(B.
                    357: \item Engine $B$r(B quit $B$7$F$7$^$C$?$"$H(B, Engine $B$G%G!<%?$r$*$/$m$&$H$9$k$H(B,
                    358: SIGPIPE $B$G(B $B%/%i%$%"%s%H$,=*N;$7$F$7$^$&%P%0(B.
                    359: \begin{verbatim}
                    360:   (ox.sm1) run
                    361:   sm1connectr
                    362:   oxsm1.ccc (quit) oxsubmit
                    363:   oxsm1.ccc oxpopcmo --> $B%/%i%$%"%s%H=*N;(B.
                    364: \end{verbatim}
                    365: $B$^$@40A4$K2r7h$7$F$J$$(B.
                    366: ox texmacs $B$,@5$7$/F0:n$9$k$N$+MW%F%9%H(B.
1.12      takayama  367: \end{enumerate}
1.14      takayama  368:
                    369: \section{2005-06-9, 16, attribute, options.}
                    370: \begin{enumerate}
                    371: \item  $BA4$F$N(B object $B$K(B attr (attribute field) $B$r$D$1$?(B.
                    372: $B8zN($K4X$9$kD4::$O(B {\tt misc-2005/06/gfan/test1.sm1} (taka).
                    373: $B;~4VE*8zN($K$D$$$F$O$"$^$jLdBj$J$$(B.
                    374: \item $B9=B$BN$N(B {\tt attr} $B%U%#!<%k%I$r=i4|2=$9$k$?$a(B {\tt OINIT} $B%^%/%m$r(B
                    375: $B2C$($?(B. {\tt stackm.h}
                    376: $B=i4|2=$,$J$$$H(B segfault $B$9$k>l9g$b(B.
                    377: \item {\tt @s/2005/06/16-note.pdf} (taka) $B$K3+H/%a%b$"$j(B.
                    378: \item {\tt attr} $B$r(B {\tt groebner}, {\tt gb} $BEy$G3hMQ$9$k(B.
                    379: \end{enumerate}
                    380:
                    381: $B%=!<%9$NJQ99$OB?4t$K$o$?$k$N$G0lIt$N$_5-$9(B.
                    382: \begin{enumerate}
                    383: \item {\tt OpenXM/src/kan96xx/Kan/dr.sm1} 1.49,  {\tt setAttribute} $BEy$N%^%/%m(B.
                    384: \item {\tt OpenXM/src/kan96xx/kan/gb.c} 1.10,11, {\tt groebner} $B$,(B attr $B$G(B gb $B$+$I$&$+$N>pJs$rLa$9(B.
                    385: \item {\tt OpenXM/src/kan96xx/Doc/hol.sm1} 1.23,  gb, pgb, gb\_h $B$,(B option $B$r(B attr $B$G<u$1<h$l$k$h$&$K$9$kJQ99(B.
                    386: \end{enumerate}
                    387:
                    388: $BNc(B:
                    389: {\footnotesize
                    390: \begin{verbatim}
                    391:   ob key getAttribute value
                    392:   Example: [(x-1) (y-1)] (gb) 1 setAttribute /ff set
                    393:            ff (gb) getAttribute ::
                    394:
                    395:   ob getAttributeList attr-obj
                    396:   Example: [(x-1) (y-1)] [(gb) 1] setAttributeList /ff set
                    397:            ff getAttributeList ::
                    398:
                    399:   sm1> [(x0,x1) ring_of_polynomials 0] define_ring
                    400:            [(x0^2+x1^2-h^2). (x0 x1 -4 h^2).] /ff set ;
                    401:   sm1>[ff [(gbCheck)]] groebner /gg set ;
                    402:    3.gbCheck failed.
                    403:   Note that the result is NOT groebner basis.
                    404:
                    405:   Completed.
                    406:   sm1>gg getAttributeList ::
                    407:   [    $gb$ , 0 ]
                    408:
                    409:
                    410:    [ [( (x Dx)^2 + (y Dy)^2 + 1) ( x y Dx Dy -1)] (x,y)
                    411:        [ [ (Dx) 1 ] ] ] [(gbCheck) 1] setAttributeList gb getAttributeList ::
                    412:
                    413:    [ [[(h+x) (x^3 + 2 h^3 + 2 x h^2)] [(x) (x)]] (x)]
                    414:               [(reduceOnly)] setAttributeList gb_h pmat
                    415:
                    416:
                    417: \end{verbatim}
                    418: }
1.15      takayama  419:
                    420: \section{2005-07-07, gfan.sm1}
                    421: \begin{enumerate}
                    422: \item  Collar-Kalkbrener-Moll $B$N%"%k%4%j%:%`$r<BAu$7$?(B.
                    423: \item {\tt getNextCone}, {\tt ckmFlip}
                    424: \item {\tt cone.ckmFlip} $B$,(B 1 $B$N;~(B CKM $B%"%k%4%j%:%`$rMQ$$$k(B.
                    425: \item  {\tt cone.DhH} $B$,(B 1 $B$N;~(B $\partial x = x \partial + hH$,
                    426: 0 $B$N;~(B $\partial x = x \partial + h^2$ $B$rA*Br(B.
                    427: {\tt cone.gb}, {\tt cone.reduction}, {\tt cone.gb\_gr}.
                    428: \item $B4XO"$9$k(B sm1 $BK\BN$NJQ99(B.
                    429: \item {\tt eventail/data/test35.sm1}, {\tt test36.sm1}.
                    430: \end{enumerate}
                    431:
                    432: \begin{enumerate}
                    433: \item {\tt OpenXM/src/kan96xx/Doc/gfan.sm1} 1.10, 1.11.
                    434: \end{enumerate}
1.9       takayama  435:
1.16      takayama  436: \section{2005-07-18, Error Message}
                    437: \begin{enumerate}
                    438: \item  $B%5!<%P$O%(%i!<$N0LCV$*$h$S%(%i!<$N0LCV$G$NFI$_9~$_%G!<%?$r(B
                    439: XML $B7A<0$GAw$k(B.
                    440: \begin{verbatim}
                    441:  (ox.sm1) run  sm1connectr
                    442:  oxsm1.ccc (1 shell) oxsubmit
                    443:  oxsm1.ccc oxpopcmo  ::
                    444: \end{verbatim}
                    445: \item {\tt scanner.c}, {\tt scanner2.c} $B$G(B {\tt ScannerBuf} $B$K(B
                    446:  $BFI$_9~$s$@%G!<%?$r=q$-9~$`(B.
                    447: \item {\tt stackmachineError()} $B$G(B
                    448:  $BBg0hJQ?t(B {\tt MsgStackTrace}, {\tt MsgSourceTrace} $B$K=q$-9~$s$G$*$/(B.
                    449: \item {\tt kxx/sm1stackmachine.c} $B$N(B {\tt Sm1\_pushError2} $B$G(B,
                    450: $B>e$NBg0hJQ?t$K@_Dj$5$l$?%a%C%;!<%8$r$b$H$K(B,  error package
                    451: $B$NJ8;zNs$K(B XML $B7A<0$G(B error message $B$r=q$/(B.
                    452: \item \verb@ [(traceShowScannerBuf)] extension :: @
                    453: \item Todo: {\tt executeToken} $B$NCf$^$G$_$J$$$H(B, $B$9$G$KDj5A$5$l$?4X?t$N$I$N0LCV$G%(%i!<$r5/$3$7$?$N$+$,$o$+$i$J$$(B.
                    454: \end{enumerate}
1.17      takayama  455:
                    456: \section{2006-01-26, -engineLogToStdout}
                    457: \begin{enumerate}
                    458: \item   engine $B$r(B xterm $BFbIt$GF0$+$5$J$$$G8F$S=P$7$?%W%m%0%i%`(B
                    459: $B$NI8=`=PNO$X$D$J$$$@$^$^F0$+$9(B.
                    460: \begin{verbatim}
                    461:  (ox.sm1) run
                    462:  /Xm_engineLogToStdout 1 def
                    463:  asirconnectr
                    464:  ((x-2)^2). fctr ::
                    465: \end{verbatim}
                    466: \item   cfep $B$X$NBP1~(B.
                    467: \begin{verbatim}
                    468:   ox_texmacs --view cfep --engineLogToStdout
                    469:   ox_texmacs --view debug --engineLogToStdout
                    470: \end{verbatim}
                    471: \end{enumerate}
                    472:
                    473: $B%=!<%9$NJQ99(B.
                    474: \begin{enumerate}
                    475: \item {\tt OpenXM/src/kan96xx/Doc/ox.sm1} 1.46
1.19      takayama  476: \item {\tt OpenXM/src/kxx/ox\_texmacs.c} 1.26
1.17      takayama  477: \item {\tt OpenXM/src/kxx/ox100start.c}  1.7
1.19      takayama  478: \item {\tt OpenXM/src/util/ox\_pathfinder.c, h} 1.30
1.18      takayama  479: \end{enumerate}
                    480:
                    481: \section{2006-01-30, class $B$N(B body $B$rF@$k(B.}
                    482: \begin{verbatim}
                    483: [1,2,3] (error) dc /ff set  %%CLASSNAME_ERROR_PACKET $B$r@8@.(B. body$B$O(B[1,2,3]
                    484: ff (body) dc   %% [class$B$N%?%0HV9f(B, class $B$N(B body object] $B$rLa$9(B.
                    485: --> [1,2,3]
                    486: \end{verbatim}
                    487: $B4XO"(B. {\tt KnewErrorPacketObj()}
                    488:
                    489: $B%=!<%9$NJQ99(B.
                    490: \begin{enumerate}
                    491: \item {\tt OpenXM/src/kan96xx/Kan/kclass.c} 1.6
1.19      takayama  492: \end{enumerate}
                    493:
                    494: \section{2006-02-01, $B?7$7$$(B error packet}
                    495: \begin{verbatim}
                    496: (ox.sm1) run
                    497: sm1connectr
                    498: oxsm1.ccc (1 shell) oxsubmit
                    499: oxsm1.ccc oxpopcmo ::
                    500: \end{verbatim}
                    501: \verb@ errorPacket (body) dc 3 get  @ $B$,(B
                    502: $B%j%9%H(B($B%-!<%o!<%I(B,$BCM(B)$B$H$J$k(B. $B>l=j(B(where)$B$dM}M3(B(reason),
                    503: $B=hM}7O$K$h$C$F$O(B, line $B$d(B parse error $B$N>l=j(B.
                    504: $B4XO";v9`(B: misc-2005/A1/cfep.
1.20      takayama  505: {\tt oxclearstack}.
                    506:
                    507: ox\_texmacs $B$G(B tunnel channel 0 $B$X(B cfep $BMQ$N%(%i!<L?Na$rAw$k(B.
                    508: ({\tt outputStringToTunnel()})
                    509: \begin{verbatim}
                    510: ox_texmacs --view debug
                    511: !sm1;^E
                    512: 1 shell ^E
                    513: \end{verbatim}
1.19      takayama  514:
                    515:
                    516: $B%=!<%9$NJQ99(B.
                    517: \begin{enumerate}
                    518: \item {\tt OpenXM/src/kan96xx/Kan/stackmachine.c} 1.34
1.20      takayama  519: \item {\tt OpenXM/src/kan96xx/Doc/ox.sm1}  1.48
1.19      takayama  520: \item {\tt OpenXM/src/kxx/sm1stackmachine.c}   1.6
1.20      takayama  521: \item {\tt OpenXM/src/kxx/ox\_texmacs.c}   1.27
1.19      takayama  522: \item {\tt OpenXM/doc/OpenXM-specs/OX-RFC-103.oxw} 1.6
1.21      takayama  523: \end{enumerate}
                    524:
                    525: \section{2006-02-04, $B%a%C%;!<%8$N(B localization (ox$BMQ(B)}
                    526: $B%*%j%8%J%k(B {\tt misc-2005/A1/cfep/packages/misc}.
                    527: \begin{verbatim}
                    528: /localizedString.file (Resource/sm1-ja_JP.eucJP.sm1) def
                    529: localizedString.load              %% $B<-=q$r%m!<%I$9$k(B.
                    530: [(parse) (ox.sm1) pushfile] extension
                    531: sm1connectr
                    532: oxsm1.ccc ( hoge ) oxsubmit
                    533: oxsm1.ccc oxpopcmo /e1 set
                    534: e1 translateErrorForCfep message  %% $B%(%i!<(B obj $B$NK]Lu(B
                    535: \end{verbatim}
                    536: $B%(%i!<(B object $B$N9=B$(B.
                    537: [serial, $B6&DL%(%i!<HV9f(B, message, core]
                    538: $B6uMs$N$H$-$O(B, $-1$ $B$+(B null object.
                    539:
                    540: $B%=!<%9$NJQ99(B.
                    541: \begin{enumerate}
                    542: \item {\tt OpenXM/src/kan96xx/Kan/dr.sm1} 1.53,  localizedString $B$rDI2C(B.
                    543: \item {\tt OpenXM/src/kan96xx/Doc/ox.sm1} 1.52,  translateErrorForCfep $B$r=$@5(B
                    544: \item {\tt OpenXM/src/kan96xx/Doc/Resource}  $BK]Lu$N$?$a$N%j%=!<%9(B.
                    545: \item {\tt OpenXM/src/kxx/Makefile.in} 1.36, Resource $B$r%3%T!<(B.
1.18      takayama  546: \end{enumerate}
1.22      takayama  547:
                    548: \section{2006-02-04, {\tt -authEncoding file} $B$N<BAu(B}
                    549:
                    550: OX-RFC-104 $B$N(B {\tt -authEncoding file} $B$r<BAu(B.
                    551: \begin{verbatim}
                    552: ~/.openxm/tmp.opt/c.txt   -->  1435  (Do not put the newline character.)
                    553: ~/.openxm/tmp.opt/d.txt   -->  1234
                    554: chmod 700 ~/.openxm/tmp.opt
                    555: ox -ox ox_sm1 -authEncoding file -passControl c.txt -passData d.txt
                    556: [(oxCreateClient) (localhost) 1300 1200 [(1435) (1234)]] extension ;
                    557:                               data ctrl  ctrl    data
                    558: \end{verbatim}
                    559:
                    560: cfep $B$G(B MyOpenGLView $B$N(B event $BF~NOMQ$N(B delegate ox server ``ox\_nextevent''
                    561: $B$O(B ox\_asir  $B$N%5!<%P$G$"$k(B.
                    562: ``ox\_nextevent'' $B$O(B
                    563: MyOpenGLView $B$+$i(B NSPipe, NSTask $B$rMQ$$$F(B MyOpenGLView $B$N=PNO$r(B
                    564: stdin $B$G<u?.$G$-$k>uBV$G$J$$$H$$$1$J$$(B.
                    565: MyOpenGLView $B$O(B {\tt ox} $B$rMQ$$$F(B{\tt ox\_asir} $B$h$j$N=gJ}8~@\B3$r$^$DM=Dj(B.
                    566: \begin{enumerate}
                    567: \item {\tt OpenXM/src/kxx/oxmain.c} 1.22
                    568: \end{enumerate}
                    569:
1.23      takayama  570: \section{2006-12-21, UseDsmall option}
                    571:
                    572: \begin{enumerate}
                    573: \item {\tt OpenXM/src/kan96xx/Kan/output.c}
                    574: \item {\tt OpenXM/src/kan96xx/Kan/global.c}
                    575: \item {\tt OpenXM/src/kan96xx/Kan/kanExport0.c}
                    576: \item {\tt OpenXM/src/kan96xx/Kan/option.c}
                    577: \item {\tt OpenXM/src/kan96xx/Kan/usage.c}
                    578: \end{enumerate}
                    579:
                    580: {\tt makeDsmall()}.
                    581:
                    582: \verb@ [(UseDsmall) 1] system_variable @ $B$G(B
                    583: $B=PNO$N;~$@$1(B D $B$,>.J8;z$K$J$k(B.
                    584: asir \verb@ print_tex_form @ $B$r8F$S=P$9$?$aF3F~(B.
                    585:
1.24      takayama  586: \section{2007-6-3,  mgkz}
                    587: \begin{enumerate}
                    588: \item {\tt OpenXM/src/kan96xx/Doc/gkz.sm1} 1.2
1.25      takayama  589: \item {\tt OpenXM/src/kan96xx/Doc/printhelp.sm1} 1.9
1.24      takayama  590: \end{enumerate}
1.22      takayama  591:
1.24      takayama  592: mgkz ($B%a%bE*$J?t3X%N!<%H$O(B misc-2006/04) $B%3%^%s%I$rDI2C(B.
                    593: Modified A-hypergeometric system $B$r@8@.(B.
1.25      takayama  594: printhelp.sm1 $B$K(B $B%-!<%o!<%I(B mgkz $B$rDI2C(B.
1.24      takayama  595:
                    596: $B%W%m%0%i%`:n@.J}K!$N%a%b(B.
                    597: $B$^$:(B, gkz $B$r(B mgkz $B$H$7$F%3%T!<(B.
                    598: \verb@ (  ) error @ $B$r%W%m%0%i%`$N3FItJ,$KF~$l$J$,$i(B,
                    599: [ ] mgkz $B$r<B9T$7$F(B, debug.
                    600: $B$9$k$HJQ?t$NCM$r4Q;!$G$-$F4JC1(B.
1.17      takayama  601:
1.26      takayama  602: \section{2009-8-26,  gfan}
                    603: \begin{enumerate}
                    604: \item {\tt OpenXM/src/kan96xx/Doc/gfan.sm1} 1.13
                    605: \end{enumerate}
                    606:
                    607: Grobner cone $B$G(B $B@~7?6u4V$r=|$$$?$b$N$N(B
                    608: $B<!85$,(B $1$ or $0$ $B$N;~$O@5$7$/F0:n$7$J$$(B.
                    609: $B$3$N;~$K(B $B%(%i!<%a%C%;!<%8$r=P$9(B.
                    610: (cf. taka: i-hg/crest09/Prog/fan1.sm1, fan2.sm1)
                    611:
1.27      takayama  612: \section{2009-9-4,  gfan}
                    613: \begin{enumerate}
                    614: \item {\tt OpenXM/src/kan96xx/Doc/gfan.sm1} 1.17
                    615: \item {\tt OpenXM/src/kan96xx/trans/yy\_polymake.y} 1.5
                    616: \item {\tt OpenXM/src/kan96xx/trans/yylex\_polymake.c} 1.5
                    617: \item {\tt OpenXM/src/kan96xx/trans/data}
                    618: \end{enumerate}
                    619:
                    620: gfan.sm1 package $B$O(B polymake 2.0 $B$N=PNO$KBP$7$F$O@5$7$/F0:n$9$k(B.
                    621: $B$7$+$7(B 2.2, 2.3 $B$KBP$7$FF0:n$7$J$$(B.
                    622: {\tt trans/data/data1b.txt} $B$O(B 2.0 $B$N=PNO(B,
                    623: {\tt trans/data/data1.txt} $B$O(B 2.3 $B$N=PNO(B,
                    624: $BF~NO(B property $B$O(B INEQUALITIES $B$G(B FACETS $B$r(B $B=PNO(B property $B$H$7$F$$$k(B.
                    625:
                    626: {\tt trans/data/data2.txt} $B$O4JC1$JNc(B.
                    627:
                    628: 2.3 $B$G$O(B VERTICES $B$,(B UNDEF $B$H$J$k(B. $B$3$l$r@5$7$/(B parse $B$9$k$h$&$K(B polymake2tfb $B$r(B
                    629: $BJQ99$7$?(B.
                    630: \begin{verbatim}
                    631:  ./polymake2tfb <data/data1.txt
                    632: \end{verbatim}
                    633: VERTICES $B$N=PNO$,$J$$$N$G(B, gfan.sm1 $B$G;H$($J$$(B.
                    634: gfan $B$O(B web service $B$r(B default $B$H8F$V$h$&$K$7$?(B.
                    635:
                    636: \verb@ (gfan) usage ; @ $B$,(B gfan $B$K$D$$$F$N@bL@$r=PNO$9$k$h$&$K$7$?(B.
                    637:
                    638: debug $BMQ$KJXMx$J%3%^%s%I(B.
                    639: \begin{verbatim}
                    640:  oxshell.facets([[1,0,0],[1,2,0],[1,0,3],[1,1,1]]);
                    641:  sm1.sm1(0,"/doPolymake load message ");   OoHG $B$rFI$s$G$$$k$+(B, $B$$$J$$$+(B?
                    642:
                    643:  [(keep_tmp_files) (1) ] oxshell   $B:n6H%U%!%$%k$r(B /tmp  or $TMP $B$KJ]B8(B.
                    644:  rr (UNDEF) getNode ::
                    645:  i-hg/crest09/Prog/fan*.sm1 (private)
                    646: \end{verbatim}
1.29      takayama  647: %$
1.27      takayama  648:
                    649: $B4X78$"$k(Bfiles.
                    650: Doc/cgi.sm1, trans/,
                    651:
                    652: oxshell $B$G(B polymake $B$r<B9T(B. $B=PNO$r(B tfb $B$KJQ49(B. $B$3$l$r(B sm1 object $B$K(B
                    653: k0 server $B$GJQ49(B ({\tt QuoteMode(1); }.
                    654:
                    655: trans/polymake.sm1 $B$O(B, $BAH$_9~$_%^%/%m$H$J$k(B.
                    656: doPolymake $B$O(B local $B$N$b$N$r8F$V(B.
                    657:
1.28      takayama  658: \section{2012-9-16,  syz}
                    659:
                    660: syz $B$,B8:_$7$J$$>l9g$K(B syz (hol.sm1) $B$,(B warning $B$r=PNO$9$k7o(B.
                    661: getRing $B$r(B $B6u%j%9%H$KBP$7$F$d$C$F$$$k$3$H$,860x(B.
                    662: kanExport0.c $B$N(B data\_conversion $B$N(B key $B$r=PNO$9$k$3$H$K$h$j(B debug.
1.27      takayama  663:
1.29      takayama  664: \section{2012-10-29, doPolymake}
                    665:
                    666: doPolymake $B$N;EAH$_$r8+$F(B, $B=hM}$N(B bug $B$r=$@5$9$kM=Dj(B.
                    667: shell.c $B$K(B help $B$rDI2C(B.
                    668: \begin{verbatim}
                    669:   [(parse) (cgi.sm1) pushfile] extension
                    670:   /doPolymake {doPolymake.OoHG} def
                    671:   [(keep_tmp_files) (1)] oxshell
                    672:  /afo (Hello! ) def [(cat) (stringIn://afo)] oxshell
                    673: \end{verbatim}
                    674: {\tt \$TMP} $B$K(B $B:n6H%U%!%$%k$rJ]B8(B.
                    675: {\tt kan96xx/trans} $B$G(B $B%G!<%?7A<0$NJQ49(B.
                    676: $B:n6H%U%!%$%k$N@8@.$O(B
                    677: {\tt generateTMPfiles()} ({\tt util/ox\_pathfinder.c}).
                    678:
1.30      takayama  679: \section{2013-09-20, doPolymake}
                    680: bug fix. $BM-M}?t$r(B accept. oxshell $B$N%^%K%e%"%k$r99?7(B.
                    681:
                    682: class $B$NMxMQK!$r;W$$=P$9(B.
                    683: \begin{verbatim}
                    684:  [(FACETS) (polymake.data(polymake.POINTS([[1,0,0],[1,1,0],[1,0,1],[1,1,1/2]])))]
                    685:          doPolymake /rr set
                    686: rr 1 get /ff set
                    687: ff (array) dc ::     % class $B$r(B array $B$XJQ49(B.
                    688: \end{verbatim}
                    689: {\tt primitive.c} $B$G(B class $B$r(B search.
                    690: KclassDataConversion() $B4X?t$rFI$a$P$h$$$3$H$,$o$+$k(B.
                    691: grep $B$9$k$H(B {\tt kclass.c} $B$rC5$;$P$$$$(B.
                    692: $B$3$3$K(B tag $B$,$$$m$$$m$"$k(B.
                    693: usage $B$K(B note-class $B$rDI2C(B.
                    694:
1.31      takayama  695: \section{2013-09-22, oxdecode\_post}
1.29      takayama  696:
1.31      takayama  697: mime $B7A<0$N(B post message $B$r(B URL encoding $B$KJQ49(B
                    698: (mime $B$NH=DjEy$O8=>u$J$s$A$c$C$F(B).
                    699: $B$3$l$G(B, reverse proxy $B7PM3$G$b@5>oF0:n(B.
                    700:
                    701: \begin{verbatim}
                    702: cat t.txt
                    703: FACETS POINTS
                    704: 1 0 0
                    705: 1 1 0
                    706: 1 0 1
                    707:
                    708:  curl -F oxMessageBody=@t.txt http://polymake.math.kobe-u.ac.jp/cgi-bin/cgi-polymake.sh
                    709: \end{verbatim}
                    710:
                    711: \begin{verbatim}
                    712: library(RCurl);
                    713: postForm("http://polymake.math.kobe-u.ac.jp/cgi-bin/cgi-polymake.sh",
                    714:   oxMessageBody="FACETS POINTS\n1 0 0\n1 1 0\n1 0 1")
                    715: [1] "POINTS\n1 0 0\n1 1 0\n1 0 1\r\n\nFACETS\n1 -1 -1\n0 1 0\n0 0 1\n\n
                    716:  AFFINE_HULL\n\n\n_version 2.0\n_application polytope\n\n"
                    717: attr(,"Content-Type")
                    718:                   charset
                    719: "text/plain"      "UTF-8"
                    720: \end{verbatim}
                    721:
                    722: {\tt cgiPolymake.log} $B$K(B 1 $B$rBeF~$7$F$*$/$H(B($B4{DjCM(B)
                    723: sm1log $B$G(B /tmp/sm1log.txt $B$K(B post message $B$r5-O?(B.
                    724: date $B4X?t$rDI2C(B.
1.32      takayama  725:
                    726: curl $B$rMQ$$$?8F$S=P$7$N%F%9%H(B.
                    727: \begin{verbatim}
                    728: (cgi.sm1) run
                    729: /cgiQueryPolymake { cgiQueryPolymake.curl } def
                    730:  [(FACETS) (polymake.data(polymake.POINTS([[1,0,0],[1,1,0],[1,0,1],[1,1,1/2]])))] /ff set
                    731: ff doPolymake.OoHG /rr set
                    732: \end{verbatim}
1.33      takayama  733:
                    734: \section{2013-09-25, usePolymake.*}
                    735: polymake $B$N%9%$%C%A(B. version $B$K$h$j?6$kIq$$$,0c$&$N$GCm0U(B.
                    736:
                    737: $B3F<o(B log $B$N>l=j(B.
                    738: \begin{enumerate}
                    739: \item server side. {\tt /tmp/sm1log.txt}: cgi-post $B$N(B encoded $BJ8;zNs(B.
                    740: \item server side.  cgi-polymake.sh $B$K(B tee $B$rDI2C$9$k$H(B, oxdecode\_post $BA0$NJ8;zNs$r(B
                    741: $BJ]B8$G$-$k(B.
                    742: \item client side. oxshell $B$G(B work file $B$r(B {\tt \$TMP} $B$K;D$9$K$O(B
                    743: oxshell $B$N(B usage $B$r8+$F(B, keep\_tmp\_files $B$r;H$&(B.
                    744: local $BHG$G$O(B {\tt @@@doPolymake.vars} $B$K5-O?$"$j(B.
                    745: asir $B$G$O(B {\tt polymake.log()} $B$K3JG<(B.
                    746: \item {\tt usePolymake.OoHG.curl} $B$N;~$O(B {\tt /tmp/sm1-q-cgi*.txt}
                    747: $B$K(B cgi $B$KLd$$9g$o$;$k;~$NJ8;zNs$,3JG<$5$l$k(B.
                    748: \end{enumerate}
                    749:
                    750: $B$J$*(B mac $BHG$O(B error $B$G(B bus error $B$r5/$3$9>l9g$"$j(B.
                    751: $B%5%s%W%k(B code $B$O(B, {\tt misc-2013/09/genpos/mac.sm1}.
                    752: $B$3$l$O(B ticket.
1.34      takayama  753:
                    754: screenflow $B$K$h$k3P$(=q$-$O(B,
                    755: fe $B$N(B {\tt /Movies/oxvh/2013-09-25-polymake}.
1.35      takayama  756:
                    757: \section{2015-10-10, cygwin64, msys64}
                    758:
                    759: cygwin64, msys64 $BBP1~(B.
                    760: \begin{enumerate}
                    761: \item gc $B$K$O(B patch. cygwin64 $B$N(B gc.h $B$O$9$G$K(B patch $B$,Ev$?$C$F$k(B.
                    762:   $B$h$C$F(B gc $B$,99?7$5$l$?$i(B patch $B$OB?J,ITMW(B.
                    763: \item sigsetjmp $B$r(B {\tt \_setjmp} $B$K$7$J$$$H$?$H$($P(B
                    764: $BHyJ,:nMQAG4D$N3]$1;;$G(B segfault.  $B860x$O$h$/$o$+$i$:(B.
                    765: \item string.h, stdlib.h $BEy$N(B prototype $B@k8@$r$7$F$*$+$J$$$H(B {\tt ox\_sm1} $B$,(B segfault.
                    766: \item msys $B$G$O(B cmd.exe $B$,?7$7$$(B window $B$r3+$+$J$$$N$G(B($BFf(B), mintty $B$r;H$&(B.
                    767: \end{enumerate}
                    768: fe $B$N(B {\tt /Movies/archive} $B$N(B bandicam $B$K$b5-O?(B.
                    769:
                    770: Todo, ctrl-C $B$,0lEY$7$+M-8z$G$J$$(B. sigaction $B$rMxMQ$9$k$Y$-(B?
                    771:
                    772: {\tt ox\_sm1} $B$N(B segfault $B$N(B debug
                    773: {\tiny
                    774: \begin{verbatim}
                    775:   misc-2015/10/cygwin-for-sm1 $B$K(B
                    776:   oxserver00-d.c Makefile-for-ox_sm1d tmp-o.txt $B$"$j(B.
                    777:   tmp-o.txt $B$O(B ( (1).. (0).. div ) oxsubmit $B$G(B $B%(%i!<$r5/$3$9L?Na$r(B,
                    778:   stream dump $B$7$?$b$N(B.  cf. (ox.sm1) run (extension-oxLog) usage
                    779:   oxpipe.c $B$r(B oxserver00.c $B$XAH$_9~$s$@$b$N(B. gdb $BMQ(B.  ox_sm1d
                    780:   523  rm ox_sm1d
                    781:   525  make -f Makefile-for-ox_sm1d  ox_sm1d
                    782:   526  ./ox_sm1d <tmp-o.txt
                    783:
                    784: cygwin, msys $B$N(B gdb $B$O(B run <file $B$,=PMh$J$$$3$H$KCm0U(B.
                    785: $ gdb ./ox_sm1d
                    786: GNU gdb (GDB) 7.9
                    787: Copyright (C) 2015 Free Software Foundation, Inc.
                    788: License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
                    789: This is free software: you are free to change and redistribute it.
                    790: There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
                    791: and "show warranty" for details.
                    792: This GDB was configured as "x86_64-pc-msys".
                    793: Type "show configuration" for configuration details.
                    794: For bug reporting instructions, please see:
                    795: <http://www.gnu.org/software/gdb/bugs/>.
                    796: Find the GDB manual and other documentation resources online at:
                    797: <http://www.gnu.org/software/gdb/documentation/>.
                    798: For help, type "help".
                    799: Type "apropos word" to search for commands related to "word"...
                    800: Reading symbols from ./ox_sm1d...done.
                    801: (gdb) break main
                    802: Breakpoint 1 at 0x10049b7b8: file oxserver00-d.c, line 37.
                    803: (gdb) run
                    804: Starting program: /home/Nobuki/OX4/OpenXM/src/kxx/ox_sm1d
                    805: [New Thread 11260.0x17c8]
                    806: [New Thread 11260.0x2e50]
                    807: [New Thread 11260.0x8ac]
                    808: [New Thread 11260.0x29d0]
                    809: [New Thread 11260.0x27b8]
                    810:
                    811: Breakpoint 1, main (argc=1, argv=0x24cb10) at oxserver00-d.c:37
                    812: 37      main(int argc, char *argv[]) {
                    813: (gdb) call dup2(open("tmp-o.txt",0),0)
                    814: // run <file $B$9$kBe$o$j(B. cf. stackoverflow  [cygwin gdb pipe]
                    815: $1 = 0
                    816: (gdb) break Sm1_popErrorMessage
                    817: Breakpoint 2 at 0x100402720: file sm1stackmachine.c, line 205.
                    818: (gdb) continue
                    819: Continuing.
                    820: [New Thread 11260.0x2f84]
                    821: oxserver00-d.c for debug.
                    822: [New Thread 11260.0x2a28]
                    823: sm1>macro package : dr.sm1,   9/26,1995 --- Version 09/22, 2013.
                    824: sm1>macro package : module1.sm1, 1994 -- Nov 8, 1998
                    825: sm1 version : 3.050615
                    826: sm1 url : http://www.math.kobe-u.ac.jp/KAN
                    827: name = ox_sm1
                    828: sm1>---------------------------------------------------
                    829: engineByteOrder=0
                    830: Hello world.
                    831: Set EnvOfChildServer.
                    832: Set EnvOfStackMachine.
                    833:
                    834: mtag is 514 (serial=11) :  OX_DATA
                    835: (CMO_STRING[4],[size=17],$ (1).. (0).. div $),
                    836: mtag is 513 (serial=12) :  OX_COMMAND
                    837:
                    838: function_id is 268; SM_executeStringByLocalParser
                    839: KSexecuteString( (1).. (0).. div )
                    840:
                    841: ERROR(kanExport[0|1].c): KisInvalidRational(): zero division. You have f/0.
                    842: Trace: div<-;
                    843:
                    844: Breakpoint 2, Sm1_popErrorMessage (s=0x10049d084 "executeString: ")
                    845:     at sm1stackmachine.c:205
                    846: 205     char *Sm1_popErrorMessage(char *s) {
                    847: (gdb) print s
                    848: $2 = 0x10049d084 "executeString: "
                    849: (gdb) print ErrorMessageMode
                    850: $3 = 2
                    851: (gdb) break popErrorStackByString
                    852: Breakpoint 3 at 0x1004033f0: file stackmachine.c, line 1445.
                    853: (gdb) continue
                    854: Continuing.
                    855:
                    856: Breakpoint 3, popErrorStackByString () at stackmachine.c:1445
                    857: 1445    char *popErrorStackByString(void) {
                    858: (gdb) list
                    859: 1440      }else{
                    860: 1441        return( (ErrorStack.ostack)[--(ErrorStack.sp)]);
                    861: 1442      }
                    862: 1443    }
                    863: 1444
                    864: 1445    char *popErrorStackByString(void) {
                    865: 1446      struct object obj = OINIT;
                    866: 1447      struct object eobj = OINIT;
                    867: 1448      eobj = popErrorStack();
                    868: 1449      if (ectag(eobj) != CLASSNAME_ERROR_PACKET) {
                    869: (gdb) break sGC_malloc
                    870: Breakpoint 4 at 0x1004035a0: file stackmachine.c, line 1510.
                    871: (gdb) continue
                    872: Continuing.
                    873:
                    874: Breakpoint 4, sGC_malloc (n=93) at stackmachine.c:1510
                    875: 1510    void *sGC_malloc(size_t n) { /* synchronized function */
                    876: (gdb) up
                    877: #1  0x000000010040276b in Sm1_popErrorMessage (s=0x10049d084 "executeString: ")
                    878:     at sm1stackmachine.c:221
                    879: 221         a = (char *) sGC_malloc(sizeof(char)*(strlen(s)+strlen(e)+2));
                    880: (gdb) print s
                    881: $4 = 0x10049d084 "executeString: "
                    882: (gdb) print e
                    883: $5 = 0x6008d4d70 "\nERROR(kanExport[0|1].c): KisInvalidRational(): zero division. You have f/0."
                    884: //  $B@5>o(B
                    885: (gdb) continue
                    886: Continuing.
                    887:      14 [main] ox_sm1d 11260 cygwin_exception::open_stackdumpfile: Dumping stack trace to ox_sm1d.exe.stackdump
                    888: [Thread 11260.0x2e50 exited with code 35584]
                    889: [Thread 11260.0x8ac exited with code 35584]
                    890: [Thread 11260.0x29d0 exited with code 35584]
                    891: [Thread 11260.0x2f84 exited with code 35584]
                    892: [Thread 11260.0x2a28 exited with code 35584]
                    893: [Inferior 1 (process 11260) exited with code 0105400]
                    894: (gdb) quit
                    895:
                    896: GC_malloc $B$d(B strcpy $BEy$,2x$7$$$H$K$i$`(B.
                    897:
                    898:
                    899:   char * $B7O(B void * $B7O$N@k8@$J$7$,(B segfault $B$N860x(B?
                    900:   strcpy $B$,JQ(B.
                    901:
                    902:   kxx/serversm.h $B$K(B
                    903: #include <string.h>
                    904: void *sGC_malloc(int n);
                    905: $B$r2C$($k(B.
                    906:   ./ox_sm1d <tmp-o.txt  $B$,@5>o=*N;(B.
                    907: \end{verbatim}
                    908: } %% end tiny
                    909:
1.36      takayama  910: \noindent
                    911: $B2r7h(B: OpenXM/src/util/mysig.c $B$K(B sigaction $B$rMQ$$$?(B signal emulation $B$r2C$($?(B.
                    912: $B$3$l$K$h$j>e5-$N$h$&$J%H%i%V%k$O2r>C(B.
1.37    ! takayama  913:
        !           914: \section{doPolymake $B$N9=B$%a%b(B (2020.03.12)}
        !           915: doPolymake $B$K5/0x$9$k(B bug $B$r(B fix. $B$=$N;~$K(B doPolymake $B$NN.$l$rFI$_D>$7$?(B.
        !           916:
        !           917: $B%F%9%HMQ$NF~NO(B(polymake $B$O(B $B%5!<%P!<$rMxMQ(B).
        !           918: {\tiny
        !           919: \begin{verbatim}
        !           920: export OX_XTERM_GEOMETRY=80x20+0+0
        !           921: sm1
        !           922: (cgi.sm1) run ;
        !           923: usePolymake.OoHG.curl polymake.start ;
        !           924: [(FACETS) (polymake.data(polymake.POINTS([[1,0],[1,1]])))]
        !           925: doPolymake /rr set ;
        !           926: rr ::
        !           927: \end{verbatim}
        !           928: }
        !           929: {\tt rr} $B$K$O(B sm1 $B$N(B class.tree $B%G!<%?$,3JG<$5$l$k(B.
        !           930: {\tt OX\_XTERM\_GEOMETRY} $B$r@_Dj$9$k$3$H$G(B ox server $B$,(B iconic $B$K$J$i$J$$(B.
        !           931: polymake $B$X(B OOHG $B$GLd$$9g$o$;$F$$$kK\BN$O(B,
        !           932: {\tt cgi.sm1} $B$N(B {\tt cgiQueryPolymake.curl}.
        !           933: $B$3$l$rFI$`$H;EAH$_$,$o$+$k(B.
        !           934: polymake http server $BB&$G$O<!$N%3!<%I(B(cgi-polymake.sh)$B$G(B post message $B$r<u<h$j(B, polymake $B$G7W;;$7$F(B, $B7k2L$rLa$9(B.
        !           935: {\tiny
        !           936: \begin{verbatim}
        !           937: #!/bin/bash
        !           938: # $OpenXM: OpenXM/src/polymake/cgi/cgi-polymake.sh,v 1.1 2004/09/27 01:20:46 takayama Exp $
        !           939: PATH=/usr/local/polymake/bin:$PATH
        !           940: export TMP=/tmp
        !           941: source /home/taka/OpenXM/rc/dot.bashrc
        !           942: WFILE=/tmp/tmp-post-$$.txt
        !           943: tee /tmp/t.txt | oxdecode_post >${WFILE}
        !           944: env CONTENT_LENGTH=`wc -m ${WFILE} | awk '{print $1}'` sm1 -q -s "[(parse) (cgi.sm1) pushfile] extension cgiPolymake quit " <${WFILE}
        !           945: rm -f ${WFILE}
        !           946: exit 0
        !           947: : rm -f ${WFILE}
        !           948: \end{verbatim}
        !           949: }
        !           950: $BAw?.B&$N(B {\tt cgiQueryPolymake.curl} $B$O(B curl $B$N(B form option $B$rMQ$$$F(B
        !           951: post message $B$r$9$k(B.
        !           952: $B%-!<$O(B {\tt oxMessageBody} $B$G$"$k(B.
        !           953: $BAw$k(B form $B$O(B {\tt /tmp/sm1-q-cgi.txt???} $B$K@8@.$5$l$k(B.
        !           954: $B$3$3$G(B ??? $B$O(B pid $B$G$"$k(B.
        !           955: $B7k2L$r<u$1<h$C$?$i$3$N0l;~%U%!%$%k$O(B {\tt OpenXM\_tmp} $B4D6-JQ?t$G;XDj$5$l$k(B
        !           956: folder $B$X0\F0$5$l$k(B.
        !           957: {\rm /tmp/sm1-q-cgi*} $B$OF0:n%(%i!<Ey$K$h$j;D$k$3$H$,$"$k$N$GDj4|E*$K:o=|$9$k$3$H$,(B
        !           958: $BK>$^$7$$(B.
        !           959: {\tt cgiQueryPolymake.curl} $B$O(B polymake version 2 $B7A<0$N=PNO$rJ8;zNs$N(B list $B$H$7$FLa$9(B.
        !           960:
        !           961: $B$3$l$r(B tree $B7A<0Ey$KJQ49$7$F$$$k$N$O(B {\tt kan96xx/trans} $BFb$N%=!<%9$G$"$k(B.
        !           962: $B$3$N%U%)%k%@$O%G!<%?7A<0$NJQ49Ey$N%F%9%H%1!<%9$H$7$F:n@.$5$l$?(B.
        !           963: $B9M$(J}$H$7$F$O(B,
        !           964: \begin{center}
        !           965: \fbox{tree $B7A<0$N%G!<%?(B} $\Leftrightarrow$
        !           966: \fbox{tfb $B7A<0$N%G!<%?(B} $\Leftrightarrow$ \fbox{polymake $B7A<0(B}
        !           967: $\Leftrightarrow$ \fbox{polymake web server}
        !           968: \end{center}
        !           969: {\tt polymake2tfb} $B$O(B polymake version 2 $B$N%U%!%$%k$rF~NO$H$9$k$H(B
        !           970: tfb $B7A<0$N%G!<%?$r=PNO$9$k(B.
        !           971: {\tiny
        !           972: \begin{verbatim}
        !           973: polymake2tfb < ~/.OpenXM_tmp/sm1-q-cgi-out.txt37402
        !           974: polymake.data(polymake.POINTS([[1,0],[1,1]]),polymake.FACETS([[1,-1],[0,1]]),polymake.AFFINE_HULL())
        !           975: \end{verbatim}
        !           976: }
        !           977: tfb $B7A<0$N%G!<%?$O(B {\tt ox\_k0} $B$,(B parse $B$7$F(B, $B$=$l$r(B tree $B7A<0$KJQ49$7$F$$$k(B.
        !           978: $B5UJQ49$b(B {\tt ox\_k0} $B$,9T$&(B
        !           979: ($B%=!<%9(B {\tt polymake.sm1}, $B4X?t(B {\tt tfbToTree} $B$r;2>H(B).
        !           980:
1.9       takayama  981: \end{document}
                    982:

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