[Tinymux] Slightly(?) insane requests...
epicanis+tmux at dogphilosophy.net
epicanis+tmux at dogphilosophy.net
Thu Mar 24 23:32:54 EST 2005
On Wednesday 23 March 2005 10:05 am, Stephen Dennis wrote:
[...]
> Also, I'd like to change the way ANSI is handled and replace the LBUFs
> with an ANSI-aware string object. TinyMUX is using C++, so I could
> leverage that. Maintaining speed is the still the trick though, but
> with this, color is pervasively understood. Like so:
>
> 'add(%xr123,%xg123)' ---> '246'
[...]
Would this make at least partial auto-conversion from ANSI sequences to HTML
tags for HTML-flagged players more feasible? (finally have a cross-platform
HTML-capable but not ANSI-aware client in the form of "Moozilla[1]" - I tried
hacking in a client-side conversion, but at the time my abilities weren't
quite up to it. I was probably being crazy by trying to come up with a way
to use regex's to do the replacements and insertions of the necessary closing
tags where needed...)
Also, just an off-the-wall question, what would be involved in trying to add
ability to pass embedded code off to an external interpreter before it goes
to the internal mushcode interpreter? For example, if I'd suffered a severe
concussion and decided that I wanted to be able to embed PHP or Perl
somewhere...
I genuinely have no idea how difficult that is to do - is there much to it
beyond linking the interpreter (which in and of itself I ALSO have no idea
how difficult a process that is) and adding a
"PHP()"/"Perl()"/"Python()"/"Ruby()"/whatever() function to pass the code to
the interpreter and return the results?
[1] - http://www.moo.ca/moozilla
More information about the Tinymux
mailing list