From: norman@oclsc.org (Norman Wilson)
Subject: [TUHS] 8th Edition Research Unix on SIMH
Date: Wed, 26 Apr 2017 21:04:37 -0400 (EDT) [thread overview]
Message-ID: <20170427010437.AC0FC4422C@lignose.oclsc.org> (raw)
Tim Newsham:
I'm not sure what fd 3 is intended to be, but its the telnet socket in p9p.
====
By the 10/e days, file descriptor 3 was /dev/tty. There was
no more magic driver for /dev/tty; the special file still
existed, but it was a link to /dev/fd/3.
Similarly /dev/stdin stdout stderr were links to /dev/fd/0 1 2.
(I mean real links, not mere symbolic ones.)
I have a vague recollection that early on /dev/tty was fd/127
instead, but that changed somewhere in the middle 8/e era.
None of which says what Plan 9 did with that file descriptor,
though I suppose it could possibly have copied the /dev/tty
use.
And none of that excuses the hard-coded magic number file
descriptor, but hackers will be hackers.
Norman Wilson
Toronto ON
next reply other threads:[~2017-04-27 1:04 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-27 1:04 Norman Wilson [this message]
2017-04-27 1:26 ` Kurt H Maier
-- strict thread matches above, loose matches on Subject: below --
2017-03-31 22:31 Nelson H. F. Beebe
2017-03-30 11:47 Jason Stevens
2017-03-29 1:45 Noel Chiappa
2017-03-29 1:57 ` Steve Nickolas
2017-03-29 4:11 ` Grant Taylor
2017-03-29 0:49 Noel Chiappa
2017-03-29 1:02 ` Grant Taylor
2017-03-29 10:41 ` Steffen Nurpmeso
2017-03-29 2:44 ` Tim Newsham
2017-03-28 18:58 David du Colombier
2017-03-28 19:32 ` Cory Smelosky
2017-03-28 23:50 ` Tim Newsham
2017-04-25 3:16 ` Tim Newsham
2017-04-25 20:34 ` David du Colombier
2017-04-26 3:50 ` Cory Smelosky
2017-03-29 1:06 ` Henry Bent
2017-03-29 1:19 ` Cory Smelosky
2017-03-29 1:35 ` Henry Bent
2017-03-30 14:16 ` David du Colombier
2017-03-30 18:30 ` David du Colombier
2017-03-31 5:05 ` Michael Kerpan
2017-03-31 5:36 ` Kurt H Maier
2017-03-31 14:41 ` Michael Kerpan
2017-04-26 3:05 ` Tim Newsham
2017-04-26 5:53 ` Noel Hunt
2017-04-26 6:10 ` Tim Newsham
2017-04-26 23:49 ` Tim Newsham
2017-04-26 22:45 ` Tim Newsham
2017-04-26 23:02 ` Arthur Krewat
2017-04-26 23:21 ` Dave Horsfall
2017-04-26 23:07 ` Kurt H Maier
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=20170427010437.AC0FC4422C@lignose.oclsc.org \
--to=norman@oclsc.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).