color display with man pages

Corinna Vinschen fedora at cygwin.de
Tue Jul 22 08:55:51 UTC 2014


On Jul 22 13:37, Amila Perera wrote:
> Thank you for your feedback.
> 
> 
> On Tue, Jul 22, 2014 at 12:40 PM, Suvayu Ali <fatkasuvayu+linux at gmail.com>
> wrote:
> 
> > I tried with bash, it seems to work ... somewhat.  I see a yellow status
> > at the bottom, but otherwise I see a regular man page.  When I `type
> > man' after defining your function, I get a few colours among the variable
> > definitions (blue, red, and underlined).
> >
> 
> Well, I only get the yellow status line color and some variables getting
> bold.
> I have never tried this with bash, though.

Try this additionally to setting the LESS_TERMCAP_xx vars:

  export GROFF_NO_SGR=yes


Corinna


More information about the users mailing list