The CScript command te.SetRGBEntry() does not change colors already on screen. It only takes effect when the screen is refreshed. For example, if you use the keyboard to scroll back and forth — Ctrl-PageUp and Ctrl-PageDown — the screen clears in the correct colors.
The colors don’t always change immediately, either. If you set up a startup script with a color change, it’s not in effect until something “pushes” it. Typing clear at a shell prompt is not enough. However, if you run Midnight Commander on Linux for example (enter mc at a shell prompt), the colors come up correctly. When you exit Midnight commander, though, the screen washes clear in a blue background before returning to the correct colors. Then you can use clear successfully at the prompt.
CR 649
This entry was posted
on Monday, April 30th, 2007 at 1:51 pm and is filed under CScript.
You can follow any responses to this entry through the RSS 2.0 feed.
Both comments and pings are currently closed.