You probably should double-check the ANSI color test that you did there. There was a typo in the post that suggested it -- the less-explicit form is correct, not the more-explicit.
To make your terminal red text on a black background, run a command like this in your unix shell:
Code:
echo "^[[0;31;40m"
What this does is have the unix shell send the stuff in quotes to the screen, where it is interpreted by your terminal. The first two characters (^[[) tell the terminal that what follows is a command to change some settings. The semicolon separated list of numbers represents colors in various places (0=reset, 31=red FG, 40=black BG), and "m" tells it to use the numbers to set the "mode".
See http://graphcomp.com/info/specs/ansi_col.html#colors.
If it seems that you can't change your colors, you might want to try some of the simpler codes, like:
Code:
echo "^[[6n"
):
Leave a comment: