Re: "ls | less" whith 2.2.12

Peter Hanecak (hanecak@megaloman.com)
Sat, 18 Sep 1999 16:12:13 +0200 (CEST)


On Fri, 17 Sep 1999, ---daniele--- wrote:

> On Fri, Sep 17, 1999 at 12:49:12PM -0400, owner-linux-kernel-digest@vger.rutgers.edu wrote:
>
> The output of
> /usr/src/linux # ls | less
> whith 2.2.12
> is
> ESC[0mESC[0mCOPYINGESC[0m
> ESC[0mCREDITSESC[0m
> ESC[01;34mDocumentationESC[0m
> ESC[0mMAINTAINERSESC[0m
> ESC[0mMakefileESC[0m
> ESC[0mREADMEESC[0m
> ESC[0mREPORTING-BUGSESC[0m
> ESC[0mRules.makeESC[0m
> ESC[01;34marchESC[0m
> ESC[01;34mdriversESC[0m
> ESC[01;34mfsESC[0m
> ESC[01;34mincludeESC[0m
> ESC[01;34minitESC[0m
> ESC[01;34mipcESC[0m
> ESC[01;34mkernelESC[0m
> ESC[01;34mlibESC[0m
> ....
>
> There is problem whith console driver ????

you have possibly set following alias:

alias ls="ls --color"

which makes ls to produce colored output.

whether ls is able to detects that output is not going to stdout and then
turn coloring off i do not know.

sincerely

hany

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/