Hacker News new | ask | show | jobs
by vardump 3059 days ago
Terminals can display images?

Wow.

I'd consider that pretty amazing and useful for displaying visual information like charts, flame graphs, latency plots etc.

Is this a (de-facto) standard? If not, it should be!

2 comments

Nope, just an iTerm2 feature.

Surprisingly there's nothing similar for Linux distributions - iTerm is for Mac only.

Well there is HTerm which is available for Linux.

http://41j.com/hterm/

Not just graphics, iTerm2 has a whole bunch of other features that you can't find in one terminal on Linux.
Sure but I was responding specifically in the context of GP.

>> Terminals can display images?

xterm supports some graphics through Sixel rendering. Never saw a real use of this. On X11, some text browsers, like w3m render images on xterm by painting directly in the xterm window.
This is a major annoyance for me, a former OS X user (stopped using it turned to shit in all other regards). I have had to work really hard to get text to render well in Linux terminal emulators -- iTerm2 had good typography out or the box, modulo the default typeface.
xterm has a Tek 4014 mode. Here's an older comment with some examples: https://news.ycombinator.com/item?id=7776904
notty [1], although I believe it's dead currently.

[1] https://github.com/withoutboats/notty

You know we live in strange times when Linux falls behind Mac OS on terminal support.
DEC Sixel has been around since the '80s, although I'm not sure how many modern terminal applications support it.