Package: groff-base
Version: 1.22.2-5

According to the grotty man page, groff produces SGR sequences by
default to set bold and underline attributes for text. But I found
that I was not getting this output in manpages, whatever I tried
doing. For example, redirecting man's output to a file, the file would
contain overstrike sequences for bold and underline. I expected it to
contain ECMA-48 SGR sequences instead.

Eventually, I found that an environmental variable GROFF_SGR had to be
set to get the documented behaviour. There is a check for this in the
"mandoc.local" file added by Debian. The use of this variable should
either be removed or documented somewhere a user is likely to look.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to