2021-11-26 Colours in our texts

I’ve had breakfast. Ate self-made sourdough bread with butter and apricot jam, and gorse honey. Drank my coffee. Drank my orange juice. Stopped reading the newspaper. Stopped working on my random tables. Outside, the world stands still. An inch of snow on red apples and the grass.

I was reading @jk’s post on ANSI Select Graphic Rendition (SGR) control sequences:

@jk

However, even Solderpunk’s 100-line Python example client supports ANSI styling, since it’s something that a terminal emulator handles for you automatically. One has to specifically prevent ANSI control sequences from reaching the terminal to avoid this. – ANSI Select Graphic Rendition

ANSI Select Graphic Rendition

And I’m remembering @Shufei’s love for colours:

@Shufei

SmolColour content by ANSI escapes supported, natch. And the interface in terminal or out ought to support ANSI escapes by menu as Pine does so kindly. But can set all that to be off in config too. – 2020/11/30 - Tech - Smolnet - Dear Sandy

2020/11/30 - Tech - Smolnet - Dear Sandy

Claus

My position is unchanged. I like colours. They can convey important or enjoyable information. But I argued my point before:

• server authors: use it sparingly, offer a plain version as the default • text authors: use it sparingly, don’t think about writing tech manuals • client authors: do not implement it, or implement the small subset – 2021-10-15 Re: Mark It Down

2021-10-15 Re: Mark It Down

Yeah, we’ve had it all before, I know.

If I repeat the messages … I am both teaching other people that haven’t heard about the issues and I am angering the people that have already made their decisions. If I don’t repeat the messages, I’m not reaching new people. – 2021-11-26 Unhappy thoughts when reading social media

2021-11-26 Unhappy thoughts when reading social media

Oh well. And of course the counter arguments have all been offered, too. Complications. The road to complexity. The unsafety of the complete set of control sequences. Usability issues.

At least the web mandates – or at least XHTML was based on XML which mandated:

Legal characters are tab, carriage return, line feed, and the legal characters of Unicode and ISO/IEC 10646. – Extensible Markup Language (XML) 1.0 (Fifth Edition), section 2.2 Characters

Extensible Markup Language (XML) 1.0 (Fifth Edition), section 2.2 Characters

That strips the escape character, rendering the remaining discussion moot.

But Gopher was more flexible:

(b) The well-tempered server ought to send “text” (unless a file must be transferred as raw binary). Should this text include tabs, formfeeds, frufru? Probably not, but rude servers will probably send them anyway. Publishers of documents should be given simple tools (filters) that will alert them if there are any funny characters in the documents they wish to publish, and give them the opportunity to strip the questionable characters out; the publisher may well refuse. (c) The well-tempered client should do something reasonable with funny characters received in text; filter them out, leave them in, whatever. – RFC 1436, section 4 Simplicity is intentional

RFC 1436, section 4 Simplicity is intentional

I like it.

​#Gemini