[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: less and color

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


From:     ljh@mail.net-labs.com

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

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

larry holish             ljh@isg.net-labs.com

Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org <

Reply to: