From: Joshua Haberman Date: 2005-09-04T04:06:27+09:00 Subject: Re: Still looking for a Ruby MUD client --Apple-Mail-1--709150927 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Aug 31, 2005, at 1:30 PM, Sy wrote: > On 8/31/05, agemoagemo@yahoo.com wrote: > >> --- Sy wrote: >> >>> Btw, as an aside.. vwmc doesn't use the telnet >>> library by choice.. >>> >> >> The main reason that I, at least, am using net/telnet >> is to let it's preprocessing function handle telnet >> control codes. >> >> Most of the rest isn't usable, due to the various ways >> that (in my understanding) MUD output breaks the >> telnet spec. >> > > Does this mean that a "mud-telnet library" ought to be made, to help > various other clients with these intricacies? I'm not a MUDder, but I'm working on a project that probably already does a lot of what you want. It's called 'silkscreen' -- here's its minimalist web page: http://silkscreen.sourceforge.net/ In a word, it's designed to be an uber-scriptable text mode environment, where you can run different sorts of applications in nonoverlapping windows. The first such application is a terminal emulator like GNU screen, so that you can run a shell. And once you're running a shell, you could telnet to a MUD server. I haven't actually written any scripts in silkscreen yet, but it wouldn't be much work to support an interface like: TerminalWindow.add_line_callback { |window, line| if line =~ /you are hungry/ window.insert_keypress("eat\n") end } If you're interested, download silkscreen and give it a try. Let me know what you think. I'm working on silkscreen all the time -- right now I'm working on scrollback support. Josh --Apple-Mail-1--709150927--