Re:Disabling ANSI color output
by db48x on Wednesday February 07, 2018 @01:13AM
(#16322574)
wouldn't it be easier to modify your terminfo database to make color unavailable?
[ Parent
| on HN ]
That only works for applications that uses terminfo. Most don't; VT100/ANSI escape sequences are universally supported nowadays, and a lot of programs just hard-code that.
Plenty of stuff doesn't even check for terminfo (doesn't even check for a TTY) and just dumps ANSI escape sequences over the wire. Like, say, into a file. Which makes grepping it fun later.