[TUHS] A Unix Code Walkthrough by Ken Thompson
Jonathan Gray
jsg at jsg.id.au
Sun Mar 16 16:26:19 AEST 2025
On Mon, Jan 13, 2025 at 05:23:11PM +1100, Jonathan Gray wrote:
> On Mon, Jan 13, 2025 at 03:11:21PM +1000, Warren Toomey via TUHS wrote:
> > On Sun, Dec 29, 2024 at 07:40:15AM +1000, Warren Toomey via TUHS wrote:
> > > Hi all, I've just received a set of MP3 recordings from Bob Kridle. He says:
> > >
> > > These are recordings of Ken Thompson doing a read through of one of
> > > an early UNIX kernel code listing with a group of grad students at
> > > UC Berkeley while he was a visiting prof. there.
> > >
> > > The date is roughly 1975. I've put the recordings here along with his
> > > e-mails about the recordings:
> > >
> > > https://www.tuhs.org/Archive/Recordings/1975_Unix_Code_Walkthru/
> >
> > Eric Allman has kindly supplied a scan of the source code that ken
> > provided for the walkthrough. I've added it to the above location.
> > It's interesting in that there are comments at the start of each
> > function - the existing 5th Edition code that we have does not
> > have these comments.
>
> With alloc.c the comments are there in v6 and the copyright line
> removal matches the changes between v5 and v6.
>
> The code appears to be somewhere between v6 and the "50 changes" tape
> described by Mike O'Brien in:
> Applications/Spencer_Tapes/unsw3.tar.gz
> usr/sys/v6unix/changenotes
I've retyped the source code to make it easier to compare:
https://github.com/jonathangray/v6-allman
Some of the changes are in other v6-derived trees. Some such as the
bootstrap and parity changes I couldn't find elsewhere.
More information about the TUHS
mailing list