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


Click here to return to the '10.3: Return color labeling to the ls command' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Return color labeling to the ls command
Authored by: EatingPie on Oct 31, '03 05:55:15PM

You don't need "xterm-color" as your default. I have used vt100 since Jaguar because I like its idiosycracies (sp?) much more than xterm's. You change your Terminal Preferences to select vt100, and on OS X, vt100 is color compatible.

tcsh

setenv TERM vt100
bash

export TERM=vt100
For gnu ls, you need to tell it that vt100 does support color. In your ".dircolorsrc" file, add the following line if it ain't there:

TERM vt100

That will allow gnu ls to work with vt100. Apple's (BSD's) ls works out-of-box with vt100.

---
-Pie


[ Reply to This | # ]