HomeRamblings  ⁄  Macs

Macs

Changing ANSI colors in Terminal on Macs

Probably the most frustrating experience I have had with Macs so far is figuring out how to change the ANSI colors in Terminal (Terminal.app) so that I can read the outputs of **man** and most especially **ls** and comments in **vi** when colorization is activated and I have chosen a dark background theme. I am using Mac OS X Leopard 10.5.4 at the time of this writing. These are the steps I took to fix that most hideous of all colors, dark blue on black background: 1. Set your terminal theme colors to your liking 2. Set up **ls** to colorize directory listings by default. There are two ways to do this: Either set the CLICOLOR Environment variable or add an alias for ls to include the -G flag. I chose the CLICOLOR flag: ~~~ config export CLICOLOR=1 ~~~ 3.… read more


Why Macs?

For Years, I have used nothing but Microsoft Windows desktops and my development effort was 100% Windows based systems. Long story, short, lets just say I knew way more about the inner bowels of Windows and its various API's than I will ever care to recall nowadays. Around 2001, I realized "The Web" was where the future lies and took nine months off from doing paid contract work to rediscover UNIX, or more specifically Linux where I set up DSL and my first server at home and ran various websites off Zope (python-based CMS). But I still used Windows as my main desktop. Then around late 2005 or early 2006, our company, which does Ruby on Rails development, decided to buy a couple of the first Intel MacBook Pros and give them a whirl. It all started as our quest… read more