Hacker News new | past | comments | ask | show | jobs | submit login

https://st.suckless.org/ used to have a circa st-0.8 fork that supported full color sixel graphics, but it seems that specific patch is not in the official list anymore. [1] I think the work moved to https://github.com/jhhuh.

You can even compose the gnuplots with the scrollback patch to scroll back in your gnuplots. I use this all the time. In fact, I just have GNUTERM="sixelgd enhanced linewidth 3 fontscale 2 size 1600,900 truecolor" in my environment variables.

Combined with shell history (or gnuplot history) this makes for a rudimentary "notebook"-like interface, but with a log instead of a file to record state.

[1] https://st.suckless.org/patches/




There’s an alacritty fork with sixel support[1], albeit without vector support.

There’s also kitty that has some improvements over sixel[2]

[1] https://github.com/microo8/alacritty-sixel

[2] https://sw.kovidgoyal.net/kitty/graphics-protocol/


Yeah. Good points!

You could also use the techniques of [1] but use `set term png` and `set output "/tmp/pl.png"` instead and then auto-launch any image viewer on "/tmp/pl.png" instead of relying on terminal graphics at all.

[1] https://news.ycombinator.com/item?id=34366758


That would completely defeat the point! :)


Lol :)





Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: