[KongchangAI]
· 2 min read· 1,210 words

Lions' Commentary on Unix: The Secretly Circulated Source Code Bible of Two Decades

Lions' Commentary on Unix: The Secretly Circulated Source Code Bible of Two Decades

Lions' Unix kernel commentary circulated underground for twenty years due to copyright restrictions before finally being legally reprinted, reflecting the tension between knowledge sharing and copyright.

The article reviews the legendary history of John Lions' line-by-line Commentary on the sixth edition Unix kernel. Due to AT&T's copyright restrictions, this teaching document could not legally circulate, yet over approximately two decades it was secretly photocopied and passed around by engineers, becoming the only entry point for many to understand the internal mechanisms of operating systems. The FOSS Comics article places it within the context of free software history, pointing out that it embodies the conflict between copyright constraints and learning needs, and that it was ultimately legally reprinted through community advocacy. The article concludes by extending to the present: what is often scarce is not the code itself, but the people who can explain the code clearly—documentation ecosystems are equally crucial for open source and AI practitioners.

In today's world where open source software has become mainstream, it's hard to imagine that a set of operating system source code commentary was once considered a "banned book," quietly circulating only around underground photocopy machines. Lions' Commentary on Unix is precisely such a special text—written by John Lions of the University of New South Wales in Australia during Unix's early days, it dissected the sixth edition Unix kernel line by line with annotations. An article from FOSS Comics retraced this history and sparked discussion on Hacker News (257 points, 55 comments), demonstrating that the tech community still holds strong interest in this "word-of-mouth" history.

How an Annotated Document Became Underground Reading in Unix Circles

Lions' Commentary was not originally written for publication. Its purpose was teaching: pairing Unix kernel source code with explanations so students could understand this operating system that was still quite new at the time. The problem was that Unix copyright belonged to AT&T, the source code itself could not be freely distributed, and the annotated version naturally existed in a gray area.

Thus an unusual phenomenon emerged: it couldn't be purchased through legal channels, yet virtually everyone who genuinely wanted to learn Unix had a copy. The article emphasizes that this document was secretly copied and circulated in large quantities over approximately two decades, becoming the only entry point for many engineers to understand the internal mechanisms of operating systems. Its mode of dissemination resembled underground publications rather than formal textbooks.

Unix Sixth Edition (V6) was an operating system version released by AT&T Bell Labs in 1975, and one of the earliest Unix versions to be widely distributed to universities and research institutions. Because AT&T was bound by an antitrust settlement agreement at the time and could not directly sell software, it provided source code to universities at low licensing fees, but with strict confidentiality clauses attached. The V6 kernel comprised approximately ten thousand lines of C and assembly code, compact in structure and highly suitable as a teaching case. It was precisely this special state of "source code available but not publicly distributable" that laid the groundwork for the gray circulation of Lions' annotated version.

Why It Was Worth the Risk of Copying

The Unix Sixth Edition kernel was not large in code volume, but exquisitely structured. Lions' annotations explained core mechanisms such as scheduling, file systems, and process management segment by segment, essentially providing readers with an annotated map. For those who had no opportunity to access AT&T's internal materials, this value was irreplaceable.

From today's perspective, the significance of this document goes beyond technical explanation. It records a tension in knowledge dissemination: the conflict between copyright constraints and learning needs. The FOSS Comics article places Lions' Commentary within the context of free software history, pointing to a broader question—how closed source code licensing paradoxically gave rise to underground knowledge networks.

John Lions (1937–1998) was a professor in the Department of Computer Science at the University of New South Wales and one of the earliest scholars to systematically teach the Unix kernel in university classrooms. His original intention in writing the Commentary was to accompany his own operating systems course, allowing students to understand process scheduling, buffer management, and file systems by reading real kernel code line by line. Lions later participated in other Unix community activities as well, but this commentary remained his most widely known contribution. Understanding his teaching background helps explain why this document carries a strong "explanation" rather than "reference manual" character.

The "secretly copied for 20 years" in the article's title is no exaggeration. Before formal legal publication, the circulation of this document depended on trust between individuals and photocopy machines. In the Hacker News discussion, many commenters mentioned that they or their predecessors had once possessed photocopies—these word-of-mouth experiences formed part of Unix culture.

This mode of dissemination also brought side effects: version confusion, inconsistent annotation quality, and difficult-to-trace sources. But for learners at the time, having something to read was more important than reading something standardized. Lions' Commentary thus became a symbol—it was both a technical document and a grassroots practice from before the open source spirit was institutionalized.

The history of Unix copyright and licensing is the key background for understanding this underground circulation. AT&T gradually tightened Unix source code licensing in the 1980s and, after its 1984 divestiture, commercialized Unix through Unix System Laboratories. It was not until the 1990s, with the legal disputes between BSD and USL and the rise of free operating systems like Linux, that AT&T's control over early Unix materials began to loosen. In 1996, through community advocacy, Lions' Commentary finally obtained legal reprint permission—nearly twenty years after it was originally written. This timeline explains that "secretly copied for twenty years" is not literary rhetoric but a true reflection of the evolution of copyright systems.

As the Unix copyright environment changed and community advocacy continued, Lions' Commentary was eventually legally reprinted. The FOSS Comics article views this turning point as recognition of historical contribution: a teaching material that had been copied for twenty years finally returned to the sunlight.

This process also reminds today's technologists that the boundaries of knowledge sharing have never been naturally clear. Lions himself may not have anticipated that his annotations would become an underground classic, but his work demonstrates that truly valuable explanatory content will find its own path of dissemination—even if that path takes twenty years to traverse.

Lessons for Today

Placing this history back in the present, several questions still hold: When source code is protected by copyright, where is the space for teaching and research? Should the circulation of unofficial documentation be viewed with greater tolerance? The case of Lions' Commentary offers a rather optimistic answer—the community's thirst for knowledge ultimately drove institutional loosening.

For AI and open source practitioners, this story carries another layer of metaphor: what is most scarce is often not the code itself, but the people who can explain the code clearly. Lions' value lies in the annotations, not just the source code. Today's documentation ecosystems around models, tools, and frameworks similarly need such "explainers," otherwise even the most open code may be difficult to truly understand.

One-line Summary

Lions' Unix kernel commentary circulated underground for twenty years due to copyright restrictions before finally being legally reprinted, reflecting the tension between knowledge sharing and copyright.

Paragraph Summary

The article reviews the legendary history of John Lions' line-by-line Commentary on the sixth edition Unix kernel. Due to AT&T's copyright restrictions, this teaching document could not legally circulate, yet over approximately two decades it was secretly photocopied and passed around by engineers, becoming the only entry point for many to understand the internal mechanisms of operating systems. The FOSS Comics article places it within the context of free software history, pointing out that it embodies the conflict between copyright constraints and learning needs, and that it was ultimately legally reprinted through community advocacy. The article concludes by extending to the present: what is often scarce is not the code itself, but the people who can explain the code clearly—documentation ecosystems are equally crucial for open source and AI practitioners.

#Lions' Commentary on Unix#Unix V6 kernel#John Lions#open source history#copyright and knowledge sharing#technical documentation
Share:

Related articles