From: Gregory Brown Date: 2006-12-18T01:39:52+09:00 Subject: Re: dsl/library for text interaction? On 12/17/06, James Moore wrote: > - the first thing on the line is the command "FOOBAR" > - it takes two required arguments, and one optional > - encode the required arguments using (base64/http/whatever) > - the response is one line starting with an integer result code > - when you get a response matching code X, execute a given block > - etc If the data is regular enough, RedNails might do the trick http://rednails.rubyforge.org/