Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: geneSmith Subject: Re: ls -l | less shows "escape" chars Date: Thu, 01 Jul 2004 09:12:07 -0400 Lines: 24 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: 66.168.89.166 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 In-Reply-To: Joe wrote, On 7/1/2004 9:02 AM: > Do you have ls aliased to "ls --color"? > > Try: /bin/ls | less That fixes it. Should I not use color? > > "geneSmith" wrote in message > news:cc112h$9na$1 AT sea DOT gmane DOT org... > >>When I do "ls -l | less" a typical line looks like this with "ESC" in >>reverse video and other weird chars. What causes this? Can it be fixed? >> >>-rwx------+ 1 Administ ???????? 1392640 Jul 1 08:31 >>ESC[01;32mNTUSER.DATESC[0m >> >>-- >>Lit up like Levy's -- Lit up like Levy's -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/