groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is the difference between GNU groff and Mac OS X groff


From: Larry Kollar
Subject: Re: What is the difference between GNU groff and Mac OS X groff
Date: Tue, 10 Nov 2020 23:01:56 -0500

Michail Vidiassov <master@iaas.msu.ru> wrote:

>>>> What options are needed to make GNU groff behave the same as
>>>> Mac OS X groff?
> 
>>> Do
>>>  export GROFF_NO_SGR=yes
>>> in the shell and then try your groff command again.
> 
>> OK. This works. Thanks.
>> So, that is the change between 1.19.2 and 1.22.4?
> 
> It is not a change in groff itself, it is a result of an Apple patch
> to default groff settings to "Disable SGR support in grotty(1)"
> 
> https://opensource.apple.com/source/groff/groff-41/patches/tmac__troffrc.diff.auto.html

My solution is to compile groff and overwrite the original: ./configure 
—prefix=/usr ; make ; sudo make install

(I do some testing before the actual “make install” part… I might be crazy, but 
not THAT crazy.

        Larry


reply via email to

[Prev in Thread] Current Thread [Next in Thread]