delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/01/21/01:55:53

From: dave AT syncinc DOT com (Dave Finnegan)
Subject: Re: LS_COLORS operational? and info info
21 Jan 1999 01:55:53 -0800 :
Message-ID: <36A63939.C652D302.cygnus.gnu-win32@syncinc.com>
References: <9901192050 DOT AA31879 AT net2 DOT netacc DOT net>
Mime-Version: 1.0
To: "Lincoln, W. Terry" <TerryL AT ultimatetechnology DOT com>
Cc: Michael Hirmke <mh AT mike DOT franken DOT de>,
"'gnu-win32 mail list'" <gnu-win32 AT cygnus DOT com>

I'd like to enable colors ... could you provide the "colors.nt" file, please?

Thanks,

  Dave

"Lincoln, W. Terry" wrote:

> Michael Hirmke wrote:
> > Hi,
> >
> > [...]
> > >prompt> eval 'dircolors colors.nt'
> > >LS_COLORS='<lots of blurb>';
> > >export LS_COLORS
> > >
> > >But LS_COLORS is not actually set.  If I manually set the variable
> myself
> > >(export LS_COLORS='<lots of blurb>') then it works...
> >
> > You have to source the script, so that the env var is added to your
> > actual shell. You are trying to change the environment of the calling
> > shell, which isn't possible in a Unix like environment.
> > So write the commands to .bashrc or some other script
> >
> > >> > ------------------------< snip snip snip
> >-----------------------------
> > >> > eval `dircolors colours-for-ls.nt4`
> > >> > alias ls="ls --color=tty -F -T 0"
> > >> > ------------------------< snip snip snip
> >-----------------------------
> >
> > and then call it with either
> >
> > . ./.bashrc
> >
> > or
> >
> > source ./.bashrc
>
> This actually works quite fine on my Cygwin B20.1 NT-4.0 machine:
> $ eval `(dircolors colors.nt)`
> I think the parens are needed to support the semi-colons generated by the
> program.
>
> >
> > Bye.
> > Michael.
>
> Hope it works for you...
>
>     __
>    |  |    /===============================
>  __|  |__   / For GOD so loved the world that He gave
> |        |  /  His only son, that whosoever believeth on
> |__    __|      /   Him should not perish but have everlasting
>    |  |     /    life.  (John 3:16)
>    |  |    /     mailto:WTerryLincoln AT engineer DOT com
>    |  |   /    May His peace be found in you,
>    |  |  /     W. Terry Lincoln
>  /~~~~~~\ /      (senior engineer - Ultimate Technology Corporation)
> http://www.AngelFire.com/ny/TerryLincoln
> http://www.geocities.com/Eureka/Concourse/7326
>
> -
> For help on using this list (especially unsubscribing), send a message to
> "gnu-win32-request AT cygnus DOT com" with one line of text: "help".

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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