Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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?

share|improve this question
add comment

2 Answers 2

up vote 2 down vote accepted

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

share|improve this answer
    
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 Feb 2 '11 at 16:50
    
Ah I see, answer updated –  conorgriffin Feb 2 '11 at 17:08
add comment

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)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.