Created attachment 169734 [details] xterm-regis.diff current version of xterm supports ReGIS graphics. atached patch allows to enable this feature.
I was able to compile xterm with ReGIS support but failed to produce anything useful with some samples I found on wikipedia. Just out of curiosity, do you happen to have a sample script or testcase?
Created attachment 169743 [details] regis-sample.txt
ReGIS support will be enabled for a particular terminal id setting. Launch xterm with "-ti 340" option and display attached sample file. (Same as Wikipedia's sample)
(In reply to IWAMOTO Kouichi from comment #3) Thank you, that worked. I must have messed up the escape sequence. I'll commit the patch shortly.
A commit references this bug: Author: ehaupt Date: Wed Apr 27 11:37:50 UTC 2016 New revision: 414101 URL: https://svnweb.freebsd.org/changeset/ports/414101 Log: Provide an option to build with ReGIS graphics support. PR: 209083 Submitted by: IWAMOTO Kouichi Changes: head/x11/xterm/Makefile
Committed, thanks!