> > . SGR will be the default; grotty's current output for bold and
> > underlining will be available if the `-c' switch is selected to
> > suppress color output.
>
> That's a new grotty option, the -c? As someone who dislikes colour ls
> what will I need to do to keep man working without colour? I suppose
> that's asking how man can be told to get -c passed to grotty.
> /etc/man.options may help I suppose.
Using SGR doesn't automatically mean color support! For example, to
have a bold letter A, grotty currently writes
A^HA
(^H is <BACKSPACE>)
In SGR mode, this will be done as
^[[1mA^[[22m
(^[ is <ESC>)
The former works only with `less', the latter with e.g. `xterm' also.
Use `-P-c' as an additional groff option to not use SGR output.
Werner
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/