Following up.

> … I’m getting nowhere
> with GNU deroff. In an up to date Kubuntu, it compiled with
> a few warnings but produces garbled output. On my old iMac
> (running Catalina/10.15.8), attempting to compile throws
> errors.…

Taking a closer look at the error, it wasn’t picking up <string.h>
like it should have. I added that at the top of deroff.c, and it
compiled and ran on my iMac. I still get garbled output if I include
the -i option (ignore .so/.nx). Without it, I get clear output, but
with a lot of string things from utp.mac.

There are a couple of deroff forks on GitHub, I’ll check them out
later today.

> I’ll have to look into style and diction again.

They compiled and ran on my Kubuntu laptop, no problem there.
I’ve already started modifying that section of Chapter 11 to use
the GNU versions.

> Then there’s “hyphen,” …
> 
> So I’m calling that one solved, although I should probably
> add a few comment lines (like don’t use -Tutf8 if you want
> it to work).

I’ll have to check the locale on the laptop. According to the magic
AI box, gawk should be able to process UTF-8 input if the locale
is set to en_US.UTF-8 (or C.UTF-8).

        Larry

Reply via email to