Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Defense | 12 comments | Create New Account
Click here to return to the 'Defense' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Defense
Authored by: dete on Mar 26, '02 04:59:33PM

As the author of this hack I have a few words to say in my defense:

1 - I purposely submitted this hack with no step-by-step directions: I hoped to scare away anyone who wasn't very comfortable with hex-editing and/or PowerPC assembly language.

2 - This hack is *not* the same as changing the dir colours, or modifying the colour map for vim, or wherever else colours are defined.

You see, there are 8 basic colours command line tools can display: black, white, red, green, blue, cyan, yellow and magenta. However, the terminal program (in this case "Terminal") gets to decide what precise shade to use for those colours. By changing the dir colours, or other user-accessible preferences, the best you can do is tell all your software to never use the blue colour, leaving you with only 7 colours to pick from. I didn't want that!

So, I hacked Terminal to change its definition of "blue". It's only slightly brighter (0.2, 0.2, 1) vs. (0, 0, 0.8), but it allows me to use all 8 colours on my terminal (transparent black).

In deference to greygent: It *is* stupid, and it is dangerous. But I had fun tracking it down and I was pleased with the result. I hoped that at least one other "hacker" out there might appreciate the info, so I submitted it here.

I'd be interested in hearing if anyone else out there was crazy enough to try it...

:-)



[ Reply to This | # ]
Defense
Authored by: risc_abacus on Mar 26, '02 05:08:10PM

Could you please clarify one some tidbit for me... your using the GNU version of 'ls' from fileutils... and not the apple version of 'ls' correct? …. Since (from what I know) only the GNU file utilities version of ‘ls' has color…. Correct me if I'm wrong please.



[ Reply to This | # ]
Gnu ls
Authored by: dete on Mar 26, '02 05:23:42PM

Yup. I got GNU ls using Fink, but there are other sources (follow the links above)...



[ Reply to This | # ]
Defense
Authored by: phayd on Mar 27, '02 02:03:35AM

I guess I don't see the point. All you need to do is go Terminal->Preferences.

Guess what? The background color is an option in the "Text & Colors" screen.

Here is a step by step guide to changing colors...

1. Change the color in Terminal. Make sure to hit "apply"
2. Quit terminal
3. Change the transparency in TinkerTool.
4. Open Teminal to the baby-blue goodness(?) of your transparent terminal.

Now, on the other hand, if you tracked down the bugs in Entourage...



[ Reply to This | # ]
Defense
Authored by: phayd on Mar 27, '02 02:06:26AM

<me> Insert foot in mouth. </me>I see what you did, you changed the text color of dark blue, as your terminal screen is black.



[ Reply to This | # ]