mux
More info
- Creator
- Rob Pike
- Owner
- Bell Labs
- Type
- Window system
- Successor
- 8½
Rob Pike's window system for the Blit's successor, the 5620: it ran inside the terminal, split the serial line into one channel per window, and is what 8½ and rio descend from.
The first Blit ran mpx, and when AT&T began selling the reworked DMD 5620 in 1984 Pike rewrote the system as mux. The program was downloaded from the Unix host into the terminal's 68000 and took over the screen from there: each window was a layer in Pike's library for overlapping bitmaps, the right mouse button brought up the menu for creating, reshaping, moving and deleting windows, and the single serial line to the host was multiplexed into channels so that every window had its own shell on the far side. A program could also send down its own terminal half, which is exactly how the editor sam worked: samterm in the terminal, sam on the host, and the mouse handled locally without a single movement crossing the line.
mux belonged to the eighth through tenth editions of Research Unix; AT&T's commercial System V got a relative called layers. What separates mux from the X of the same years is that there was no client-server split worth the name — the terminal was the system. Pike carried the model into Plan 9 as 8½ and then rio, where a window is still a file you read and write.