Re:Show HN: GNUplot with sixel – Mix images, ANSI colors and...
by csdvrx on Friday March 29, 2019 @02:03PM
(#19524045)
sixel work under tmux and screen. Check my repository https://github.com/csdvrx which is just cloned from existing branch by arakiken
I added screenshots of gnuplot running under both tmux and screen, using msys2 and mlterm
A vectorial support would be nice, but adding svg and a custom format like for iterm may better: Tektronix 4010 graphics is not as widely supported as sixel, and it may be a better start from scratch.
Re:Show HN: GNUplot with sixel – Mix images, ANSI colors and...
by rbanffy on Monday April 01, 2019 @10:08AM
(#19543351)
How does it account for character width? Isn't a sixel a 1-pixel wide, 6-pixel tall bitmap? Does an actual DEC terminal round them to the next character boundary? Can you write text to a line that started with sixels? Can you write sixels after outputting some characters in the same line? How does a vertical screen partition look like? Are sixel graphics compressed when the terminal is in 132-column mode?
I saw this video of an actual VT-320 terminal displaying sixel graphics: https://www.youtube.com/watch?v=0SasrQ7pnbA. Someone should check what the behavior is under tmux and screen (at least).
The person also has REGIS and 4014: https://www.youtube.com/watch?v=afNuDH7QpYA and https://www.youtube.com/watch?v=kIF0sXQn0RI
Re:Show HN: GNUplot with sixel – Mix images, ANSI colors and...
by vngzs on Friday March 29, 2019 @04:13PM
(#19525206)
Link for the impatient: https://github.com/csdvrx/sixel-gnuplot/blob/8c3750a68ab6d1f...
It'd be nice to have an agreed-upon simple standard for graphics in terminals. At the same time, Unicode 13 will add 2x3 graphics blocks from ITU T.100 and T.101 standards and a couple fonts will start supporting them from the start, so some lower resolution graphics will be immediately useful.
I'm not sure if sixels will work under tmux or screen - someone mentioned they do, but I'm not sure how: the same problem we have with double-width and double-height (I wanted VTW to support them) and we all agreed it'd make tmux and screen essentially unusable.