The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: ron@ronnatalie.com (Ronald Natalie)
Subject: [TUHS] speaking of early C compilers
Date: Tue, 28 Oct 2014 09:03:44 -0400	[thread overview]
Message-ID: <2A352307-DB5B-4434-B5E3-C6747CD71AD4@ronnatalie.com> (raw)
In-Reply-To: <CAC20D2NaZqx9mjCM67FLm8bBobG4yi+o7H8Vbibs6NLhHABUEg@mail.gmail.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2429 bytes --]

> 
> I've forgotten the details nows, but they also had some issues when running UNIX.  Steve Glaser and I chased those for a long time.  The 60 had the HCM instruction sequences (halt a confuse microcode) which were some what random although UNIX seemed to hit them.  DEC envisioned it as a commercial machine and added decimal arithmetic to it for RSTS Cobol.​  I'm not sure RSX was even supported on it.
> 

Ah, RSTS...the Really Sh-ty Timesharing System.     An amusing UNIX story on that one.   Hopkins EE department was a RSTS shop running primarily the Basic Plus interpreter which was the core of some classroom courses (especially the Freshman course:  Modeling and Simulation).   When the the guys found out about UNIX they lobbied the department faculty to switch to UNIX and they were told they could provided that Basic Plus continued to run.

Amusingly, if you read the DEC processor handbook, it says the TRAP instruction is designed to invoke system calls.    UNIX did this of course.   Amuslingly, the DEC operating systems, including RSTS, used EMT to invoke system calls.   The book says this was put there to allow emulating other OSs.    Well this made it relatively easy.
Basic Plus was calling EMT so they just had to catch the EMT traps and emulate the few RSTS calls that Basic Plus needed to make.    JHU/UNIX was born.   It was a Version 6 UNIX (which original system administrator John Day decided that 6.06 was a great version number and he kept it through many software updates).    Mike took over and stared advancing the numbers again.

We also had an 11/40 (lacking memory management) running miniUnix.   They also ran miniUNIX in the Biomedical engineering lab on an LSI-11/03.    I upgraded that lab to 11/23 running full up UNIX later on.

You may recall that the UID was stored in a (unsigned) char in those days.   This was problematic when you had a student body of a couple of thousand.    The solution was a kludge:  "JHU Ownership."     If your GID was over 200, both your UID and GID were considered when computing identity.    Obviously, newgrp was disabled for those accounts and I spent many an hour trying various combinations of setuid/gid bits and setuid/gid calls to see if there were any way to abuse that.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20141028/32e7ceb9/attachment.html>


  reply	other threads:[~2014-10-28 13:03 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-27 10:32 Jason Stevens
2014-10-27 13:03 ` Brantley Coile
2014-10-27 13:34   ` Ronald Natalie
2014-10-27 13:40     ` random832
2014-10-27 14:04       ` Clem Cole
2014-10-27 15:04       ` Dave Horsfall
2014-10-27 17:09 ` scj
2014-10-27 20:35   ` Ronald Natalie
2014-10-27 21:34     ` Clem Cole
2014-10-28  1:09       ` Dave Horsfall
2014-10-28  2:06         ` Clem Cole
2014-10-28 12:22           ` Ronald Natalie
2014-10-28 12:42             ` Clem Cole
2014-10-28 13:03               ` Ronald Natalie [this message]
2014-10-28 22:02                 ` John Cowan
2014-10-27 13:46 Noel Chiappa
2014-10-27 13:54 Jason Stevens
2014-10-27 14:48 Noel Chiappa
2014-10-27 15:09 ` Ronald Natalie
2014-10-27 15:13 ` Dave Horsfall
2014-10-27 16:52 ` Dan Cross
2014-10-27 15:48 Noel Chiappa
2014-10-27 16:25 ` Dave Horsfall
2014-10-28  0:16   ` John Cowan
2014-10-27 16:50 Norman Wilson
2014-10-27 18:16 Nelson H. F. Beebe
2014-10-28  1:55 Jason Stevens
2014-10-28 12:52 ` Ronald Natalie

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=2A352307-DB5B-4434-B5E3-C6747CD71AD4@ronnatalie.com \
    --to=ron@ronnatalie.com \
    /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).