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

2020-11-10 Thread Larry Kollar
Michail Vidiassov 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? > >

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

2020-11-06 Thread Jan Stary
> >>> What options are needed to make GNU groff behave the same as > >>> Mac OS X groff? Roll back 16 years: groff --version GNU groff version 1.19.2 Copyright (C) 2004 Free Software Foundation, Inc.

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

2020-11-06 Thread Michail Vidiassov
Dear All, >>> 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 itse

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

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 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 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 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-12 Thread John Gardner
Use Homebrew to install the latest version of Groff: $ brew install groff For a full-blown setup: $ brew install groff ghostscript grap less $ brew tap alhadis/troff $ brew install alhadis/troff/man-db dformat > so if you care about up-to-date software, use a different ope

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

2020-04-12 Thread Bjarni Ingi Gislason
On Sun, Apr 12, 2020 at 01:27:54PM -0500, Peng Yu wrote: > { echo ".ll 14.2i"; echo ".nr LL 14.2i"; cat > '/usr/share/man/man1/man.1'; } | tbl | /usr/bin/groff -Wall -mtty-char > -Tascii -mandoc -c | less -is > > When I use the above command (Mac OS X groff), it works fine. > > { echo ".ll 14.2

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

2020-04-12 Thread Jan Stary
On Apr 12 20:44:31, schwa...@usta.de wrote: > generally speaking, most software delivered with Mac OS X is totally > outdated, usually by several years, sometimes by more than a decade, $ groff --version GNU groff version 1.19.2 Copyright (C) 2004 Free Software Foundation, Inc. That's macOS 10.15

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

2020-04-12 Thread Ingo Schwarze
Hello Peny Yu, generally speaking, most software delivered with Mac OS X is totally outdated, usually by several years, sometimes by more than a decade, so if you care about up-to-date software, use a different operating system. An example of a system that is not as outdated as Mac OS X and other