From: kjana@... (YANAGAWA Kazuhisa) Date: 2001-07-25T22:35:45+09:00 Subject: [ruby-talk:18524] Re: Ruby and Expect In message thucdat@hotmail.com writes: > I use Tcl mainly because of Tk and Expect, and it exists even > Expectk that combines both Tk and Expect. I wonder why Expect is not > a built-in class of Ruby or a component delivered with the core. Use expect.rb which should be ruby's lib directory for adding `expecting' ability to IO, then use IO.popen or open3.rb to communicate your application. If your application doesn't work well without TTY, use pty module which is also bundled with standard distribution instead of pipes. Probably expect_sample.rb and README.expect under $(srcdir)/ext/pty is useful for you. # They may not work on Windows, though. -- kjana@os.xaxon.ne.jp July 25, 2001 The more haste, the less speed.