Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!ut-sally!husc6!mit-eddie!rutgers!clyde!cbatt!ihnp4!houxm!ho95e!wcs
From: wcs@ho95e.UUCP (#Bill.Stewart)
Newsgroups: comp.unix.wizards,comp.text
Subject: Re: Speedup idea for troff/nroff
Message-ID: <1257@ho95e.UUCP>
Date: Sun, 11-Jan-87 22:23:14 EST
Article-I.D.: ho95e.1257
Posted: Sun Jan 11 22:23:14 1987
Date-Received: Tue, 13-Jan-87 04:46:49 EST
References: <387@ivax.doc.ic.ac.uk> <94@winchester.UUCP>
Reply-To: wcs@ho95e.UUCP (Bill Stewart 1-201-949-0705 ihnp4!ho95c!wcs HO 2G202)
Distribution: comp
Organization: AT&T Bell Labs, Holmdel NJ
Lines: 25
Xref: mnetor comp.unix.wizards:575 comp.text:171

In article <94@winchester.UUCP> mash@winchester.UUCP (John Mashey) writes:
>In article <387@ivax.doc.ic.ac.uk> lmjm@doc.ic.ac.uk (Lee McLoughlin) writes:
>>This is a speedup idea for troff and its relatives .....
>>Most of the local use of troff is with a few standard packages (man,
>>ms, me).  Would it be possible to use the unexec routine to create a
>>preloaded version by running troff to read in the macro package
>>.....
>the nroff/troff of System V have done this for many years: one command
>lets you create a file that has all of the necessary state information,
>normally after the unchanging part of the macro package has been processed.
>Then, invoking {n|t}roff -cx gets the "compressed" form of the macro package.
>I think Fred Dalrymple did this [but somebody correct me if I'm wrong,

Someone else wrote that DWB 2.0 versions are twice as fast but don't
have this capability.  Another option, for monospaced output, is to use
sroff instead of nroff.  Sroff is signifcantly faster than nroff but
has a more limited macro capability.  There's a -mm package that does a
fairly complete emulation of the nroff -mm macros, but doesn't support
tbl or eqn.  Now that we have laser printers, I mostly use troff, but
sroff is useful on PCs with limited horsepower, and for previewing
documents on a terminal.
	Has anybody developed a -man macro package for sroff?
				Thanks;
-- 
# Bill Stewart, AT&T Bell Labs 2G-202, Holmdel NJ 1-201-949-0705 ihnp4!ho95c!wcs