зеркало из https://github.com/github/ruby.git
160 строки
5.4 KiB
Plaintext
160 строки
5.4 KiB
Plaintext
|
(tof)
|
|||
|
2003/06/19 Hidetoshi NAGAI
|
|||
|
|
|||
|
<EFBFBD>ܥɥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȤˤϸŤ<EFBFBD> tcltk <20>饤<EFBFBD>֥<EFBFBD><D6A5>ꡤtcltklib <20>饤<EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>ޤޤ<EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ε<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƤϸŤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΤȤʤäƤ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
<EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߤ<EFBFBD> Ruby/Tk <20><><EFBFBD>濴<EFBFBD>Ǥ<EFBFBD><C7A4><EFBFBD> tk.rb <20><> wish <20><><EFBFBD>ƤӽФ<D3BD><D0A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϥ<EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>tcltklib <20>饤<EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD> wrap <20><><EFBFBD><EFBFBD>ư<EFBFBD><EFBFBD><EEA4B9><EFBFBD><EFBFBD><EFBFBD>ΤȤʤäƤ<C3A4><C6A4>ޤ<EFBFBD><DEA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFB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BD><EFBFBD><EFBFBD>
|
|||
|
==============================================================
|
|||
|
tcltk <20>饤<EFBFBD>֥<EFBFBD><D6A5><EFBFBD>
|
|||
|
tcltklib <20>饤<EFBFBD>֥<EFBFBD><D6A5><EFBFBD>
|
|||
|
Sep. 19, 1997 Y. Shigehiro
|
|||
|
|
|||
|
<EFBFBD>ʲ<EFBFBD>, <20><>tcl/tk<74>פȤ<D7A4><C8A4><EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD>, tclsh <20><> wish <20><><EFBFBD>¸<EFBFBD><C2B8><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD>, <20><><EFBFBD>̤Ǥ<CCA4><C7A4><EFBFBD>
|
|||
|
<EFBFBD>Ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> tcl/tk <20><><EFBFBD>ؤ<EFBFBD><D8A4>ޤ<EFBFBD>. <20><>tcltk <20>饤<EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD>, <20><>tcltklib <20>饤<EFBFBD>֥<EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>פȤ<EFBFBD><EFBFBD><EFBFBD>ɽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20>ܥѥå<D1A5><C3A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˴ޤޤ<DEA4><DEA4><EFBFBD> ruby <20>ѤΥ饤<CEA5>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ؤ<EFBFBD><D8A4>ޤ<EFBFBD>.
|
|||
|
|
|||
|
[<5B>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˤĤ<CBA4><C4A4><EFBFBD>]
|
|||
|
|
|||
|
README.euc : <20><><EFBFBD>Υե<CEA5><D5A5><EFBFBD><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD>, <20><>ħ, <20><><EFBFBD>ȡ<F3A5B9A5><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˡ).
|
|||
|
MANUAL.euc : <20>ޥ˥奢<CBA5><E5A5A2>.
|
|||
|
|
|||
|
lib/, ext/ : <20>饤<EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD>μ<EFBFBD><CEBC><EFBFBD>.
|
|||
|
|
|||
|
sample/ : <20>ޥ˥奢<CBA5><E5A5A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Υ<EFBFBD><CEA5><EFBFBD><EFBFBD>ץ<EFBFBD><D7A5>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
|||
|
sample/sample0.rb : tcltklib <20>饤<EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD>Υƥ<CEA5><C6A5><EFBFBD>.
|
|||
|
sample/sample1.rb : tcltk <20>饤<EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD>Υƥ<CEA5><C6A5><EFBFBD>.
|
|||
|
tcl/tk (wish) <20>ǤǤ<C7A4><C7A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʤ<EFBFBD><CAA4>Ȥ<EFBFBD><C8A4><EFBFBD><EFBFBD>̤<EFBFBD><CCA4>Ƥߤޤ<DFA4><DEA4><EFBFBD>.
|
|||
|
sample/sample2.rb : tcltk <20>饤<EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD>Υ<EFBFBD><CEA5><EFBFBD><EFBFBD>ץ<EFBFBD>.
|
|||
|
maeda shugo (shugo@po.aianet.ne.jp) <20><><EFBFBD>ˤ<EFBFBD><CBA4><EFBFBD>
|
|||
|
(`rb.tk' <20>ǽ<C7BD><F1A4ABA4>Ƥ<EFBFBD><C6A4><EFBFBD>) ruby <20>Υ<EFBFBD><CEA5><EFBFBD><EFBFBD>ץ<EFBFBD><D7A5>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
http://www.aianet.or.jp/~shugo/ruby/othello.rb.gz
|
|||
|
<20><> tcltk <20>饤<EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4>褦<EFBFBD><E8A4A6>, <20><><EFBFBD><EFBFBD>Ū<EFBFBD><C5AA><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD>Ƥߤޤ<DFA4><DEA4><EFBFBD>.
|
|||
|
|
|||
|
demo/ : 100 <20>ܤ<EFBFBD><DCA4><EFBFBD><EFBFBD><EFBFBD> 100 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǥ<EFBFBD><C7A5>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
|||
|
<20>ǽ<EFBFBD><C7BD>˶<EFBFBD><CBB6>롼<EFBFBD>פλ<D7A4><CEBB>֤<EFBFBD>¬<EFBFBD>ꤷ, ³<><C2B3><EFBFBD>Ƽºݤ<C2BA><DDA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD>¬<EFBFBD>ꤷ<EFBFBD>ޤ<EFBFBD>.
|
|||
|
tcl/tk <20><>(<28><>)<29><><EFBFBD><EFBFBD><EFBFBD>ΤȤ<CEA4><C8A4><EFBFBD> backing store <20><><EFBFBD>Ȥ鷺<C8A4><EFA4BA>Χ<EFBFBD><CEA7><EFBFBD><EFBFBD> 10000 <20><>(?)
|
|||
|
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Τ<EFBFBD>, (<28><>)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϥ<EFBFBD><CFA4><EFBFBD><EFBFBD><EFBFBD>, <20>ޥ<EFBFBD><DEA5><EFBFBD><F3A4AC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D><C9A4><EFBFBD><EFBFBD>狼<EFBFBD><EFA4AB><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>.
|
|||
|
|
|||
|
TclTkLib.mainloop <20><><EFBFBD>¹<EFBFBD><C2B9><EFBFBD><EFBFBD><EFBFBD> Control-C <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʤ<EFBFBD><CAA4>Τ<EFBFBD><CEA4><EFBFBD><EFBFBD>ؤʤΤ<CAA4>, ruby
|
|||
|
<EFBFBD>Υ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͤ<EFBFBD>, #include "sig.h" <20><><EFBFBD><EFBFBD> trap_immediate <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>, ruby <20><> README.EXT <20>ˤ<EFBFBD><CBA4>Ƥʤ<C6A4><CAA4>Τ<EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD>ʤ<EFBFBD><CAA4>Ȥ<C8A4><F2A4B7A4>ɤ<EFBFBD><C9A4>Τ<EFBFBD>
|
|||
|
<EFBFBD>ɤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>狼<EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>.
|
|||
|
|
|||
|
-d <20><><EFBFBD>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǥǥХå<D0A5><C3A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뤿<EFBFBD><EBA4BF><EFBFBD><EFBFBD>, ruby <20>Υ<EFBFBD><CEA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͤ<F2BBB2B9>,
|
|||
|
debug <20>Ȥ<EFBFBD><C8A4><EFBFBD><EFBFBD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ǥ<C9A4><C7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ץȤ<D7A5><C8A4>ɲä<C9B2><C3A4>빽ʸ
|
|||
|
<09><>bind tag sequence +script<70><74>
|
|||
|
^
|
|||
|
|
|||
|
<20>ΤߤǤ<DFA4>.
|
|||
|
- `. configure -width' <20>褦<F2A4B7A4>Ȥ<EFBFBD><C8A4><EFBFBD>, `Tk.root.height()' <20>Ƚ<EFBFBD><C8BD><EFBFBD>
|
|||
|
<20><><EFBFBD>Τ<EFBFBD>, `undefined method `height'' <20><><EFBFBD>ܤ<EFBFBD><DCA4><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4>ޤä<DEA4>. tk.rb <20><>
|
|||
|
<20>ɤ<EFBFBD><C9A4>Ǥߤ<C7A4>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20>Ǥ<EFBFBD><C7A4>ʤ<EFBFBD><CAA4>Τ<EFBFBD>...
|
|||
|
<20>Ȥ<EFBFBD><C8A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȤϤ<C8A4><CFA4><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>.
|
|||
|
|
|||
|
3. wish <20>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ư<EFBFBD><C6B0><EFBFBD>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̿<EFBFBD><CCBF><EFBFBD> wish <20><><EFBFBD><EFBFBD><EFBFBD>Ѥ<EFBFBD><D1A4><EFBFBD> `tk.rb' <20>Ȥ<EFBFBD>
|
|||
|
<20>ۤʤ<DBA4>, tcl/tk <20><> C <20>饤<EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
<09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>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