|
|
Log in / Subscribe / Register

Have to disagree about color support

Have to disagree about color support

Posted Jun 7, 2004 19:38 UTC (Mon) by Ross (guest, #4065)
Parent article: The Grumpy Editor's guide to terminal emulators

The set of colors isn't arbitrary, it's defined by the ANSI terminal
standard which is an extension of DEC's visual terminal specification.
Criticizing the color selecting is completely counterproductive. That
decision was made by an ANSI committe.

And, as you point out, you can change what these colors are, so you aren't
stuck with the standard ones.

What you seem to really want, though you don't say it, is a new set of
escape codes which allow use of any color, or at least color themes like
"ESC-[-3-T-<name>-;" where name can be something like "text_background".
Or maybe a way for clients to override the ANSI color pallette with new
colors. Then you could have your login scripts print out the magic codes
without having to know what kind of terminal emulator you were using. It
could be wrapped in a nice program "setansi -red e02020 -yellow e0e010"
or similar. Maybe there could be a .ansirc and you could do "setansi
-profile work" or "setansi -profile home".

It would be nice the terminal codes could be standardized in an open forum
with input from many developers (application and terminal emulators) than
for one terminal program to silently implement it. There are far too many
undocumented extensions already.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds