[comp.binaries.ibm.pc.d] nroff formatter for DOS

rreiner@yunexus.YorkU.CA (Richard Reiner) (10/11/90)

doug@testsys writes:

>Love those man pages in nroff format, but I don't have an interpreter
>up to snuff. I have ancient versions of things called proff and pcroff
>which go part way only.
>Is there help or does everything have to go to the unix box  for text
>formatting? 

Try awf, a nroff {-man,-ms} clone posted recently to either
alt.sources or comp.sources.unix.  It consists of a shell script
driving an AWK program (!).  I'm pretty sure it will work on MessDOS
using Ian Stewartson's Bourne shell and either GAWK or Rob Duff's AWK.
It won't be quick, but it does handle man pages nicely.

--richard

berg@cip-s01.informatik.rwth-aachen.de (AKA Solitair) (10/12/90)

Richard Reiner writes:
>Try awf, a nroff {-man,-ms} clone posted recently to either
>alt.sources or comp.sources.unix.  It consists of a shell script
>driving an AWK program (!).  I'm pretty sure it will work on MessDOS

Well, believe me, it doesn't.  AWK runs out of memory on MSDOS systems.
(At least all the AWK programs I have do).
--
Sincerely,                 berg%cip-s01.informatik.rwth-aachen.de@unido.bitnet
           Stephen R. van den Berg.
"I code it in 5 min, optimize it in 90 min, because it's so well optimized:
it runs in only 5 min.  Actually, most of the time I optimize programs."

richard@calvin.spp.cornell.edu (Richard Brittain - VOS hacker) (10/12/90)

The "ro" program posted last year to comp.sources.misc comes close enough to
nroff to be able to handle most man pages.  It didn't come with -man macros
but they were not too tough to add.
 
Richard Brittain,                   School of Elect. Eng.,  Upson Hall   
                                    Cornell University, Ithaca, NY 14853
ARPA: richard@calvin.spp.cornell.edu	
UUCP: {uunet,uw-beaver,rochester,cmcl2}!cornell!calvin!richard


-- 
Richard Brittain,                   School of Elect. Eng.,  Upson Hall   
                                    Cornell University, Ithaca, NY 14853
ARPA: richard@calvin.spp.cornell.edu	
UUCP: {uunet,uw-beaver,rochester,cmcl2}!cornell!calvin!richard

jcs@engr.uark.edu (James Sullins) (10/18/90)

berg@cip-s01.informatik.rwth-aachen.de (AKA Solitair) writes:

>Richard Reiner writes:
>>Try awf, a nroff {-man,-ms} clone posted recently to either
>>alt.sources or comp.sources.unix.  It consists of a shell script
>>driving an AWK program (!).  I'm pretty sure it will work on MessDOS

>Well, believe me, it doesn't.  AWK runs out of memory on MSDOS systems.
>(At least all the AWK programs I have do).

I made a few minor modifications to get it working under DOS. The main
modification was unnesting a deeply nested if-then-else construct in one
of the awk programs.

 - James

--
James Sullins      |
-------------------|  
jcs@engr.uark.edu  |
jcs@uafhp.uark.edu |