3 ms·
wouldn't it be easier to modify your terminfo database to make color unavailable?
by db48x 9y ago
wouldn't it be easier to modify your terminfo database to make color unavailable?
- eropple 9y agoPlenty 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.
- duskwuff 9y agoThat 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.