The problem with that is you are limited to the old DOS colours, almost none of which are suitable for reading text. I can figure out how this is supposed to work, perhaps I can track down why it is not working.It looks like the "bright" bit gets lost; I don't know how. But to change the background color, I suggest CLS /C:
cls /c black on bright yellow
But, looking at your screenshot, the text background is bright yellow. Therefore the palette entry for "bright yellow" is set correctly. I suspect you're somehow filling the console buffer with the wrong value, which gets overwritten with the right value as text is written to the console.My gut feeling is it may have something to do with which palette entry is selected when you pick a new colour numerically.
I started in TCC OPTION. I set the 3 foreground and 3 background colours.Is this in a stand-alone TCC console window, or in a Take Command tab window?
How did you configure your colors? There are multiple ways to do it :
Each approach has advantages and disadvantages; without knowing how you're setting your colors I can't provide an answer on how to correct it.
- The registry
- The console properties
- The Take Command configuration dialog (Tabs / Windows)
- The TCC configuration dialog (OPTION / Windows)
- ANSI strings
This works, but gives you very limited colour selection. Is it possible for an enhanced CLS that uses two (or six) html #rrggbb colour numbers? or is there some legacy DOS restriction? With that I could ignore the settings in the BTM properties and the palettes.But, looking at your screenshot, the text background is bright yellow. Therefore the palette entry for "bright yellow" is set correctly. I suspect you're somehow filling the console buffer with the wrong value, which gets overwritten with the right value as text is written to the console.
Did you try CLS /C BLACK ON BRIGHT YELLOW ?
I have discovered three facts that may be germane.I had to reinstall Windows and TCC recently. Now colours are behaving strangely.
I configured black on pale yellow, which it does where where there is text, but leaves the rest of the screen a dark yellow green. Where did it get that colour from?
It's part of Windows. A console's palette contains only 16 colors. You can change what those 16 colors are ... temporarily, as you point out above, or permanently by setting defaults. The entries in HKEY_CURRENT_USER\Console are the defaults. The entries in sub-keys are those specific to various console apps. I don't know if the app-specific ones can be changed (and remembered) from a dialog.2. When I use a colour number, I can get any 32-bit colour background I desire for the rest of the run. The problem is sticking for the next run. I still don't know if this is part of TCC or part of Windows.