2

I use emacs/org-mode which uses color for hiding some of the headlines as is shown here. emacs screenshot in Terminal

This works well with Aquamcas, but when I run emacs in text mode, I still see the stars in the headline as I didn't make the background color exactly the same as the color of the font.

How can I match the text color and background color in Terminal?

2 Answers 2

2

Open a terminal window and type some of the text whose color you want to set the background the same as. Then open Terminal preferences.

Click the Window tab and then the Background Color. This brings up a color picker window. Click the magnifying glass in the upper left and move it over the text you want to match the color with. When you click on the text this will set the color you want. You could also set it directly in the RGB slider panel shown in the 2nd image which matches the text color from your image in the question.

Magnifying glass pickerRGB sliders

2
  • Thanks for the answer, I just want to know the color of the * as is shown in the screen to set the background of the color to the same one to hide the * characters.
    – prosseek
    Commented Feb 2, 2011 at 16:50
  • Ah I see, answer updated Commented Feb 2, 2011 at 17:08
1

You might have not enough colors in the terminal. Try

export TERM=xterm-256color

in your ~/.bashrc

Also, are you running

/usr/bin/emacs 

or

/Applications/Aquamacs.app/Contents/MacOS/Emacs -nw 

The two behave differently (in /usr/bin/emacs you may have Emacs 22)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .