Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.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@cygnus.com>
To: "Brooks, Stephen" <stephen.brooks@intervoice-brite.co.uk>
cc: "'Olivier Lefevre'" <Olivier.Lefevre@genedata.com>, <cygwin@cygwin.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/

