News for hackers. Stuff that matters.
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?
Re:Disabling ANSI color output by duskwuff on Wednesday February 07, 2018 @01:29AM (#16322634)
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.
Re:Disabling ANSI color output by eropple on Wednesday February 07, 2018 @01:20AM (#16322600)
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.