News for hackers. Stuff that matters.
Re:A calculator for the Terminal that renders beautiful math by albertzeyer on Sunday January 12, 2020 @06:28AM (#22025768)
I hope that we will eventually get image support in terminals, and then projects like this can be much easier and still much nicer and more powerful, e.g. also plotting graphs, and much more, similar as what you get in a Jupyter notebook.

There is a long ongoing discussion about an upcoming standard for image support in terminals: https://gitlab.freedesktop.org/terminal-wg/specifications/is...

Re:A calculator for the Terminal that renders beautiful math by pmkary on Sunday January 12, 2020 @07:10AM (#22025918)
Nota is not much about calculator itself, it's about fun with ASCII art. there exists tons of more powerful calculators with much much better rendering. But I really agree, if we had a better system than text-only terminals it would have been sooo amazing
Re:A calculator for the Terminal that renders beautiful math by wfdctrl on Sunday January 12, 2020 @06:58AM (#22025877)
Kitty
Re:A calculator for the Terminal that renders beautiful math by albertzeyer on Sunday January 12, 2020 @07:03AM (#22025895)
Kitty also has their own custom protocol for images. That's exactly what they try to accomplish in this discussion thread, to get one common protocol which is used by all modern terminals. The developer of Kitty is also in there.
Re:A calculator for the Terminal that renders beautiful math by fit2rule on Sunday January 12, 2020 @06:32AM (#22025782)
We've had image support in terms possible for years. I don't think that's what's needed to make a nice command line math program.

Instead, we need term programs that can handle type ligatures better. Being able to use something like FF Chartwell in a terminal would be amazing .. and would lead the way to having properly formatted mathematical notation in the terminal, without requiring a new standard to implement. Ligatures are already a thing - they just need to be better supported by the term apps.

Re:A calculator for the Terminal that renders beautiful math by albertzeyer on Sunday January 12, 2020 @06:46AM (#22025835)
You probably mean SIXEL? That is very limited, has drawbacks, and is not supported by many terminals (not exactly sure why, maybe too complicated, or too ugly). It's also discussed exactly in that thread. Developers from tmux, iTerm, mintty, xterm.js, Kitty, and others are in there.
Re:A calculator for the Terminal that renders beautiful math by unicas on Sunday January 12, 2020 @09:57AM (#22026523)
Re:A calculator for the Terminal that renders beautiful math by fit2rule on Sunday January 12, 2020 @06:56AM (#22025871)
SIXEL for displaying bitmap images, yes.

But I mean that term apps should have better support for ligatures - as in font/type ligatures - for doing proper mathematics.

Re:A calculator for the Terminal that renders beautiful math by pmkary on Sunday January 12, 2020 @07:11AM (#22025923)
Also there is a deep need for better fonts. Currently only Menlo renders things right.