C/A/T troff bug with -mm macros (4.3BSD)

Rick Richardson rick at pcrat.uucp
Sun Dec 17 00:30:59 AEST 1989


In article <927 at hsi86.hsi.UUCP> stevens at 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



More information about the Comp.bugs.4bsd.ucb-fixes mailing list