[Tinymux] Re: Slightly(?) insane requests...

Michael King tsal at arikel.net
Fri Mar 25 10:16:09 EST 2005


Stephen,

	Where is the conversion done in the source?  I'd like to take a look
at this, myself.  This might be easier to tackle than a SQL-based object
database. :)

--
Michael

> -----Original Message-----
> From: Stephen Dennis [mailto:brazilofmux at gmail.com]
> Sent: Thursday, March 24, 2005 10:45 PM
> To: epicanis+tmux at dogphilosophy.net
> Cc: tinymux at tinymux.org
> Subject: [Tinymux] Re: Slightly(?) insane requests...
> 
> Currently, the ANSI escape sequences are generated inside the server
> and run everywhere that regular text does.
> 
> The hope is that these escape sequences would only be generated at the
> network. The ESC character itself would be deprecated internally, and
> there would be no risk of accidently generating one with softcode.
> 
> One possible implementation is two arrays: char text[LBUF_SIZE] and
> COLOR color[LBUF_SIZE]. Each text character has a corresponding color.
> To search or parse the normal is as simple as ignoring the color,
> however, any changes to the text requires a corresponding change to
> the color.
> 
> A downside of this particular implementation is that it takes up 3
> times the memory. An upside is that your text could have arbitrarily
> complex color without being cut short.
> 
> How the ANSI string is encoded in the database is still an open
> question. Perhaps, it will be encoded using ANSI escapes, or perhaps
> some other scheme is more appropriate.
> 
> But, I would imagine that once this work is done, it would be rather
> easy to replace the conversion to ANSI escapes at the network layer to
> something that used HTML-style tags instead.
> 
> Brazil
> _______________________________________________
> Tinymux mailing list
> Tinymux at tinymux.org
> http://www.tinymux.org/mailman/listinfo/tinymux





More information about the Tinymux mailing list