Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Authentication-Warning: makita.cygnus.com: keiths owned process doing -bs
Date: Thu, 4 Oct 2001 23:58:00 -0700 (PDT)
From: Keith Seitz <keiths AT cygnus DOT com>
To: "Brooks, Stephen" <stephen DOT brooks AT intervoice-brite DOT co DOT uk>
cc: "'Olivier Lefevre'" <Olivier DOT Lefevre AT genedata DOT com>, <cygwin AT cygwin DOT com>
Subject: RE: Weird ls ouput
In-Reply-To: <7D90C72D2739D311B4DA0090279361BD0195EE74@itmailman1.man.brite.co.uk>
Message-ID: <Pine.GSO.4.33.0110042355550.4105-100000@makita.cygnus.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Fri, 5 Oct 2001, Brooks, Stephen wrote:

> > I have looked in a number of places but have failed to understand
> > why 'ls > files' produces something like this:
> >
> > ESC[0mESC[01;34mbinESC[0m/
> > ESC[01;34mdocESC[0m/
> > ESC[0mfilesESC[0m
> > ESC[01;34mi686-pc-cygwinESC[0m/
> > ESC[01;34mincludeESC[0m/
> > etc etc
> >
> > What is the issue?

These look like color codes used by ls --color... Are you trying this from
a DOS prompt? Normally this is off by default. Or at least it was in the
cygwin I installed on my new computer an hour ago.

You can force this off with "ls --color=no". I usually alias the color on
in my own shells, though.

Keith



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/