🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.4bsd
Article #1401

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

#1401
From: Richard Stevens
Date: Fri, 15 Dec 1989 17:03
36 lines
1760 bytes
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@hsi.com
           ... { uunet | yale } ! hsi ! stevens
Technical Details
Message-ID: <927@hsi86.hsi.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!hsi!stevens

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!hsi!stevens
From: stevens@hsi.UUCP (Richard Stevens)
Newsgroups: comp.bugs.4bsd,comp.text
Subject: C/A/T troff bug with -mm macros (4.3BSD)
Message-ID: <927@hsi86.hsi.UUCP>
Date: 15 Dec 89 17:03:39 GMT
Organization: Health Systems Intl., New Haven, CT
Lines: 36