Results 1 to 7 of 7

Thread: Terminal Help

  1. #1

    jdgti's Avatar
    Member Since
    Mar 14, 2005
    Location
    Atlanta, GA
    Posts
    443
    Specs:
    17" Macbook Pro Unibody 2.66 Ghz and Powerbook G4 1.67 GHz 2.0GB RAM
    Terminal Help
    I have searched the threads on terminal color changing and I am just getting frustrated because nothing is working. I also searched google a bit.

    I found this link

    http://blog.kung-foo.tv/archives/000335.html

    I tried this set of commands

    $ mv ~/termcap-vt100-color ~/.termcap
    $ mkdir ~/.terminfo
    $ setenv TERMINFO "$HOME/.terminfo"
    -bash: setenv: command not found
    $

    What does this mean?

    For some reason when I log into Linux systems I have all different colors for folders, media, system files, text files etc. but in terminal it seems there can only be two different colors controlled by "bold text" and "normal text"

    I wan to be able to actually tell the difference between files in the terminal window by their colors.

    Can this be done?

  2. #2


    Member Since
    Oct 27, 2005
    Posts
    4,702
    Did you download the files on that link first?

  3. #3

    jdgti's Avatar
    Member Since
    Mar 14, 2005
    Location
    Atlanta, GA
    Posts
    443
    Specs:
    17" Macbook Pro Unibody 2.66 Ghz and Powerbook G4 1.67 GHz 2.0GB RAM
    yes, i did.

  4. #4

    cradom's Avatar
    Member Since
    Feb 14, 2004
    Location
    Groves, Texas
    Posts
    4,548
    Specs:
    21in. iMac 10.11 --- HP win 10
    If you read the page, it's for tcsh. It seems you are using bash, and it wont work as described.

    If you want color, put this in your .bashrc file:


    export CLICOLOR='true'
    export LSCOLORS="gxfxcxdxbxegedabagacad"


    The second command isn't really necessary, I just changed some colors to make it more readable for me.
    Delusions are often functional. A motherís opinions about her childrenís beauty, intelligence, goodness, et cetera ad nauseam, keep her from drowning them at birth.
    -Lazarus Long

  5. #5

    mac57's Avatar
    Member Since
    Apr 29, 2006
    Location
    St. Somewhere
    Posts
    4,560
    Specs:
    iMac 27" 3.4 GHz, 256 GB SSD, 2 TB HDD, 8 GB RAM
    An alternative is to establish the following alias in your .bash_profile or .bashrc file:

    alias ls="ls -FG"

    The "G" enables color and the "F" adds slashes for directories, which is a nice touch too.
    My Macs: iMac 27" 3.4 GHz, Mac Pro 3.2 GHz, PowerMac G5 Quad 2.5 GHz, G4 Cube with 1.2 GHz Upgrade
    My iStuff: 64GB iPhone 5, 64GB iPad4, 30GB iPod Video, 16GB iPod Touch
    My OS': Mac OS X Lion, Mac OS X Snow Leopard, Mac OS X Tiger, Mac OS 9.2.2, openSUSE 10.3
    I was on the Mac-Forums honor roll for September 2007

  6. #6

    jdgti's Avatar
    Member Since
    Mar 14, 2005
    Location
    Atlanta, GA
    Posts
    443
    Specs:
    17" Macbook Pro Unibody 2.66 Ghz and Powerbook G4 1.67 GHz 2.0GB RAM
    Quote Originally Posted by mac57 View Post
    An alternative is to establish the following alias in your .bash_profile or .bashrc file:

    alias ls="ls -FG"

    The "G" enables color and the "F" adds slashes for directories, which is a nice touch too.
    This just added the the slashes... still no color...

  7. #7

    jdgti's Avatar
    Member Since
    Mar 14, 2005
    Location
    Atlanta, GA
    Posts
    443
    Specs:
    17" Macbook Pro Unibody 2.66 Ghz and Powerbook G4 1.67 GHz 2.0GB RAM
    yeah, i have been searching, and no luck. i have installed several things that say they work. i must be doing something fundamentally wrong if all these things work. what is everyone's settings on terminal when these flags work?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Month in Terminal is in Russian - only in Terminal!
    By yoandrew in forum OS X - Operating System
    Replies: 4
    Last Post: 12-29-2012, 09:20 AM
  2. Terminal Help?
    By gts1117 in forum OS X - Operating System
    Replies: 2
    Last Post: 08-20-2012, 09:25 AM
  3. Terminal Help
    By LMCLUMD in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 06-15-2011, 04:08 AM
  4. help!! terminal os 10.5.8
    By alcohol in forum OS X - Operating System
    Replies: 10
    Last Post: 04-10-2011, 12:35 PM
  5. using terminal
    By mayflyTR in forum OS X - Operating System
    Replies: 3
    Last Post: 08-22-2010, 05:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •