Article View: comp.bugs.4bsd
Article #1403Re: C/A/T troff bug with -mm macros (4.3BSD)
From: Rick Richardson
Date: Sat, 16 Dec 1989 13:30
Date: Sat, 16 Dec 1989 13:30
25 lines
1738 bytes
1738 bytes
In article <927@hsi86.hsi.UUCP> stevens@hsi.UUCP (Richard Stevens) writes:
>I have found a bug with the old C/A/T version of troff that's
>shipped with 4.3BSD. The bug shows up with the -mm macro
> MM page at start = 0
>
> - 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001 -
I believe this is because the MM macros use the \g (return register
format) escape sequence, which does not exist in C/A/T troff. There
are several places in the macros that you'll have to fix.
Sorry, I don't have the fixes around here. What you need to do
is find all the number registers whose format is referenced
with \g (backslash g). Then, every place that those number registers
have their format changed with ".af" you will need to remember the
format in a string register that isn't used (.ds xx format, one
string reg per number reg). Then, you need to replace the \g's
with references to your string registers.
-Rick
--
Rick Richardson | Looking for FAX software for UNIX/386 ?????? mention
PC Research,Inc.| WE'RE SHIPPING your
uunet!pcrat!rick| Ask about FaxiX - UNIX Facsimile System (tm) FAX #
(201) 389-8963 | Or JetRoff - troff postprocessor for the HP {Laser,Desk}Jet
Technical Details
Message-ID:
<1989Dec16.133059.6190@pcrat.uucp>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!pcrat!rickReferences:
<927@hsi86.hsi.UUCP> Sender:Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!pcrat!rick From: rick@pcrat.uucp (Rick Richardson) Newsgroups: comp.bugs.4bsd,comp.text Subject: Re: C/A/T troff bug with -mm macros (4.3BSD) Message-ID: <1989Dec16.133059.6190@pcrat.uucp> Date: 16 Dec 89 13:30:59 GMT References: <927@hsi86.hsi.UUCP> Sender: Reply-To: rick@pcrat.UUCP (Rick Richardson) Organization: PC Research, Inc., Tinton Falls, NJ Lines: 25