Lions' Commentary on Unix: Why It Was Secretly Copied for 20 Years (fosscomics.com)

172 points by joonehur 10 hours ago

JdeBP 2 hours ago

By the time I got hold of a copy when the book came out, the Deitel and Kogan book on OS/2 had been out for 2 years, as had the Goodheart+Cox Magic Garden book, the Leffler+McKusic+Karels+Quarterman book on 4.3BSD had been out for 7 years, the Bach book had been out for 10 years, and the Xinu books had been out for 12 years.

The Lions book wasn't really very useful by 1996.

Whereas Vahalia's and Pate's books on Unix, which also came out in 1996 but covered things that had happened in the intervening decades, were a lot more useful.

ferguess_k 39 minutes ago

Recommending the same treatise on Linux 0.12 (The authors meticulously translated everything into English a few years ago):

https://download.oldlinux.org/ECLK-5.0-WithCover.pdf

The whole website is dedicated to old Linux. (https://oldlinux.org/)

pjmlp 6 hours ago

Yes, many forget that books like the Lions' Commentary on Unix, or later Andrew Tanenbaum on Minix, are the reason UNIX alongside C, won over the big bucks alternatives universities had to pay for.

Had UNIX been a commercial product from the start, history would have taken a quite different timeline for both of them.

intrasight 3 hours ago

> Had UNIX been a commercial product

I'm confused. Was't UNIX a commercial product?

msh 3 hours ago

No. AT&T was not allowed to sell software due to their phone monopoly

ndiddy an hour ago

AlecSchueler 2 hours ago

hidroto 7 hours ago

tda 5 hours ago

analog31 an hour ago

>>> The other big problem with these fake books at this point was that the music inside felt really out of date. The fake books hadn’t changed since the mid-40s, but jazz had.

Amusingly, the "contemporary" tunes in the Real Book are now 50+ years old.

I got a Real Book around 1982, and it was revelatory. Of course I was picking up tunes by ear before that, as a bassist, and I still do today. But the RB made some of the more "weird" tunes approachable, and allowed bands to form for gigs even if we didn't all know 4 hours of material.

shermantanktop 5 hours ago

That Wikipedia page is wild. I never knew the detailed history. It explains why the Real Book has so many Steve Swallow tunes!

acomjean 2 hours ago

I took the Linux Kernel Internals class at redhat as my company was switching from HPUX and Solaris. HPUX had some great tools for semi real time and we needed OS info. They gave us a tome that was really useful, but slowly went out of date….

Thankfully Linux has no such restrictions.

turtleyacht 9 hours ago

Programmers know the value of books.

sirtaj 9 hours ago

Interestingly, Plan 9 was already being distributed as books with source at the same time. So Thompson, Pike et al were already on board with this idea.

Have to appreciate the little irony of SCO being the first to allow publishing of the book.

tankenmate 8 hours ago

I'm pretty sure that it was "Santa Crus Operation" (i.e. "Good SCO") that gave permission for the book to be published (Unix Support Group (USG) was sold to Novell and then to "Good SCO"). "Bad SCO" was "SCO Group" (Darl McBride, et al) which was ex Caldera.

And I just looked up his name because I had forgotten it, Peter Salus (Unix historian) along with Dennis Ritchie and Berny Goodheart (author of "The Magic Garden Explained", SVR4 kernel primer) who pushed for "Good SCO" to publish the Commentary.

jibalt 6 hours ago

sirtaj 7 hours ago

EdwardDiego 8 hours ago

That irony regarding SCO struck me too. "Wait, SCO? That SCO? Huh."

mkarliner 6 hours ago

I still have my bootlegged photocopy from around 1985

kps 27 minutes ago

Me too. Two ‘volumes’, one for the source and one for the commentary, to have them open side by side.

(I spent so much on the departmental copier as a bored intern.)

ape4 2 hours ago

Is there a definitive equivalent about Linux?

mapcars 30 minutes ago

One more reason to acknowledge the internet and sharing of knowledge it brought.

jibalt 6 hours ago

I got my hands on the Lions book at some point, but I worked for Interactive Systems Corporation, a UNIX development shop, and had already seen the code.

ajasmin 7 hours ago

Is there a good modern reprint of Lions` book?

QuantumNomad_ 6 hours ago

They link to Amazon from the OP:

Lions' Commentary on Unix, https://www.amazon.com/Lions-Commentary-Unix-John/dp/1573980...

Or did you mean a version of the book written for a later version of Unix?

jeffrallen 8 hours ago

"You are not expected to understand this."

:)

jibalt 6 hours ago

For good reason -- it was buggy! It used the wrong stack. They fixed it in V7.

I was a UNIX kernel hacker working for Interactive Systems Corporation. I studied and hand simulated that code, understood it, and saw that it was buggy, but I don't remember whether that was before or after I saw the fix in the V7 kernel code.

mesrik 3 hours ago

And the comment was as Wikipedia page explains, just a Lions note his students not to worry being asked in exam.

https://en.wikipedia.org/wiki/A_Commentary_on_the_UNIX_Opera...

kps 26 minutes ago

Taniwha 4 hours ago

Not really, they just didn't have setjmp/longjmp yet, they used something else. The real thing you weren't meant to understand was why a routine that was never called returning a value and mostly didn't return a value had to return "1" at that particular point

https://www.taniwha.com/~paul/not.html

(I worked for another competitor, UniSoft, SCO ripped us off too, on the 286 port)