Posted on Nov 25, 2026
John Lions was teaching operating systems at the University of New South Wales in Australia.
They need to study the Unix source.
Early on, Unix source could be studied in class. But at USENIX in June 1979, AT&T announced new Version 7 license terms restricting courses that disclosed or discussed source code. Distribution of Lions' book was tightly controlled as well [5][6].
I am altering the license.

He's teaching from the Unix source code!


Just use the system calls.
This code is our only hope
For roughly twenty years before the official edition appeared, computer-science students studied from unauthorized photocopies. The book helped a generation of students learn to build operating systems of their own [5][8].


You can read a reconstructed version of the commentary as a PDF, or order a print copy on Amazon. The Unix Version 6 source code is available separately from TUHS.
- Lions' Commentary on UNIX 6th Edition, with Source Code
- John Lions, Lions' Commentary on UNIX 6th Edition, with Source Code, Peer-to-Peer Communications, 1996 (ISBN 1-57398-013-7).
- System call
- UNIX News, Vol. 2 No. 3, March 1977 - John Lions's March 11, 1977 letter and the announcement of book distribution to Unix licensees.
- Rachel Chalmers, "Code critic", Salon, November 30, 1999 - recollections from students and Dennis Ritchie, distribution restrictions, and the path to publication.
- Peter H. Salus, The Daemon, the GNU and the Penguin, Chapter 6: "1979", 2005 - the Version 7 license terms announced at USENIX in June 1979 and restrictions on classroom use.
- Dennis Ritchie's October 22, 1995 letter and Peter H. Salus's July 12, 1996 letter - publication-permission correspondence preserved by Warren Toomey.
- MIT, "Xv6, a simple Unix-like teaching operating system", "History and Background" - teaching with Lions's commentary and the background to xv6.