[#20083] non-block IO with TCPSocket — dn <daisuke@...>

初投稿の中村と申します。よろしくお願いします。

19 messages 2000/01/06
[#20084] Re: non-block IO with TCPSocket — Tomoyuki Kosimizu <greentea@...2.so-net.ne.jp> 2000/01/06

越水です。

[#20091] Re: non-block IO with TCPSocket — とみたまさひろ <tommy@...> 2000/01/06

とみたです。

[#20133] おききしたーいでーす — akimaru <akimaru@...>

17 messages 2000/01/09
[#20138] Re: おききしたーいでーす — akimaru <akimaru@...> 2000/01/09

[#20237] Ruby/Tk multi interpreter — nagai@...

永井@知能.九工大です.

21 messages 2000/01/17
[#20242] Re: Ruby/Tk multi interpreter — nagai@... 2000/01/17

永井@知能.九工大です.

[#20248] Re: Ruby/Tk multi interpreter — Hideto ISHIBASHI <s34204@...> 2000/01/17

石橋秀仁です。

[#20254] Re: Ruby/Tk multi interpreter — nagai@... 2000/01/18

永井@知能.九工大です.

[#20271] Re: Ruby/Tk multi interpreter — Hideto ISHIBASHI <s34204@...> 2000/01/18

石橋秀仁です。

[#20249] FTP.open err for Windows95 — "Y Kataoka" <kataoka@...>

初めまして、片岡@KLUGと申します。

18 messages 2000/01/17
[#20252] Re: FTP.open err for Windows95 — "NAKAMURA, Hiroshi" <nakahiro@...> 2000/01/18

なひです.

[#20342] How to build ruby(current) with cygwin — KORIYAMA Naohiro <kory@...2.so-net.ne.jp>

はじめまして、こおりやまです。

19 messages 2000/01/23
[#20362] Re: How to build ruby(current) with cygwin — WATANABE Hirofumi <Hirofumi.Watanabe@...> 2000/01/24

わたなべです.

[#20422] Re: How to build ruby(current) with cygwin — Masaki Suketa<CQN02273@...> 2000/01/29

Win32OLE の作者の助田です.

[#20394] ruby-1.4.3 port to HPUX 11.00 — matz@... (Yukihiro Matsumoto)

まつもと ゆきひろです

15 messages 2000/01/26

[ruby-list:20438] cygwin 版 Ruby での BLT 利用について

From: otokita@...
Date: 2000-01-31 09:33:38 UTC
List: ruby-list #20438
Ruby/本MLには大変お世話になっております.

さて,
Windows95 上での Ruby プログラムに GUI 部をくっつけるため,
tcltk を利用しています.
ついでに, BLT も利用したいと思い,
過去 ML を参考に
tcltk-ext にて試行錯誤していますが, うまくいきません.
どなたか御助言等ありましたら, お願い致します.

環境・状況等は次のとおりです.
● Windows95
● Ruby 1.4.2 (1999-09-18) [i386-cygwin]
● tcltk-ext 98/05/20版
● Tcl/Tk8.2.0 , blt2.4
● 試行品スクリプト (非常にあやしい代物ですが, 恥を忍んで...)

# blt.rb
require 'tcltkext'

ip = TclTkInterpreter.new()
ip.setup_libs(['Blt', 'blt24.dll', ['e:/tcltk8.2.0/blt/lib/blt2.4']])
c = ip.commands
barchart, button, pack = c.indexes("barchart", "button", "pack")
p barchart
p button
p pack

root = ip.rootwidget()
d1 = TclTkWidget.new(ip, root, barchart)
b1 = TclTkWidget.new(ip, root, button, "-text {exit} -command {exit}")
pack.e(d1,b1)
TclTk.mainloop()

● 上記の実行結果

tcltklib: Tcl_FindExecutable
//c/ruby/lib/tcltkextlib.rb:29: warning: discarding old new
//c/ruby/lib/tcltkext.rb:42: warning: discarding old initialize
tcltklib: Tcl_CreateInterp
tcltklib: Tcl_Init
tcltklib: Tk_Init
tcltklib: Tcl_StaticPackage("Tk")
tcltklib: Tcl_CreateObjCommand("ruby")
tcltklib: Tcl_Eval(proc ruby_fmt {fmt args} { puts "ruby_fmt: $fmt $args" ; ruby
 [format $fmt $args] })
tcltklib: (TCL_Eval result) 0
tcltklib: Tcl_Eval(info command)
tcltklib: (TCL_Eval result) 0
tcltklib: Tcl_Eval(set auto_path)
tcltklib: (TCL_Eval result) 0
tcltklib: Tcl_Eval(set auto_path)
tcltklib: (TCL_Eval result) 0
tcltklib: Tcl_Eval(info command)
tcltklib: (TCL_Eval result) 0
tcltklib: Tcl_Eval(set auto_path)
tcltklib: (TCL_Eval result) 0
tcltklib: Tcl_Eval(load blt24.dll Blt)
tcltklib: (TCL_Eval result) 0
tcltklib: Tcl_Eval(set auto_path)
tcltklib: (TCL_Eval result) 0
tcltklib: Tcl_Eval(info command)
tcltklib: (TCL_Eval result) 0
nil
#<TclTkCommand: @ip=#<TclTkExtIp: @ip=#<TclTkIp:0x256b498>, @namespace=[], @libs
=[["Blt", "blt24.dll", ["e:/tcltk8.2.0/blt/lib/blt2.4"]]]>, @exp="button">
#<TclTkCommand: @ip=#<TclTkExtIp: @ip=#<TclTkIp:0x256b498>, @namespace=[], @libs
=[["Blt", "blt24.dll", ["e:/tcltk8.2.0/blt/lib/blt2.4"]]]>, @exp="pack">
tcltklib: Tcl_Eval(.w_1)
Exception `RuntimeError' at //c/ruby/lib/tcltkextlib.rb:46
//c/ruby/lib/tcltkextlib.rb:46:in `_eval': invalid command name ".w_1" (RuntimeE
rror)
        from //c/ruby/lib/tcltkextlib.rb:46:in `_eval'
        from //c/ruby/lib/tcltk.rb:127:in `_eval_args'
        from //c/ruby/lib/tcltk.rb:294:in `initialize'
        from blt.rb:13:in `new'
        from blt.rb:13
tcltklib: Tcl_DeleteInterp
_eval: ".w_1"

多分にとんちんかんなことをしていると察しますが,
よろしくお願いします.

おときた とおる

In This Thread

Prev Next