[net.unix] Nroff changes characters?

greg@sdcsvax.UUCP (08/28/84)

I'm not a nroff wizard, so I thought I'd ask before I started plowing
through the sources.  I hope somebody has seen this before.

I made a new version of nroff (from the System V.2 sources).  I seems
to work OK, except that it converts all occurances of a capital "S"
into a capital "Z".  Thus, "System V" comes out "Zystem V".  It seems
to be the only character affected.  Can anybody tell my why this nroff
has a German (Polish?) accent, or failing that, where I should start
looking to fix the problem?  Tks.
-- 
-- Greg Noel, NCR Torrey Pines       Greg@sdcsvax.UUCP or Greg@nosc.ARPA

greg@sdcsvax.UUCP (09/04/84)

I would like to thank the many people who responded to my request for
assistance.  Briefly, the problem was that nroff was changing all
occurances of a capital-S into a capital-Z.  The responses identified
three possible locations for the error:
   - A broken macro package -- a compressed file that had been clobbered.
     Not possible in this case, as I wasn't using any canned package,
     just a few macros of my own.
   - A ".tr SZ" somewhere.  Again, not this time -- in fact, the source
     file didn't have a "Z" in it ANYWHERE -- I had found that out when
     I tried to fix the problem by editing the source.
   - A broken terminal-tailoring file.  (I only had a vague idea that
     these even existed.)  As soon as I looked in the directory, I
     noticed that the file "tab37" was a suspicious 1024 bytes long.
     I recreated it, and sure enough, the new one was 1461(? anyway,
     longer) bytes.  Bingo, everything works, and moreover, with about
     30% less CPU time.  I guess the filesystem must have been out of
     space when the original one was installed.....
Again, thanks to all who took the time to answer.  If it hadn't been for
you kind people, I might have been still working on this at Thanksgiving.
-- 
-- Greg Noel, NCR Torrey Pines       Greg@sdcsvax.UUCP or Greg@nosc.ARPA