[COFF] [TUHS] Re: Re: Re: AS/400 and TUI worlds: were they (very) isolated from UNIX?
Clem Cole via COFF
coff at tuhs.org
Sun Nov 15 04:15:16 AEST 2026
Below
Sent from a handheld expect more typos than usual
On Sat, Nov 14, 2026 at 11:35 AM <arnold at skeeve.com> wrote:
> Adam Thornton via TUHS <tuhs at tuhs.org> wrote:
>
> > The TSS-hosted Unix is described in a 1984 paper by W.A. Felton, G.L.
> > Miller, and J.M. Milner: "A *UNIX* System Implementation for System/370".
> >
> > It appears on p.1751 of the AT&T Bell Laboratories Technical Journal; I
> > have it collected in the October 1984 Vol. 63 No. 8 Part 2 issue, which
> has
> > "The UNIX System" on the cover.
> >
> > I don't know of anyone who has gotten this Unix running under emulation.
>
> Is the code for this even available?
that is a great question. I'd love to find it.
>
>
> Memory is vague, but I seem to recall that AT&T had IBM do some
> modifications to TSS in order to support running Unix on top of it, so one
> would need this modified TSS even to get started, no?
maybe. I haven't looked. I found a website that had what I think was the
last IBM TSS release. I know IBM took and put much the CMU work back into
their mainline. For instance, I'm fairly sure that work I did with Don
Gregg (who did the heavy lifting) to support York APL/360 on TSS went back
to both IBM and York (as well as number MTS sites).
IBM also hired a few of the CMU people into the TSS group, Dean Hiller
being the most
prominent (he was TSS's equivalent of Ken, and responsible for many, most
maybe, additions/corrections at CMU). Given the fairly small customer base
for TSS, if IBM made changes to TSS, I suspect that they would be put into
their mainline - thus all of the TSS sites got them.
I'd be curious what UNIX would have needed, except for one core thing and
another (device support), TSS, had a large number of systems calls that
could provide a fairly Unixy process environment. The FS was hierarchical
(ISTR TSS used periods not slash as the separator).
The two places I can think of quickly that they differ, is that a TSS task
(as IBM called a process) was always attached to the debugger/command
interpreter; and the way devices were handled, as I don't remember there
being any namespace similar to /dev. Thinking a little more,
open/close/read/ write should've been fair direct in mapping, but things
like ioctl, not as easily.
In my own case, since TSS was the first large system that got fairly
engaged with, I was bummed when I encountered the DEC OS on the different
systems that didn't have the debugger loaded.
I can imagine a number of ways to create unixy features so pipes and
interprocess communicate would have been straightforward. They had a solid
shared memory scheme, and ISTR they split some subsystems, such as ISAM
(called VISAM on TSS) into smaller processes Unix style. I would guess that
fork/exec/wait might have need be overhauled a bit, but I can imagine that
to support them fully, TSS might have needed some tweaks.
>
So besides it being 32-bit *vs*. 16, since TSS was a virtual memory
system, it would have been a nice system with of the PDP-11 issue removed.
It also brings up a interesting question if a TSS task could communicate
with a UNIX process and vice-versa. Another couple of questions I would
have is could the native tool chain of both the TSS side and hosted UNIX
side, be used to create executable for the other, and could both sides load
and start programs in ether side.
Clem
>
More information about the COFF
mailing list