Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 1996 18:30:40 -0700 (PDT)
From:      Doug White <>
To:        Adam Capell <>
Subject:   Re: colorls and linuxls
Message-ID:  <>
In-Reply-To: <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Mon, 19 Aug 1996, Adam Capell wrote:

> Why is it that when I pipe the output of either colorls or linuxls to 
> more, I get garbage?  I suspect it has something to do with the extra 
> color information - 8-bit characters or ansi or whatever, but is 
> there any way to get around this?  It doesn't make these binaries 
> very useful.   Are there any parameters for my Console or  
> color_xterm I can use?

Note that pagers like more and less will translate the 8 bit ESC
characters into <ESC> on screen, so you will need to use the -r option to
keep 'less' from translating those characters.  Note that if there are
other control characters in the file, those will be passed directly on to
the screen without translation, and strange things may happen. 

I assume this is what you are trying to do when you say your are piping
information from colorls and getting garbage.  

What do you get when you do 'colorls -G'?  Does the output look OK?

I don't know how to force 'more' into raw mode.  

Doug White                              | University of Oregon  
Internet:    | Residence Networking Assistant    | Computer Science Major

Want to link to this message? Use this URL: <>