Apple Software

ANSI Color In Mac OS X 10.4

By default when connecting over SSH to my Mac OS X 10.4 box (using bash shell), there’s no ANSI color. Sometimes it’s pretty handy to have. I keep forgetting how to turn it on.

To add, put the following in the .profile file in your home directory:

TERM=xterm-color; export TERM

Now when I SSH in, I get ANSI color goodness.

Hopefully next time I’ll just look for this post.

3 replies on “ANSI Color In Mac OS X 10.4”

Link those config files to a directory in your public_html space (and leave that dir browsable), then they’re easier to find than digging through blog archives … would like to find programs that start loading my preferences (and saving them) up like this over the wire.

Cool new blog layout.

@Scott Fitchet: The nice thing about using a blog entry is that it’s indexed by search engines, and worded in my own words. So next time I wonder how to do this… it will likely be in the first 5 results of my search.

Leave a Reply

Your email address will not be published. Required fields are marked *