delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/11/20:43:13

X-Spam-Check-By: sourceware.org
Message-ID: <452D8F8D.4010103@byu.net>
Date: Wed, 11 Oct 2006 18:42:53 -0600
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.4.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Problems with 'dircolors'
References: <CA77FC40E7A2D24695CF3C790BB731858862CE AT DOVMS10001 DOT goss DOT gossinternational DOT com>
In-Reply-To: <CA77FC40E7A2D24695CF3C790BB731858862CE@DOVMS10001.goss.gossinternational.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Long, Phillip GOSS on 10/11/2006 3:56 PM:
> Mea culpa; I dropped the ball.
> 
> Try putting this line immediately after the `eval' line:
> 	export LS_COLORS

Useless advice.  Have you looked at the output of dircolors?  It already
includes the necessary export line.  Not to mention that if LS_COLORS were
left a shell variable instead of exported, ls would not be able to see the
changes in the first place.  Trust me, dircolors is designed to work with
ls, so any extra steps would be the sign of a bug in dircolors.

Oh, by the way, if you use tcsh, be aware that it also uses the LS_COLORS
environment variable internally, but that it does not understand quite as
many options as ls does and gripes about what it doesn't understand, which
is why I had to patch the cygwin version of LS_COLORS to silence stderr
during the tcsh eval.  Hopefully, a newer release of tcsh will allow me to
remove that hack from coreutils.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFLY+N84KuGfSFAYARAiQvAJ9wD/0gSpeHA5kaM4VXDU+NawZ1KwCgit2M
l6TESRhU8KMQ6eRYIW9TqH0=
=iP0q
-----END PGP SIGNATURE-----

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019