[TUHS] INed/Rand Editor/Ned [was Re: My EuroBSDcon talk (preview for commentary)
G. Branden Robinson
g.branden.robinson at gmail.com
Tue Sep 17 06:21:56 AEST 2019
At 2019-09-16T17:16:12+0100, Warner Losh wrote:
> I got to look at the source to a few other editors of the era. All has
> the terminal codes hard coded into them... it was common to do that
> before things like termcap...
It's still common today. Everything the developer cares to think about,
let alone test on, interprets EMCA-48 SGR escape sequences. My favorite
recent example is "spectre-meltdown-checker", which has such edifying
_info_nol "> \033[46m\033[30mSTATUS:\033[0m "
Why write something portable when you can be "close to the metal"? :-/
I gently steer people to better ways when the occasion presents itself.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the TUHS