This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Weird ls ouput


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]