On 8/23/06, Chris Gehlker <canyonrat / mac.com> wrote: > On Aug 22, 2006, at 4:46 PM, David Vallner wrote: > > > Personally, I'd just avoid hacking arbitrary programs to support > > colour schemes, and instead do a wrapper shell script that will > > redefine the ANSI colours in your terminal of choice. > > My original understanding was that this could not, in general, be > done in since the ANSI standard for terminals was, in fact, a > hardware standard with the meaning of control codes 'built-in'. A bit > of googling has tends to confirm this impression with some sites > insisting it can't be done and another outlining an idiosyncratic > method that works in one terminal emulation program. My Unix Shells > book does not have anything that hints on being able to configure > ansi or VT102 or sun or wyse terminals on this level. > > But I'm pretty ignorant on the subject. I'd welcome a pointer. That's my impression as well. And since some terminals come with light bacground, and others with dark background no single color can be used for highlighting safely. Unless you set the background as well but that would be too invasive I guess. Moreover, even if you could set the colors I doubt you could tell what the background color is. Thanks Michal