VT340 Emulation

Grant Taylor cctalk at gtaylor.tnetconsulting.net
Sun Jun 20 17:06:48 CDT 2021


On 6/19/21 11:47 AM, Douglas Taylor via cctalk wrote:
> Really?  I'm interested.  How do you build your own xterm?

Download and extract the source code.

Here's the configure command that I most recently used before teaching 
Gentoo's ebuild about Sixel and ReGIS.  (The command is derived from the 
ebuild I was patterning off of.)

./configure --build=x86_64-pc-linux-gnu --datadir=/usr/share 
--disable-full-tgetent --disable-imake --disable-setgid --disable-setuid 
--disable-toolbar --enable-256-color --enable-broken-osc 
--enable-broken-st --enable-dabbrev --enable-exec-xterm --enable-i18n 
--enable-load-vt-fonts --enable-logging --enable-luit --enable-mini-luit 
--enable-openpty --enable-regis-graphics --enable-screen-dumps 
--enable-sixel-graphics --enable-warnings --enable-wide-chars 
--host=x86_64-pc-linux-gnu --infodir=/usr/share/info --libdir=/etc 
--localstatedir=/var/lib --mandir=/usr/share/man --prefix=/usr 
--sysconfdir=/etc --with-app-defaults=/usr/share/X11/app-defaults 
--without-Xaw3d --without-xinerama --with-utempter --with-x

The key part is "--enable-sixel-graphics" and / or 
"--enable-regis-graphics".  I'm also partial to the "--enable-256-color" 
and "--enable-screen-dumps".

The screen dumps mean that XTerm will save XHTML and / or XML dumps. 
Meaning they are text that you can search / copy paste.  }:-)

P.S.  My messages to cctech don't seem to be going through.  So I'm 
re-replying to the message to cctalk.



-- 
Grant. . . .
unix || die


More information about the cctech mailing list