Recreated sources for the book “UNIX Text Processing,” published in 1987
github.com
github.com
Thanks to those responsible for this both for the book and for an example of how to produce a book with groff using the ms macros.
And what do you find weird in troff? I see it as an early markdown, or rather, markdown as yet another take on runoff (https://en.wikipedia.org/wiki/TYPSET_and_RUNOFF). Markdown is a bit more implicit and (unless you ‘escape’ out of it using html) has fewer features, but I don’t see it as that different.
What's weird in troff: macros aren't particularly easy. Also the necessity of mixing "semantic" macros (.PP or whatever for "here's a paragraph") with fine-grained typesetting directives. There's also some property of .troff that although the language is enough to write old school file viruses (here's something about a TeX virus: https://www.usenix.org/system/files/login/articles/73506-che..., can't find the troff virus citation), I don't think anyone has ever been able to write a troff self-replicating program. It appears you can't write a macro that puts a '.' at the beginning of the line or something like that.
I'm also aware that Stevens typeset all of this books with troff. It's very capable and unlike some other word processing systems, you can keep troff files in version control systems meaningfully.
Reading http://www.di-srv.unisa.it/~ads/corso-security/www/HTML/VIRU... using my very rudimentary understanding of Italian, I think that would be
P. Beyls, “Is Unix resistant to computer viruses?” Proceedings of the European UNIX systems UserGroup, pp 229-238, Münich, Germany, April 23-27 1990
I can’t find that online.
Amazon knows of the 1988 and 1989 proceedings, but not of those for 1990, and neither of those is available (https://www.amazon.com/s?i=stripbooks&rh=p_27%3AEuropean+UNI...)
I was pleasantly surprised to find he wrote a Forth primer for Kitt Peak observatory. Linked from this page: http://www.forth.org/tutorials.html
I did notice when building this on OSX changing the makefile to call env to get groff and awk is required to work with homebrew.
I did submit an issue on the github about this however.
Just replace -Tpdf by -Tps in Makefile and run ps2pdf manually afterwards, then it works.