bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

directory colors on AIX


From: ray . mccaffity
Subject: directory colors on AIX
Date: Wed, 22 Jun 2005 10:19:50 -0500

 bash --version
GNU bash, version 3.00.0(1)-release (powerpc-ibm-aix5.2.0.0)
Copyright (C) 2004 Free Software Foundation, Inc.

I am running AIX 5.2.
I copied the /etc/DIR_COLORS from a linux box, and added the 
alias ls='ls --color=auto' to my .bashrc file.
It mostly seems to work.   The colors for the directories, links and 
executables
are all OK.  But my tar's and gz's and bz2's are not red.

It's almost like everything here...

NORMAL 00       # global default, although everything should be something.
FILE 00         # normal file
DIR 01;34       # directory
LINK 01;36      # symbolic link
FIFO 40;33      # pipe
SOCK 01;35      # socket
BLK 40;33;01    # block device driver
CHR 40;33;01    # character device driver
ORPHAN 01;05;37;41  # orphaned syminks
MISSING 01;05;37;41 # ... and the files they point to 
# This is for files with execute permission:
EXEC 01;32 

is the part that works.
while this part...
.tar 01;31 # archives or compressed (bright red)
.tar 31 # archives or compressed (bright red)
.tgz 01;31
.arj 01;31
.taz 01;31
.lzh 01;31
.zip 01;31
.z   01;31
.Z   01;31
.gz  01;31
.bz2 01;31
.bz2 31
.bz  01;31
.tz  01;31
.....doesn't work.
I have tried downloading bash from several freeware sites already 
pre-compiled.  I have even compiled my own.
It's great.  But just wonder why all the colors don't work.  A minor 
annoyance, true.  But maybe you have an easy answer.
I have also used several different SSH and Telnet clients, (the colors are 
correct when I log onto Linux servers).

Ray McCaffity
Midrange Cluster and Database
651.962.1063
ray.mccaffity@usbank.com 
------------------------------------------------------------------------------
Electronic Privacy Notice. This e-mail, and any attachments, contains 
information that is, or may be, covered by electronic communications privacy 
laws, and is also confidential and proprietary in nature. If you are not the 
intended recipient, please be advised that you are legally prohibited from 
retaining, using, copying, distributing, or otherwise disclosing this 
information in any manner. Instead, please reply to the sender that you have 
received this communication in error, and then immediately delete it. Thank you 
in advance for your cooperation.
==============================================================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]