[TUHS] Seeking wisdom from Unix Greybeards

Larry McVoy lm at mcvoy.com
Wed Nov 25 11:38:14 CST 2020


man 1 tput

is what I use.

On Wed, Nov 25, 2020 at 10:14:55AM -0700, Grant Taylor via TUHS wrote:
> 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
> 



-- 
---
Larry McVoy            	     lm at mcvoy.com             http://www.mcvoy.com/lm 


More information about the cctalk mailing list