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

Richard Stevens stevens at hsi.UUCP
Sat Dec 16 04:03:39 AEST 1989


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
package.  The following test file

	.tm MM page at start = \nP
	This is the start of page one.
	.tm MM page after line of text = \nP
	.bp
	.tm MM page at top of page two = \nP
	This is the top of page two.

generates the following output with the C/A/T troff (and it's
corresponding version of nroff too):  (extraneous blank lines have
been removed)

	MM page at start = 0
	
	 - 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001 -
	
	MM page after line of text = 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001
	This is the start of page one.
	
	 - 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002 -
	
	MM page at top of page two = 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002
	This is the top of page two.


But, DWB 2.0 ditroff handles this just fine.  I realize that there
are few people who use -mm with 4.3BSD, but I was wondering if anyone
has encountered this before and already has a fix ??  Thanks.

	Richard Stevens
	Health Systems International, New Haven, CT
	   stevens at hsi.com
           ... { uunet | yale } ! hsi ! stevens



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