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

Plain old xterm has a VT340 mode (`-ti vt340`) that supports ReGIS. I'm not sure whether it is complete enough for games to work.



I don't know how much ReGIS it supports, but it very definitely supports sixel graphics quite nicely:

https://mediacru.sh/plKQQj7ymWNT

The only limitation I've found is that the standard ppmtosixel conversion tool spits out 8-bit control-characters, but xterm seems to only recognise their 7-bit equivalents (hence the sed command in that screenshot).


UTF-8 mode is interfering with the 8-bit control-characters. Give `+u8` to disable UTF-8 mode.


It won't let me edit the comment, but I should throw in: xterm must be compiled with `--enable-regis-graphics` (or `--enable-sixel-graphics` for sixel graphics) for it to work. Your distro's xterm might not have been compiled with those flags.


This was the case for me, but rebuilt from source and it worked fine. Given the code exists I wonder why it isn't more common in terminal emulators. Its really handy when you want to pop up a simple picture or a line drawing.


mlterm does sixels at least too.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: