I have got the same problem with 'more' and 'less' too.

How did you configure 'ls' for displaying colors when piping to 'more' ?

Thank you.

           ------------------ Memo - Header -------------------

To:       debian-user@lists.debian.org

cc:

From:     [EMAIL PROTECTED]

Date:     26/01/2000 14:16:05 GMT
          26/01/2000 15:24:58

Subject:  less and color

            ----------------- Memo - Message ------------------




I have setup the ls command to use the display color option using an
alias.  It works fine.  Colors are also displayed nicely when piping
ls stdout to the more command.  I want to use less instead of
more.  However, when piping ls stdout to the less command, less displays
the directory listing in b/w and with control characters (escape seq with
hex numbers?) around the filenames instead of just using the correct
colors.

Has anyone out there fixed this problem?  I have tried changing the
LESSCHARSET env. variable with no luck.  Advice or tips would be
appreciated.  I should mention that I am using the console with
$TERM=linux.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
larry holish             [EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


--
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
/dev/null



Reply via email to