🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Doug Gwyn Wed, 14 May 1986 04:38
SVR2 "pr" bug fix
#311
Author: Doug Gwyn
Date: Wed, 14 May 1986 04:38
13 lines
948 bytes
As reported (problem id #743) in the UNIX System V Known Problem List,
the command "pr -d -2 -l61" (any odd page length, multi-column output)
results in only one page of output.  Here is what I believe to be a
fix for this bug.

...
char xxxnotused[] = "@(#)pr.c	1.3";
...
nexbuf()
...
		/* DAG -- bug fix (added "+ Dblspace - 1" in the following line) */
		for (j = (Length - Margin + Dblspace - 1)/Dblspace; --j >= 0; ++bline)
...
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads