home *** CD-ROM | disk | FTP | other *** search
- nroff (TOS) v0.90 ALPHA 11/12/89 wjr
- ------------------------------------
-
- This is a preliminary release of a version of nroff for atariST. It was
- written under TOS, USG, and 4BSD but should port easily to Minix ST as
- well. I doubt it will be easy to port to Minix PC unless the static arrays
- are changed to be malloc'd.
-
- Much of this works. The things that don't are all the hard things (natch):
- diversions, traps, conditionals, etc. Font switching, underlining,
- etc. are limited to reverse video on the screen, though stdout will
- contain underlines as "_^H" for printers.
-
- There is a crude man package included (tmac.an) which is not right
- but needs diversions to become right. It should handle most man tasks,
- though, except .IP and similar commands.
-
- For porting info, look in nroff.h and the makefile. I have to fix
- my ctime(3) so as implemented, it is slightly incorrect. The standard
- dri/alcyon libraries are limited so I have my own extensions. Only
- ctime(3) and getenv(3) are used, as I recall. If you use dLibs or MWC
- you should be in good shape (SOMEDAY I'll switch to dLibs). Minix should
- also have no problems. As it stands, I have a >300k stack set up (plenty
- of memory on a Mega4 *8^) and this should be fine for a 1040ST. If it
- is not, and you don't/can't recompile, consider dumping some of your DA's.
- You could also binary edit the executable, looking for a long in the bss
- segment which defines the stack size for the startup (I use a hacked up
- gemstart.s). Look for 0x00055555L long near the end (NB: 0x55 is "U").
- I think is is at offset $a9e0 in the file.
-
- If you do hack away, I would appreciate you sending me the changes
- so I can keep this centralized. Eventually, this may be good enough
- for FSF (GNUroff?).
-
- -Bill Rosenkranz
- net: rosenkra@hall.cray.com, rosenkra@boston.cray.com
- CIS: 71460,17
- GENIE: W.ROSENKRANZ
-
-