[TUHS] Seeking wisdom from Unix Greybeards

Grant Taylor gtaylor at tnetconsulting.net
Thu Nov 26 03:14:55 AEST 2020


Hi,

As I find myself starting yet another project that that wants to use 
ANSI control sequences for colorization of text, I find myself -- yet 
again -- wondering if there is a better way to generate the output from 
the code in a way that respects TERMinal capabilites.

Is there a better / different control sequence that I can ~> should use 
for colorizing / stylizing output that will account for the differences 
in capabilities between a VT100 and XTerm?

Can I wrap things that I output so that I don't send color control 
sequences to a TERMinal that doesn't support them?



-- 
Grant. . . .
unix || die

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4013 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20201125/b849a04b/attachment.bin>


More information about the TUHS mailing list