AIFeed

Lions 的 Unix 评注:为何它被秘密抄传了 20 年

Translation(model translation, not the source's own text)

Lions' Commentary on Unix

两名学生在终端旁研究源代码,墙上挂着1980年的日历。
两名学生在终端旁研究源代码,墙上挂着1980年的日历。

John Lions 当时在澳大利亚的新南威尔士大学讲授操作系统。

教操作系统最好的方法是什么?
他们需要研究 Unix 源代码。但这很难进行下去。
我自己写一本教科书。

1976年5月,Lions 编写了讲解 AT&T Unix Version 6 内核源代码的讲义。这些讲义后来成为他的 Unix 评注。

要理解一个操作系统,我们需要阅读实际的代码。
我写了一份 Unix 内核指南。我们就用它作为教科书。

到1977年,这些讲义已在其他学校和持有 Unix 许可证的研究机构之间流传 [1][4]。连 Bell Labs 也想要副本,并最终接管了发行工作 [2]。

三位读者埋头研读橙色封面的 Unix 评注。
三位读者埋头研读橙色封面的 Unix 评注。

早期,Unix 源代码可以在课堂上研究。但在1979年6月的 USENIX 上,AT&T 宣布了新的 Version 7 许可证条款,限制披露或讨论源代码的课程。Lions 这本书的发行也受到严格控制 [5][6]。

我正在修改许可证。祈祷我不会再进一步修改它。
销毁 Lions 的书。不再教授 Unix 源代码。
你们无法逃离我们的操作系统。
装甲士兵突袭 Unix 课堂,窗边有人催促学生们快跑。
装甲士兵突袭 Unix 课堂,窗边有人催促学生们快跑。
他在用 Unix 源代码讲课!没收那些书!快跑!
他拿到书了!
别让他逃掉!
快!把书拿走!
一名装甲士兵向逃跑的学生开枪。
一名装甲士兵向逃跑的学生开枪。
学生中弹时扭转身躯,仍紧紧抓着书。
学生中弹时扭转身躯,仍紧紧抓着书。
我发现你对源代码的兴趣令人不安。
只用系统调用就好。学点理论。内部细节交给我们。
光有理论不够。我需要看到代码。
这代码是我们理解操作系统的唯一希望。

在官方版本问世之前的大约二十年里,计算机科学的学生们依靠未经授权的 photocopies 学习。这本书帮助了一代人学习构建自己的操作系统 [5][8]。

一名学生在电脑旁研读评注。
一名学生在电脑旁研读评注。

与此同时,Unix 社区的成员,包括 Peter H. Salus、Dennis Ritchie 和 Berny Goodheart,不断向 AT&T、Novell 和 Santa Cruz Operation 请求出版该书的许可。SCO 最终同意了。Peer-to-Peer Communications 于1996年出版了官方版本 [5][7]。

图表:Dennis Ritchie and Ken Thompson

Lions 的书终于出版了。它甚至还有我写的序言。
人们偷偷复制了它二十年?难以置信。
Lions' Commentary on UNIX 6th Edition, with Source Code 的封面,包含 Ritchie 的序言。
Lions' Commentary on UNIX 6th Edition, with Source Code 的封面,包含 Ritchie 的序言。

你可以阅读该评注的重构版 PDF,或在 Amazon 上订购纸质版。Unix Version 6 源代码可另行从 TUHS 获取。

References

  • 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).
  • 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.

文章标题:Lions' Commentary on Unix:为何它被秘密抄传了20年

正文:

  • Dennis Ritchie 1995年10月22日的信与 Peter H. Salus 1996年7月12日的信——由 Warren Toomey 保存的出版许可往来信件。
  • MIT,“Xv6, a simple Unix-like teaching operating system”,“History and Background”——使用 Lions 的评注进行教学以及 xv6 的背景。

The translation is machine-generated and individual terms may be off. Nothing is rewritten or cut; the original is authoritative.

Published by Hacker News
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗