[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with man pages
From: |
Werner LEMBERG |
Subject: |
Re: Problem with man pages |
Date: |
Wed, 24 Jul 2002 18:56:05 +0200 (CEST) |
> It looks like the ansi codes that turn highlighting on, etc. don't
> work. In less, I see things like:
>
> ESC[1mNAMEESC[0m
> groff - front-end for the groff document formatting system
>
> ESC[1mSYNOPSISESC[0m
>
> The strange thing is that I think that these are the correct codes.
> In addition, if I use tkman to look at the pages, these don't get
> filtered out (I think they should). Everything worked until
> yestereday, when I upgraded form 1.17.
You need the -R option of less, as documented in the NEWS file.
Additionally, you should use a rather recent version of less since
older ones are buggy w.r.t. SGR handling. Alternatively, set the
GROFF_NO_SGR environment variable to revert to the old behaviour
(without colors, of course).
Werner