The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Paul Ruizendaal <pnr@planet.nl>
To: TUHS main list <tuhs@minnie.tuhs.org>
Subject: [TUHS] 8th Edition and /dev/stdio
Date: Mon, 20 Apr 2020 15:59:58 +0200	[thread overview]
Message-ID: <46EFF8FB-86D2-407A-87A7-B7A58D47C2D9@planet.nl> (raw)

Whilst spelunking in the V8 source code I came across this dozen lines:
http://chiselapp.com/user/pnr/repository/v8unix/artifact/2782d26fa2930724?ln=174,187

It implements the /dev/stdin, /dev/stdout and /dev/stderr devices (the variable ‘file_no’ in above code snippet is the constant 40, which is the major number of these devices). It would seem that this handful of lines could have been in Unix as early as 4th Edition — but they weren’t. Maybe it was not seen as useful.

As far as I can tell this bit of code originates in 8th Edition, with no earlier precursors. It does not seem to be in its man pages.

Who added this neat little innovation?



             reply	other threads:[~2020-04-20 14:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-20 13:59 Paul Ruizendaal [this message]
2020-04-20 14:28 ` arnold
2020-04-20 15:01   ` Paul Ruizendaal
2020-04-20 15:16     ` arnold
2020-04-20 17:58       ` Paul Ruizendaal
2020-04-20 18:17   ` Derek Fawcus
2020-04-20 18:32     ` arnold
2020-04-22  9:21       ` Rob Pike
2020-04-22  9:33         ` arnold
2020-04-22  9:35           ` Steve Nickolas
2020-04-22  9:41             ` Rob Pike

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46EFF8FB-86D2-407A-87A7-B7A58D47C2D9@planet.nl \
    --to=pnr@planet.nl \
    --cc=tuhs@minnie.tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).