|
From: | Lennart Jablonka |
Subject: | Re: [TUHS] Re: Original print of V7 manual? / My own version of troff |
Date: | Thu, 18 Jan 2024 15:45:55 +0000 |
Quoth John Gardner:
Thanks for reminding me, Branden. :) I've yet to get V7 Unix working with the latest release of SimH, so that's kind of stalled my ability to develop something in K&R-friendly C.
I went ahead and write a little C/A/T-to-later-troff-output converter in v7-friendly and C89-conforming C:
https://git.sr.ht/~humm/catditI’m not confident in having got the details of spacing right (Is that 55-unit offset when switching font sizes correct?) and the character codes emitted are still those of the C/A/T, resulting in the wrong glyphs being used.
I created the attached document like this: v7$ troff -t /usr/man/man0/title >title.cat host$ catdit <title.cat | dpost -F. -Tcat >title.ps (Where do the two blank pages at the end come from?)PS: Branden, for rougher results, if you happen to have a Tektronix 4014 at hand (like the one emulated by XTerm), you can use that to look at v7 troff’s output. Tell your SIMH to pass control bytes through and run troff -t | tc.
title.ps
Description: PostScript document
[Prev in Thread] | Current Thread | [Next in Thread] |