Color and escape codes in text/gemini
Sean Conner sean at conman.org
Sun Dec 15 00:02:06 GMT 2019
It was thus said that the Great Bradley D. Thornton once stated:
> On 12/12/2019 9:02 PM, Michael Lazar wrote:
>
> > My opinion is that ANSI escape codes should be neither endorsed nor prohibited
> > in the Gemini protocol. Even prohibiting them would add additional complexity,
> > because then servers would need to worry about what's a valid gemini document
> > and what isn't. Treat it as a fun little easter egg and leave it at that.
>
> The way we handle this in the BBS world is as follows:
>
> 1.) If server is capable, then it checks or asks if the client is ANSI
> capable.
>
> 2.) If the client supports ANSI (many do, and many don't) then ANSI is
> served.
>
> The level of complication is mitigated by this approach, especially with
> regards to client implementation.
>
> I would note that many on this list expressed interest and were
> supportive of the effort, while using the approach above would not
> disenfranchise those not interested.
And thus we get user-agent strings being sent.
-spc (I'm just saying ... )
Archive home | About this archive