[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with man pages
From: |
David Ronis |
Subject: |
Re: Problem with man pages |
Date: |
Wed, 24 Jul 2002 14:22:39 -0400 |
Hi Werner,
Thanks for the reply. The -R flag works as does setting the MANPAGER
environment variable; however, this still leaves thinks like tkman and
emacs (man-mode) broken [Yes, I, and all my users, can play with their
initialization files]. For now we're simply setting GROFF_NO_SGR to
turn it off everywhere.
Thanks again.
David
Werner LEMBERG writes:
> > 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