TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Unix Edition Zero (1971)

149 点作者 mbucc超过 2 年前

11 条评论

aap_超过 2 年前
You can run the PDP-7 version and an early slightly frankenstein&#x27;ed PDP-11 version in simh: <a href="https:&#x2F;&#x2F;github.com&#x2F;DoctorWkt&#x2F;pdp7-unix">https:&#x2F;&#x2F;github.com&#x2F;DoctorWkt&#x2F;pdp7-unix</a> <a href="https:&#x2F;&#x2F;github.com&#x2F;DoctorWkt&#x2F;unix-jun72">https:&#x2F;&#x2F;github.com&#x2F;DoctorWkt&#x2F;unix-jun72</a>
mindcrime超过 2 年前
Very happy to find this:<p><a href="http:&#x2F;&#x2F;fortunes.cat-v.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;fortunes.cat-v.org&#x2F;</a><p>I was looking for a source of good stuff to import into my Bugzilla &quot;quips&quot; database, and a lot of these UNIX&#x27;y &quot;fortune&quot; entries would make great grist for that mill.
Lammy超过 2 年前
TIL PDP-11 UNIX had an eight-character file&#x2F;directory name limit <a href="https:&#x2F;&#x2F;retrocomputing.stackexchange.com&#x2F;questions&#x2F;23917&#x2F;origin-of-the-8-3-file-names-scheme" rel="nofollow">https:&#x2F;&#x2F;retrocomputing.stackexchange.com&#x2F;questions&#x2F;23917&#x2F;ori...</a>
评论 #34817279 未加载
评论 #34813591 未加载
dang超过 2 年前
Discussed at the time (of the McIlroy email):<p><i>Newly discovered earliest draft of a Unix manual (1971)</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10794189" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10794189</a> - Dec 2015 (40 comments)<p><i>The Unix Time-Sharing System, unpublished draft (1971) [pdf]</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10660727" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10660727</a> - Dec 2015 (1 comment)
mbucc超过 2 年前
Draft Unix manual written by Dennis Ritchie circa 1971---at a time when Unix had been running for a &quot;few months&quot; on the PDP-11.
kragen超过 2 年前
seems extremely similar to modern unixes, though of course it&#x27;s only a small subset<p>main differences seem to be<p>- filenames were only 8 bytes instead of 14 or 255<p>- devices were in the root directory instead of &#x2F;dev: &#x2F;ppt, &#x2F;bppt, &#x2F;rppt, &#x2F;tty, &#x2F;ctty, &#x2F;tty1, &#x2F;tty2, &#x2F;rtty, &#x2F;tap0, &#x2F;tap1 (magtapes), &#x2F;disk (the disk), and &#x2F;system (the kernel memory)<p>- there were no groups, just six permission bits (u+r, u+w, o+r, o+w, a+x, and u+s)<p>- creat is spelled with an e (and evidently you couldn&#x27;t open() nonexistent files)<p>- instead of lseek you only have seek, with a different argument order and presumably only able to handle offsets of up to 64KiB (less of a problem on a &quot;256K word disk&quot;, which is presumably 524288 bytes, according to the note on p. 12 that a 64-word block was 128 bytes), which explains the name of lseek<p>- correspondingly, there were no doubly indirect blocks and so the maximum file size actually was 64 KiB<p>- the tty really was a tty, no video terminals!<p>- &quot;i-number&quot; and &quot;i-node&quot; had hyphens, and the &quot;i&quot; stood for &quot;identification&quot;<p>- the shell prompt was &quot;@&quot;, and there was no control flow or pipes in the shell; it&#x27;s not mentioned but I think that around this time there was a `goto` command which would seek standard input until it found the specified label before returning control to the shell. i&#x2F;o redirection <i>did</i> exist, and so did argument quoting<p>- `cd` was spelled `chdir` even in the shell, and was the only shell builtin<p>- correspondingly, no standard error yet; the famous phototypesetter error printout had not yet happened because there were no pipes<p>- no shell wildcards<p>- no PATH, because no &#x2F;usr&#x2F;bin yet (they hadn&#x27;t bought the &#x2F;usr disk yet)<p>- no -o flag; `as` always wrote its output to `a.out` and you had to `mv` it if that wasn&#x27;t what you wanted<p>- `fork()` returned to a different location in the child process, instead of returning a status value and making you test the return value. this would have saved me great embarrassment at my first sysadmin intern position when i accidentally wrote a fork bomb (by getting the test backwards) and ran it on the departmental nfs server<p>- no `execve`, just `execle` (called `execute`)<p>- no `waitpid()`, `wait3()`, etc., just `wait()`<p>- no `select()` or sockets of course, nor any of the other bsd niceties<p>- traps weren&#x27;t handleable, so there was no SIGINT yet, just SIGQUIT, with the same ^\ keystroke it has today (but no way to attach a signal handler to it); no concept of tty process group (or indeed process groups at all) so ^\ could kill a random background job. but there was an `intr` system call to disable these breaks (presumably so you didn&#x27;t kill the shell)<p>- no C yet, just B, but evidently the B compiler was already generating native code instead of stack bytecode as it had a few months before. consequently the system calls are documented in terms of machine registers and assembly instructions<p>- no `rename()` system call; `mv` linked and then unlinked the file<p>- no environment variables<p>- `time()` was still provided in sixtieths of a second since &quot;the start of the current year&quot; (so at the time the Unix epoch was the beginning of 01971, not the beginning of 01970) and was 32 bits (the AC and MQ registers)<p>- symbol tables were written to a separate `n.out` file<p>- no `ptrace()` and so no live debugging support (except for the kernel!), just inspecting core files<p>- `tar` is called `tap` and cannot put its archives in files other than actual physical magtapes<p>sadly page a7 is missing from the scan
评论 #34817591 未加载
评论 #34817059 未加载
评论 #34815396 未加载
评论 #34815764 未加载
评论 #34816931 未加载
septune超过 2 年前
Amazing stuff, amazing job. Most of what’s written here is still relevant. It’s hard to concieve that all the unixies here are the rock-solid bases of current UNIXes
philosopher1234超过 2 年前
cat-v is such a website. i love it. nothing like it these days
评论 #34816896 未加载
blondin超过 2 年前
this is great. i realized that manuals and documentation might have used a lot of paper back then. the new PDF that was typeset using troff is half the length of the original!
评论 #34812866 未加载
评论 #34821444 未加载
PeterWhittaker超过 2 年前
I love reading this. It feels perfectly familiar.
评论 #34813798 未加载
slim超过 2 年前
it looks like this unix had B programming language (C was still not invented)