delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/16/16:35:28

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,TW_RX,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <650494.62332.qm@web25505.mail.ukl.yahoo.com>
Date: Sat, 16 Oct 2010 21:35:11 +0100 (BST)
From: Marco Atzeri <marco_atzeri AT yahoo DOT it>
Subject: R: LS_COLORS filetype color definitions are ignored
To: cygwin AT cygwin DOT com
In-Reply-To: <AANLkTi=D6QYS_2WFdJ+uknEtib5Xrq9gBfC2CfsFRUqu@mail.gmail.com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

--- Sab 16/10/10, Thayer Williams  ha scritto:

> Hi all,
>=20
> I'm having trouble getting any of cygwin terminals to
> render LS_COLORS
> values for filetypes. Directories, links and executables
> are rendered
> in color, but individual files (zip archives, movies, etc.)
> are
> displayed all in one color. Found some years-old solutions
> on google,
> but none have worked.
>=20
> Any suggestions?=A0 Can someone confirm it works for
> them in any case?
> See below for specifics.
>=20
> I'm using a freshly generated ~/.dircolors file
>=20
> It's correctly evaluated and exported as :
>=20
> $ echo $LS_COLORS
>
 rs=3D0:di=3D01;34:ln=3D01;36:mh=3D00:pi=3D40;33:so=3D01;35:do=3D01;35:bd=
=3D40;33;01:cd=3D40;33;01:or=3D40;31;01:su=3D37;41:sg=3D30;43:ca=3D30;41:tw=
=3D30;42:ow=3D34;42:st=3D37;44:ex=3D01;32:*.tar=3D01;31:*.tgz=3D01;31:*.arj=
=3D01;31:*.taz=3D01;31:*.lzh=3D01;31:*.lzma=3D01;31:*.tlz=3D01;31:*.txz=3D0=
1;31:*.zip=3D01;31:*.z=3D01;31:*.Z=3D01;31:*.dz=3D01;31:*.gz=3D01;31:*.lz=
=3D01;31:*.xz=3D01;31:*.bz2=3D01;31:*.bz=3D01;31:*.tbz=3D01;31:*.tbz2=3D01;=
31:*.tz=3D01;31:*.deb=3D01;31:*.rpm=3D01;31:*.jar=3D01;31:*.rar=3D01;31:*.a=
ce=3D01;31:*.zoo=3D01;31:*.cpio=3D01;31:*.7z=3D01;31:*.rz=3D01;31:*.jpg=3D0=
1;35:*.jpeg=3D01;35:*.gif=3D01;35:*.bmp=3D01;35:*.pbm=3D01;35:*.pgm=3D01;35=
:*.ppm=3D01;35:*.tga=3D01;35:*.xbm=3D01;35:*.xpm=3D01;35:*.tif=3D01;35:*.ti=
ff=3D01;35:*.png=3D01;35:*.svg=3D01;35:*.svgz=3D01;35:*.mng=3D01;35:*.pcx=
=3D01;35:*.mov=3D01;35:*.mpg=3D01;35:*.mpeg=3D01;35:*.m2v=3D01;35:*.mkv=3D0=
1;35:*.ogm=3D01;35:*.mp4=3D01;35:*.m4v=3D01;35:*.mp4v=3D01;35:*.vob=3D01;35=
:*.qt=3D01;35:*.nuv=3D01;35:*.wmv=3D01;35:*.asf=3D01;35:*.rm=3D01;35:*.rmvb=
=3D01;35:*.flc=3D01;35:*.avi=3D01;35:*.fli=3D01;35:*.flv=3D01;35:*.gl=3D01;=
35:*.dl=3D01;35:*.
xcf=3D01;35:*.xwd=3D01;35:*.yuv=3D01;35:*.cgm=3D01;35:*.emf=3D01;35:*.axv=
=3D01;35:*.anx=3D01;35:*.ogv=3D01;35:*.ogx=3D01;35:*.aac=3D00;36:*.au=3D00;=
36:*.flac=3D00;36:*.mid=3D00;36:*.midi=3D00;36:*.mka=3D00;36:*.mp3=3D00;36:=
*.mpc=3D00;36:*.ogg=3D00;36:*.ra=3D00;36:*.wav=3D00;36:*.axa=3D00;36:*.oga=
=3D00;36:*.spx=3D00;36:*.xspf=3D00;36:
>=20
> TERM is correct (and it fails with the default cygwin bash
> shell too):
>=20
> $ echo $TERM
> rxvt-cygwin
>=20
> Neither 'ls --color=3Dauto' nor 'ls --color=3Dtty' render
> individual
> colors for filetypes, however the main three categories
> (dir,ln, and
> executable files) are colorized.
>=20
> Any help would be most appreciated.
>=20
> Cheers,
>=20
> Thayer
>=20

on my PC after
eval "`dircolors -b /etc/DIR_COLORS`"

all the zips come red

Regards
Marco




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

- Raw text -


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