[comp.os.minix] A Text Formatter for MINIX

wnp@mcomp.UUCP (06/03/87)

One of my most critical needs when working with something like
MINIX is to have the tools to immediately document any changes
to commands, functions, etc. On UNIX, of course, the first thing
I do after installing a new command is to create or modify the
appropriate manual page. I would like to be able to do the same
thing on MINIX, so I tried to write a version of the man macros
to work with roff.

After discovering that MINIX roff does not permit arguments to
macros, I attempted to port Allen Holub's recently published
NR formatter to MINIX. This failed for two reasons: Lack of
bitfields in MINIX C, and the lack of a floating point library.

However, I have succeeded in changing the recently posted NRO
formatter so it compiled under MINIX ( include ctype.h, change
function name brk() to robrk(), add toupper() and tolower() macros
to MINIX ctype.h, etc. - most of these changes have been discussed
in comp.sys.ibm.pc, so unless a great deal of interest is expressed
I will not re-post the source. Feel free to request it via e-mail,
it's not too long and I've got it on a UNIX machine.)

I would like to add certain features to NRO, and would appreciate 
suggestions and advice. A very useful addition would be defined strings;
another feature I would like to add is a command to permit sending byte
strings to the standard output without affecting the justification/character
count. This would permit sending printer/terminal control codes for font &
attribute control. I would also like to bring the program more into line
with NROFF - use the backslash as an escape character, instead of '@',
etc.

Let me hear from you!
-----------------------------------------------------
Wolf N. Paul, 290 Dogwood, Plano, Tx. 75075
UUCP:  ihnp4!{convex, killer}!mcomp!wnp
Phone: (214) 578-8023  W.U.ESL: 6283-2882