The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] rebuilding the unix v5 man pages
@ 2014-08-10 16:36 Mark Longridge
  0 siblings, 0 replies; only message in thread
From: Mark Longridge @ 2014-08-10 16:36 UTC (permalink / raw)


Since there's a pdf of the unix v5 man pages I figured I might as well
recreate all the necessary files to have man pages in v5.

There's a very simple thompson shell script that I used from v6 to create man:

if X$2 != X"" nroff man0/naa man$1/$2.$1
if X$2 = X"" nroff man0/naa man1/$1.1

I borrowed the assembly language source from v6 to recreate nroff for
v5. After that it was just a matter of matching the date from various
files in v4 and v6. If the date was exactly the same for a given man
page file I just copied it straight into v5. If the date was different
then I used the version in v6 and just edited it until it matched what
was shown in the v5 manual pdf.

It should also help me figure out a lot of the differences between v5
and v6. When it's all done I'll put the disk images and configuration
files on archive.org and post the URL here.

I developed a sort of philosophy for adding stuff to unix v5 which
goes beyond the  v5root.tar.gz files donated by Dennis Ritchie:

No changing of cc or as.
No changing of the kernel code beyond recompiling the existing v5 code.
No changing of the existing device drivers (adding new ones is OK).
No backporting of iolib or stdio into v5.
No changing libc.
Adding userland programs is OK as long as the above rules are followed.

Mark



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-10 16:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-10 16:36 [TUHS] rebuilding the unix v5 man pages Mark Longridge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).