Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA
Path: utzoo!linus!philabs!cmcl2!seismo!brl-tgr!gwyn
From: gwyn@brl-tgr.ARPA (Doug Gwyn )
Newsgroups: net.bugs.usg
Subject: PIC bug
Message-ID: <5334@brl-tgr.ARPA>
Date: Tue, 16-Oct-84 15:55:18 EDT
Article-I.D.: brl-tgr.5334
Posted: Tue Oct 16 15:55:18 1984
Date-Received: Thu, 18-Oct-84 00:44:07 EDT
Distribution: net
Organization: Ballistic Research Lab
Lines: 15

For anyone who is using the OLDTROFF flavor of PIC (the one that
drives pre-Device Independent TROFF), one of the fellows here
uncovered a bug.  In some cases, the DDAed dots output to simulate
one of the graphic primitives (e.g., a line) will produce output
text lines that are too long for other software such as "tbl".
There is a test for this in the code but it is wrong.

Around line 518 in source file "pltroff.c", change

	if (nput++ > 100) {	/* crude approx: troff input buffer ~ 400 */

to

	/* DAG -- bug fix (100 is too much since h,v motions are interspersed) */
	if (nput++ > 40) {	/* crude approx: troff input buffer ~ 400 */