From: John Carter Date: 2003-12-11T13:54:45+09:00 Subject: Re: expect, rexpect and others On Thu, 11 Dec 2003, Ben Giddings wrote: > Ben Giddings wrote: > > http://www.rubygarden.org/ruby?RExpect > > > > It attempts to fix some of the perceived flaws with expect, including > > getting things one character at a time. > > Since I had no answers, let me ask a few more questions. Having looked at > the RExpect stuff, it looks much better than the standard 'expect' library, > mainly because it isn't character based. So, has anybody used it? Does > anybody know if it exists in any form other than a web page? Slightly unfair of me to comment since I wrote it.... But yes, I have used it to drive very many (100's) of real and virtual devices simultaneously. So yes, it is robust and does scale, which I found the standard one didn't. That's not quite the absolute latest version I have but should be good to try. (The API hasn't changed except I now through a TimeoutError instead of EOFError on timeout.) RubyForge didn't exist when I submitted it, I guess I should create a RubyForge project for it. Except it is so small it is more appropriate to included it as part of some other project. Is there a "Standards Track" library project for Ruby like the http://www.boost.org library for C++? John Carter Phone : (64)(3) 358 6639 Tait Electronics Fax : (64)(3) 359 4632 PO Box 1645 Christchurch Email : john.carter@tait.co.nz New Zealand A Million Monkeys can inflict worse things than just Shakespeare on your system.