1977 · Source Code Commentary · Work 1663 of 1,871
An indoor view on the spot, a university corridor in Sydney in the late afternoon of an autumn day, low golden light through open louvre windows with eucalyptus leaves outside, a beige office photocopier with its lid raised and a bar of green-white light under the glass, beside it a thick stack of copied pages held by a large black bulldog clip, the pages showing columns of fine grey lines with margin pencil marks too small to read, a student's hand in a short-sleeved cotton shirt laying a single page face down on the glass, a second stack bound with a rubber band, a worn green linoleum floor, every surface plain and unmarked.
What it was used for
Teaching material from the Department of Computer Science at the University of New South Wales. John Lions adopted UNIX as the case study for the operating systems courses (6.602B and 6.657G) in 1976; the department issued the source listing in July 1976, and the commentary's preface is signed "Kensington, NSW / May, 1977". The system nucleus came to "comfortably less than 9,000 lines of code" in "some 44 distinct files", of them 2 in assembler, 28 ending in .c and 14 in .h. It was printed in double columns of 50 lines each, so 100 lines to a sheet, with every file padded with blank lines to an exact multiple of 50 so that line numbers and sheet numbers matched. The title page states: "Circulation of this document is restricted to holders of a license for the UNIX Software System from Western Electric."
What was new
Published operating system source was not new. What was new was that a complete kernel in production use was small enough to be read from end to end in 1 semester, and that it was printed with a numbering scheme that allowed line-by-line citation; in his preface Lions held that it is good for computer science students to be confronted at least once with reading and understanding a program of major dimensions. The barb is the licence on the title page. Because only Western Electric licensees were allowed the book, it spread by photocopier: Ken Arnold called it a "samizdat publishing sensation" and his own copy at least 6th generation; Peter Reintjes reports that students in Chapel Hill met after hours in a reading group in 1977 because the licence kept teachers from discussing it in lectures. In 1979 Western Electric's new licensing terms restricted classroom distribution of source code; according to the legal historian Gregory M. Pomerantz, AT&T subsequently inserted what became known as the "John Lions clause" into its educational licences, barring universities from courses that disclosed UNIX source. An authorised edition appeared only in July 1996.
What the sources leave open: Quotations and kernel figures were checked in the commentary itself. The figure of about 600 copies shipped from Sydney, the accounts by Arnold and Reintjes and the 1979 licence terms and the later clause come from the IEEE history wiki, not from the book; they are attributed there to the named people.