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