delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/01/09:07:46

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
To: cygwin AT cygwin DOT com
From: geneSmith <gene DOT smith AT sea DOT siemens DOT com>
Subject: Re: ls -l | less shows "escape" chars
Date: Thu, 01 Jul 2004 09:06:16 -0400
Lines: 33
Message-ID: <cc128q$d58$1@sea.gmane.org>
References: <CE3105BB5560C645B9296F9B4CF1F139044B8823 AT ukmsg02 DOT softwareag DOT co DOT uk>
Mime-Version: 1.0
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: <CE3105BB5560C645B9296F9B4CF1F139044B8823@ukmsg02.softwareag.co.uk>

Clemson, Chris wrote, On 7/1/2004 8:50 AM:

>>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
> 
> 
> that looks suspiciously like ANSI (colour) escape codes.
> is your terminal setting correct?
> 
$ echo $TERM
xterm

$ env | grep -i term
COLORTERM=rxvt-xpm
TERM=xterm

$ env | grep -i less
LESSCHARSET=latin1

What are the "correct" setting and how do you set them?

Also, my less man page is totally messed up. All other man pages seem to 
work.

Thanks,
-gene

-- 
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/

- Raw text -


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