X-Spam-Check-By: sourceware.org
X-BigFish: V
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Subject: RE: Problems with 'dircolors'
Date: Wed, 11 Oct 2006 17:56:49 -0400
Message-ID: <CA77FC40E7A2D24695CF3C790BB731858862CE@DOVMS10001.goss.gossinternational.com>
From: "Long, Phillip GOSS" <Phillip.Long@gossinternational.com>
To: <cygwin@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k9BLvG7b023069

 

-----Original Message-----
From: Ricardo Cardoso
Sent: Wednesday, October 11, 2006 4:47 PM
To: cygwin mailing list
Subject: Re: Problems with 'dircolors'

Thanx in advance for the provided solution Philip, but I just can't
get it to work.
 You said:

`dircolors' comes with its own built-in colorization scheme; that's what
U get when U type `dircolors --print-database.'  If U want to
_customize_ your colorization scheme, dump the database to a file, like
<snip>
                                    *
                                    *
                                    *
</snip>
environment variable) in the context of the current process (sort of
like using `source' or `.').

HTH!

                                       Phil the Old Coder



I understand a bit more about the environment variable and I've done
exactly like you said.
I have a bash shell so I edited .bash_profile, usin VIM (it's awesome)
and then exited, entered cygwin again, startx, ls ..  nothing...
Everythings the same...

Any more solutions or ideas, anyone...?

Stuccio

--



Stuccio:

Mea culpa; I dropped the ball.

Try putting this line immediately after the `eval' line:
	export LS_COLORS

If U don't export an environment variable, it isn't passed to
subordinate processes (only the login shell gets it).  Again, I
apologize for forgetting this step; I use the exact line I said to use,
but it's in a file sourced by .bashrc, which is itself executed by
_every_ interactive shell, which means I don't have to export it to have
it available to every shell (I have my silly reasons for doing it this
way).

					Thx, Phil the Old Coder




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


