Re: ANSI test scripts to test terminal capabilities?

"Dan Mahoney (Gushi)" <[email protected]> Wed, 30 Aug 2023 03:34:17 +0000 (UTC)
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--33658924-737084900-1693366458=:32633
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

On Tue, 29 Aug 2023, Dennis Williamson wrote:

>       I've found https://gist.github.com/sdeaton2/8450564 but I'm looking=
 for
>       something more complete.
>
>       Does anyone know of such a thing?

> A) Use tput or an ANSI library to obtain the code sequences based on the =
TERM setting instead of hard coding them.

It's not my code -- I just wanted to be sure my terminal is doing "the=20
right thing" before I get dozens of "works on my device" responses.  I'm=20
using BSD rather than linux, which people often wrongly poke as the=20
problem,  but an xterm should still be an xterm.

> B) See vttest=C2=A0https://invisible-island.net/vttest/vttest.html for xt=
erm tests

vttest seems to be a tool to regression-test compatibility with the=20
venerable vt100 standard, but it at least confirms that my iTerm and=20
screen setup do "The right thing" with regard to bold text, so I'm more=20
convinced that someone hardcoded a value and forgot to embed the \003=20
correctly.  (Especially considering color works in the same program).

I've reported a bug on github and can call it the end of the day

It would be neat if vttest also supported more modern xterm features like=
=20
image embedding, custom composed characters, ligatures, 256-color support,=
=20
foreign characters, right-to-left encoding, double-wide characters, or=20
even Emoji.

At the very least, it showed me that my terminal doesn't support blinking=
=20
text -- which might be a good thing!

Best,

-Dan

--=20

--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
FB:  fb.com/DanielMahoneyIV
LI:   linkedin.com/in/gushi
Site:  http://www.gushi.org
---------------------------

--33658924-737084900-1693366458=:32633--