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


Click here to return to the 'Fix hard-to-read colors in xterm' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Fix hard-to-read colors in xterm
Authored by: zojas on Jul 16, '04 05:16:23PM
terminal.app is more accurately described as dtterm, rather than xterm-color. then of course, if you run an actual xterm, you will want xterm-color.

I put this in my ~/.zshenv file. for bash, it would probably be best in ~/.bash_login


if [[ $TERM == 'vt100' ]]
then
  export TERM=dtterm
  #export TERM=xterm-color
elif [[ $TERM == 'xterm' ]]
then
  export TERM=xterm-color
fi
also, I have only /bin/ls. I aliased my ls like this:

alias ls='ls -FvG '
if you wanted to run apple's ls rather than the one in coreutils from fink, change the ls alias like this:

alias ls='/bin/ls -FvG'
I set my LSCOLORS like this:

export LSCOLORS='Fa'


[ Reply to This | # ]
Fix hard-to-read colors in xterm
Authored by: Cerberus on Jul 17, '04 04:50:34PM

That is funny. I posted this info on Apr 11 here and stated that I had to make ZERO changes under 10.3.3. So it might be that apple fixed the terminal for us? I made the same statements I made above (ls -G to enable color output)

http://www.macosxhints.com/article.php?story=20020408225741777

but the point here is that if you are on the recent verions of 10.3 (seemingly .3 or .4) then there is NO NEED to hack away at seeing colors. But as an aside, the blue that we are all after changing is horrible to look at (it is ugly with my/this hint so I have to do something about it!)



[ Reply to This | # ]