This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: Weird ls ouput
- To: "Brooks, Stephen" <stephen dot brooks at intervoice-brite dot co dot uk>
- Subject: RE: Weird ls ouput
- From: Keith Seitz <keiths at cygnus dot com>
- Date: Thu, 4 Oct 2001 23:58:00 -0700 (PDT)
- cc: "'Olivier Lefevre'" <Olivier dot Lefevre at genedata dot com>, <cygwin at cygwin dot com>
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/