Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83 (MC840302); site log-hb.UUCP
Path: utzoo!linus!vaxine!wjh12!genrad!decvax!mcvax!enea!log-hb!hans
From: hans@log-hb.UUCP (Hans Albertsson)
Newsgroups: net.unix-wizards
Subject: Re: nroff - help wanted
Message-ID: <176@log-hb.UUCP>
Date: Fri, 15-Jun-84 19:58:14 EDT
Article-I.D.: log-hb.176
Posted: Fri Jun 15 19:58:14 1984
Date-Received: Wed, 20-Jun-84 00:28:27 EDT
References: <407@kvvax4.UUCP>
Organization: TeleLOGIC Nyn{shamn SWEDEN
Lines: 24

[]
It is possible to have a "trapped macro", that is a macro which is 
executed every time a particular condition, such as a page transition.
It seems to me that such a macro could be one to emit a form-feed.
Then setting the pagelength short enough, you're in the clear.

The doc is confusing, due to the lack of redundancy ( as is typical of
UNIX ), but it's there in 
Nroff/Troff User's manual, par. 7, par 3.

Particularly, there's reference to a top-of-page macro, which is invoked 
every time a new page is about to be emitted. Presumably this macro can
be modified.

I haven't tried it, but it seems this is the mechanism through which 
nroff outputs the last blank line.

-- 
			{decvax,philabs}!mcvax!enea!log-hb!hans
			Hans Albertsson, 
			TeleLOGIC AB
			Box 1001,
			S-14901 Nynashamn,
			SWEDEN