Top all-time · #1919
Greg Lehey
Personal blog · lemis.comsystemsprogramming
Greg Lehey writes LEMIS, a personal blog at lemis.com about systems and programming. Since 2008, 41 different Hacker News readers have linked it 47 times, most often “Commentary on the Sixth Edition Unix Operating System”. No feed was found, so read it on the site itself.
LEMIS
Most-linked posts?
- Commentary on the Sixth Edition Unix Operating System12 people · 12 mentions · first linked 2011-04-06
- A Commentary on the Sixth Edition of the Unix Operating System (1977)10 people · 10 mentions · first linked 2010-06-25
- A Commentary on the Unix Operating System (Version 6, UNSW '77) [pdf]4 people · 4 mentions · first linked 2010-11-18
- /grog/UNIX/ancient-source-all.pdf2 people · 2 mentions · first linked 2023-02-05
What Hacker News says?
Lions' Commentary on UNIX' 6th Edition http://www.lemis.com/grog/Documentation/Lions/
Comment linking /grog/Documentation/Lions/
on “fork() can fail”Submitted Hacking ls -l as a story · 199 points
HN discussionOf possible (mostly historical) interest at this point, a similar commentary on a fairly early version of the original Unix kernel, by an Australian cs prof named John Lions -- which was very widely circulated among CS students in the '80s, despite this being technically in violation of AT&T's copyright on the book. It's availble online here: http://www.lemis.com/grog/Documentation/Lions/index.php Note that the code…
Comment linking /grog/Documentation/Lions/index.php
on “A Heavily-Commented Linux Kernel Source Code [pdf]”Submitted A Commentary on the Sixth Edition of the Unix Operating System (1977) as a story · 86 points
HN discussionGreg Lehey records some relevant history of the daemon logo prior to Lasseter's cover (along with a classic daemon t-shirt story) at http://www.lemis.com/grog/whyadaemon.html .
Comment linking /grog/whyadaemon.html
on “John Lasseter drew the BSD daemon logo”Submitted Lisp's 'car' doesn't mean 'Contents of the Address Register', as many think as a story · 13 points
HN discussionEh http://www.lemis.com/grog/recipes/measures.php#cups ^^ (didn't bring much traction when posted :( https://news.ycombinator.com/item?id=23634019 )
Comment linking /grog/recipes/measures.php
on “2+1=4, by quinoa”Submitted Commentary on the Sixth Edition UNIX Operating System as a story · 10 points
HN discussionIs there any material around still from the USENIX course that went through UNIX line by line? It looks like the Lions commentary also does that to a certain extent as well. There's even a version of the book online [0]. [0] http://www.lemis.com/grog/Documentation/Lions/index.php
Comment linking /grog/Documentation/Lions/index.php
on “Nobody's just reading your code”Submitted Commentary on the Sixth Edition Unix Operating System as a story · 5 points
HN discussionThe Version 6 (7?) UNIX code that BSD is based on was re-licensed to a 4-clause BSD license in 2002. http://www.lemis.com/grog/UNIX/
Comment linking /grog/UNIX/
on “A 35-year-old bug in Patch found in efforts to restore 29-year-old BSD”Submitted A Commentary on the Unix Operating System (Version 6, UNSW '77) [pdf] as a story · 4 points
HN discussion(1) Lions on Unix (PDF and source), http://www.lemis.com/grog/Documentation/Lions/index.php http://en.wikipedia.org/wiki/Lions%27_Commentary_on_UNIX_6th... "Lions' Commentary on UNIX 6th Edition, with Source Code by John Lions (1976) contains the complete source code of the 6th Edition Unix kernel plus a commentary. It is commonly referred to as the Lions book. Despite its age, it is still considered an excellent co…
Comment linking /grog/Documentation/Lions/index.php
on “Ask HN: What are your recommended reads that are available for free?”Submitted Commentary on the Sixth Edition Unix Operating System as a story · 3 points
HN discussionIn case anyone wonders, I recently looked into how locales work with respect to LANG, LC_ALL and LC_*: http://c.i3wm.org/6799926 By the way, by looking at http://www.lemis.com/grog/index.php you can see that the author uses FreeBSD, just in case you were wondering about /usr/src
Comment linking /grog/index.php
on “Hacking ls -l”Submitted Porting Unix Software (2005) as a story · 3 points
HN discussionEmacs is the only officially supported interactive Agda environment, as other people have noted. However, I have written a lot of Agda code in other editors (acme and vim). It is certainly feasable to do! In fact I find that it improves my code quality not to use the interactive features. When in interactive mode, I blindly chase the goal trying to get the correct type, and often end up going long detours. When I am…
Comment linking /grog/programs/XCompose
on “Learn you an Agda”Submitted Commentary on the Sixth Edition Unix Operating System as a story · 3 points
HN discussionYes, there is. John Lion's "A commentary on the Sixth Edition UNIX Operating System", goes through the PDP-11 UNIX kernel line by line. http://www.lemis.com/grog/Documentation/Lions/book.pdf Page 37, Section 7.13, "newproc": 1906: Call "xswap" (4368) to copy the data segments into the disk swap area. Because the second parameter is zero, the main memory area will not be released. 1907: Mark the new process as "swapp…
Comment linking /grog/Documentation/Lions/book.pdf
on “Why threads can't fork”Submitted Cups as a story · 2 points
HN discussionAs well as Minix, which is intended as just such a teaching aid and comes with a textbook, there's the Lions book, which is a complete annotated source listing of an early Unix, and which was passed around as nerd Samizdat for a while, until the Unix copyright status was changed. http://www.lemis.com/grog/Documentation/Lions/index.php
Comment linking /grog/Documentation/Lions/index.php
on “Ken Thompson quotes”Submitted Commentary on the Sixth Edition Unix Operating System as a story · 2 points
HN discussionO'Reilly used to typeset their books using troff/groff: http://www.lemis.com/grog/Documentation/PUS/tmac.Gbignuts.G (“O'Reilly & Associates book macros by Steve Talbott, Lenny Muellner”)
Comment linking /grog/Documentation/PUS/tmac.Gbignuts.G
on “Novellas with Groff”Submitted Commentary on the Sixth Edition Unix Operating System as a story · 2 points
HN discussionLions' Commentary on 6th Edition Unix is a later document in the same spirit. It has been posted here before but failed to gain any traction. http://www.lemis.com/grog/Documentation/Lions/
Comment linking /grog/Documentation/Lions/
on “The original Unix init system (1972)”Submitted Commentary on the Sixth Edition Unix Operating System as a story · 2 points
HN discussionOk, we've changed to that from http://www.lemis.com/grog/Documentation/Lions/book.pdf above. Thanks!
Comment linking /grog/Documentation/Lions/book.pdf
on “A Commentary on the Sixth Edition of the Unix Operating System (1977)”Submitted How the Internet will be different 20 years from now, in 2034 as a story · 2 points
HN discussionI was very curious how come there is a PDF from 1977. Apparently it is built from these source files: http://www.lemis.com/grog/Documentation/Lions/index.php A fork on GitHub: https://github.com/kanner/lions-book
Comment linking /grog/Documentation/Lions/index.php
on “A Commentary on the Sixth Edition of the Unix Operating System (1977)”Submitted Why Backslashes are not Slashes as a story · 2 points
HN discussion