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

2020-04-13 Thread Peng Yu
But my question is how to make the GNU groff the same as the original Mac groff. I don't think all of you answer this question. On 4/12/20, John Gardner wrote: > Use Homebrew to install the latest version of Groff: > > $ brew install groff > > > For a full-blown setup: > > $ br

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

2020-04-13 Thread Jan Stary
On Apr 13 06:07:51, pengyu...@gmail.com wrote: > But my question is how to make the GNU groff the same as the original > Mac groff. I don't think all of you answer this question. There is no "original mac groff". groff is GNU roff, by definition. Mac just ships with an ancient version of that. >

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

2020-04-13 Thread John Gardner
Haha. :-) GNU groff = ggroff? Peng, you'll need to elaborate as to what you're seeing. I can't reproduce your problem when I run the commands you gave (which I see you copied from ` ps` output with `man` running in another window…). It sounds like either a problem with your pager and/or your envi

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

2020-04-13 Thread Tadziu Hoffmann
> When I use the above command (GNU groff), I see something like > this. > > ESC[1m-M pathESC[0m > > 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.

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

2020-04-13 Thread Peng Yu
OK. This works. Thanks. { echo ".ll 14.2i"; echo ".nr LL 14.2i"; cat '/usr/share/man/man1/man.1'; } | tbl | GROFF_NO_SGR=yes groff -Wall -mtty-char -Tascii -mandoc -c | less -is So, that is the change between 1.19.2 and 1.22.4? $ /usr/bin/groff --version | head -n 1 GNU groff version 1.19.2 $ gr

[PATCH] new .cp register; was: Possible regression with `groff -C`

2020-04-13 Thread G. Branden Robinson
Hi, John! First, let me address your lingering point. At 2020-04-12T13:34:04+1000, John Gardner wrote: > Wouldn't it be simpler to inline the contents of unicode.tmac? Only > two other macro packages reference it, and the file is arguably short > enough not to violate any DRY principles: > > λ G