News for hackers. Stuff that matters.
Re:Show HN: The worst ANSI renderer, except for all the others by shoo on Tuesday January 08, 2019 @07:30AM (#18855037)
see also: squeezing 1024 colours out of a 1981 IBM 5150 with a CGA display:

https://trixter.oldskool.org/2015/04/07/8088-mph-we-break-al...

Explanation & pictures of how some of the techniques work:

https://int10h.org/blog/2015/04/cga-in-1024-colors-new-mode-...

Re:Show HN: The worst ANSI renderer, except for all the others by christianvozar on Tuesday January 08, 2019 @08:30AM (#18855355)
Should try rendering some of this. http://blocktronics.org
Re:Show HN: The worst ANSI renderer, except for all the others by hpjansson on Tuesday January 08, 2019 @08:40AM (#18855407)
Oh, that's the stuff.
Re:Show HN: The worst ANSI renderer, except for all the others by daleroberts on Tuesday January 08, 2019 @12:02AM (#18853303)
You can get even better rendering quality if you are willing to use Unicode 9.0 characters: https://github.com/daleroberts/tv
Re:Show HN: The worst ANSI renderer, except for all the others by hpjansson on Tuesday January 08, 2019 @08:03AM (#18855229)
I'm already using the Unicode block range, and a little from the symbols, geometry, math and braille ranges. You can turn ranges on/off and combine them in different ways.

There's ASCII too in some of the examples because I think it works pretty well as a complement to blocks, when used for dithering only (--fill ascii).

I'm always looking for more Unicode symbols to put to use, though. I think PETSCII and Teletext symbols are supposed to make it into the standard soon, if they haven't already.

Edit: Forgot to mention TV looks very good, an actual useful tool for big geo images.

Edit 2: Here's the PETSCII etc. proposal: https://www.unicode.org/L2/L2017/17435r-terminals-prop.pdf

Will be a blast when/if it gets adopted and font support catches up.

Re:Show HN: The worst ANSI renderer, except for all the others by Freak_NL on Tuesday January 08, 2019 @05:45AM (#18854659)
Are those Unicode 9 and later? It looks like those were all supported since Unicode 3.2.
Re:Show HN: The worst ANSI renderer, except for all the others by m4r35n357 on Tuesday January 08, 2019 @06:48AM (#18854887)
I can't see any mention of video there.
Re:Show HN: The worst ANSI renderer, except for all the others by chairmanmow on Monday January 07, 2019 @04:48PM (#18850515)
This is great, I've been working on something that tries to do something similar among other things. ANSI's going to come back in a big way - I got a hunch!
Re:Show HN: The worst ANSI renderer, except for all the others by hahamrfunnyguy on Tuesday January 08, 2019 @08:21AM (#18855320)
Now I can finally stop using AcidDraw to build my web site graphics and start using Chafa instead. More colors to boot!
Re:Show HN: The worst ANSI renderer, except for all the others by chairmanmow on Tuesday January 08, 2019 @03:01PM (#18859087)
Here's what I made, but I'm keeping it stealth this month. I did make an editor/Converter, it's not great, but it makes ANSI's, and 256 colors as well. It's what I did with those ANSI's that's interesting - I stored them in the blockchain as non-fungible and created a neural network based off them. It's done, it's coming. Just don't want it all to come too fast.
Re:Show HN: The worst ANSI renderer, except for all the others by _xerxes_ on Monday January 07, 2019 @05:58PM (#18851153)
ANSI what? They have overseen many many standards.
Re:Show HN: The worst ANSI renderer, except for all the others by hpjansson on Monday January 07, 2019 @06:16PM (#18851295)
ANSI X3.64 plus almost 30* years of oddball extensions. For a long time, "ANSI codes" or even just "ANSI" was almost synonymous with that (increasingly loosely defined) standard, at least in the context of terminal graphics.

Now I'm not sure that still holds, but I decided the post title didn't need to be even longer and more arcane :)

* Edit: That should be 40, actually. Time flies.

Re:Show HN: The worst ANSI renderer, except for all the others by vetrom on Monday January 07, 2019 @11:27PM (#18853145)
You could always add tek4xxx overlay support.
Re:Show HN: The worst ANSI renderer, except for all the others by pragmatick on Tuesday January 08, 2019 @02:30AM (#18853937)
As someone who has played around with the ASCII/ANSI output (and knows nothing about the matter) that's really impressive.
Re:Show HN: The worst ANSI renderer, except for all the others by benj111 on Tuesday January 08, 2019 @07:04AM (#18854945)
So how long will it be before someone puts a gui desktop in a terminal?
Re:Show HN: The worst ANSI renderer, except for all the others by hpjansson on Tuesday January 08, 2019 @08:26AM (#18855338)
You can get halfway there if you combine Xvfb's -fbdir option and Chafa's --watch option. Chafa supports the XWD format Xvfb puts out.

Have to do input with xdotool, though :)

Re:Show HN: The worst ANSI renderer, except for all the others by 300bps on Tuesday January 08, 2019 @07:42AM (#18855116)
Background for anyone unfamiliar:

https://en.m.wikipedia.org/wiki/ANSI_art

I would’ve killed for this in 1985.