TIP: Click on subject to list as thread! ANSI
echo: cis.os9.68000.osk
to: Bob van der Poel 76510,2203
from: Mike Haaland 72300,1433
date: 1993-05-01 01:17:25
subject: #17985-login

#: 17997 S12/OS9/68000 (OSK)
    01-May-93  01:17:25
Sb: #17985-login
Fm: Mike Haaland 72300,1433
To: Bob van der Poel 76510,2203

I think I have just the ticket for you.  I just finished playing with Mroff so
it'll except single char  dot commands and print most n/troff manual pages.
Added .q for quoting a string, .tr for transliterating chars, and more. I have
a macrofile also that will expand most the n/troff commands.

Even added a few options like:

 -s        send Odd/Even pages only to stdout
                (0 = All pages, 1 = Odd, 2 = Even)
 -m  macro file to include in document
 -m             will check the env var MROMAC for the
                path to a macro file to be included.
 -t             use termcap for underline and bold
 -t       where 'term' is the termcap entry to use
 -u             use terminal page length (use with -t)
                (Use file for piping thru 'more')

 mroff -m -u -t file

Would print the manual to the screen using Termcap codes for bold and underline
and format the document in screen sized pages, piping it thru more will work
also.

 mroff -m -tepson file >/p

Will use the termcap entry 'epson' to print the document to the printer.

Interested?  Think there is enough interest in it to upload it for public
consumption?  Maybe the name should be changed to nroff or something too?

 - Mike -

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.