delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/06/24/05:24:44

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:references:message-id:date:from:reply-to
:subject:to:in-reply-to:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=JJ3kXsTkVe5/kHv3
+I6mf2q6Q4dAXzF5ait+YEHvSl9KPGyK2nnbAffA1DmdKaRmYGSW3wLhH1mUHQvA
iZyitzfeYeR/ugu4JhDxn+H2SkucDOR/c16LrmoBIMLYBQNY0VSHpb4Nl7DIg5gt
+yaQz3XVRySpkRdVliWI5t6uZfw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:references:message-id:date:from:reply-to
:subject:to:in-reply-to:mime-version:content-type
:content-transfer-encoding; s=default; bh=LLEfmdfyeWUi44DojMfLYv
1pGuw=; b=Pw9VhNR6j2hxGnnwgl4ilWawsMsg682ko+G7c1cETrS6O67Dd1IEg2
1SO9vvI110FtxEBXHwRtN8i9npCr6MvgxoaiBc6KeMHTdAB419s3YRZ1Vu1s+N1n
WnwkrYzTo9EdYieHIaKzYvcugcXz8VjGupWqoo03bpt6Gemh7GFEU=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.2 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_COUK,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2
X-HELO: nm29-vm6.bullet.mail.ir2.yahoo.com
References: <CAK25myuiLJydke76M6HN-+NWjedG7QwaeBhJg6TU5Pca2XO2ZQ AT mail DOT gmail DOT com>
Message-ID: <1403601861.31480.YahooMailNeo@web172206.mail.ir2.yahoo.com>
Date: Tue, 24 Jun 2014 10:24:21 +0100
From: GrahamC <grahamc001uk AT yahoo DOT co DOT uk>
Reply-To: GrahamC <grahamc001uk AT yahoo DOT co DOT uk>
Subject: Re: ls --color: special char in redirected output
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
In-Reply-To: <CAK25myuiLJydke76M6HN-+NWjedG7QwaeBhJg6TU5Pca2XO2ZQ@mail.gmail.com>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s5O9OdpR010146

On Monday, 23 June 2014, 14:57, Thomas Anderson <t03 DOT anders0n AT gmail DOT com> wrote:

> Hi, after a recent upgrade (maybe the 20) I have some problem with
> special characters and ls --color
>
> For example:
>
> $ ls --color
> file.txt  temp/
>
> is ok
>
> but
> 
> $ ls --color > ls.txt
> 
> is not
> 
> $ less ls.txt
>
> file.txt
> ls.txt
> ESC[0mESC[01;34mtempESC[0m/
>
>
> I'm on Windows 7 with the 32 bit version.
>
> Bye,
> t03

Try ls --color=auto  or  ls --color=tty
or set an alias:  alias ls='ls --color=tty'


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


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