Ok, I'm pretty sure cawf 4.10 is the last version of cawf. It's from 1996. The minix version I was playing with earlier is either 4.8 or 4.9.
(groff released in '97, pretty much made cawf pointless)
It was an easy port to RISC OS. I have a little bit of packaging to do yet but it's basically done.
Unfortunately it still can't deal with mandoc or mdoc manpages.
Spent most of the day hacking around with RISC OS cawf.
The old port from the 26-bit era had an "acorn" output device. Turns out this generates output that First Word Plus, an equally ancient RISC OS word processor, can read. Modern Ovation can read this, as can Writer+ (but not quite as well).
RISC OS printer drivers from the era might have understood FWP files directly, I'm not sure.
Also, cawf supports an lj3 output device. LaserJet3=PCL! Ghostscript has a companion program (gpcl) that can (in theory) turn PCL into postscript or whatever. I say "in theory" because so far all I get is a 19 page file of blank pages... Probably missing fonts. RISC OS was once the Master of Fonts, but that was a long time ago...
cawf also has epson output. I'm looking into epson2ps programs. Found a nicely ancient one in a broken shar file.
Still haven't gotten gpcl to do anything useful with cawf's lj3 output.
Stronged has a mode to support PCL files though! Stronged is a text editor though, it doesn't do any pretty rendering for them.
According to the ROOL wiki, PCL files are type &FF3
I don't know if gpcl is being bad or if the cawf output is wrong somehow.
Early versions of ARM, the status register was the top 6 bits of the program counter, so 26 bit address space.
The change to a seperate status register and full 32bit addresses with ARMv3 broke RISC OS and all its apps. Since the majority of the OS is in assembly, a lot of people had to do a lot of work to make the OS 32bit clean.
And a lot of code was never updated, like most of the apps from stuttgart's old archive. They need partial emulators like aemulor or adffs on ARMv7.
"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko