Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 1995 13:00:24 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        craigs@venus.os.com (Craig Shrimpton)
Cc:        questions@freebsd.org
Subject:   Re: Colorls and | more
Message-ID:  <199512182000.NAA12183@phaeton.artisoft.com>
In-Reply-To: <Pine.BSF.3.91.951218112014.13068A-100000@venus.os.com> from "Craig Shrimpton" at Dec 18, 95 11:22:12 am

next in thread | previous in thread | raw e-mail | index | archive | help
> I'm using colorls and it works fine unless I pipe it to the more 
> command.  Basically, the control codes clutter the screen.  Any ideas for 
> a fix? I'm using syscons.

Don't pipe it to more.

One of the features of more is that the translates non-printable codes;
this is so you can more a file and you won't end up with your terminal
put into a squirrelly state by embedded controls.

You might want to install "less" from the packages and examine the man
page for it... I believe it supports a command line option to suppress
translation.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512182000.NAA12183>