News for hackers. Stuff that matters.
Re:Show HN: Curl https://ec2.shop by geofft on Tuesday June 30, 2020 @01:20PM (#23692414)
This is "ANSI" as in ANSI X3.64 escape sequences, not "ANSI" as in a character encoding. You can output color to curl on an ANSI-compatible terminal but not to something expecting actual plain text like a browser.
Re:Show HN: Curl https://ec2.shop by skissane on Wednesday July 01, 2020 @04:48AM (#23699321)
I think text/ecma48 would be a better name. There are lots of ANSI standards. (I guess text/ansi-x3.64 might also work, but text/ecma48 seems simpler.)
Re:Show HN: Curl https://ec2.shop by jasonjayr on Wednesday July 01, 2020 @08:37AM (#23700663)
Yes, I should have been more specific. text/x-term-${TERM} probably would be better, since it could be any number of terminal types...