Skip to content

Phosphor terminal

READY. You scrolled past the last heading anyone else reads, which makes you exactly the operator this console was waiting for.

phosphor is a hidden pack: an original homage to the green-screen ship and mainframe computers of 1970s–80s science fiction. One colour of light on a black tube, monospaced uppercase type with a soft glow, scanlines and a dark vignette over the whole screen, boxed frames drawn with single and double rules, numbered menus with dotted leaders, block-character bars, vector outlines for charts and maps, and priority banners that stay perfectly steady — nothing on this screen blinks at you. Every label, number and order below is invented. Select it with import Phosphor (also Mainframe, CRT) or pack="phosphor" on the fence. The dark appearance is the canonical green tube; the light appearance swaps in an amber tube, because someone in procurement got a deal.

Console (alias Screen) is the full-screen frame: a double rule with the title in inverse video, code: in brackets at the right and the footer: slot for a StatusLine. Panel (alias Box) is a single-rule box with its title set into the top rule. The rest: Prompt / CommandLine (a command line with a block cursor), Cursor, MenuList with MenuOption (numbered automatically; key: overrides the number, .selected() lights it), StatusLine, Readout, Banner (steady priority banner; .variant(.notice) is the outlined form), Priority (the inverse-video alarm), Wireframe (vector map), VectorPlot / Plot, LoadBar, Log, DataTable, Ledger, Header, Caption and Rule. The core ProgressView, charts, Table, Spreadsheet and Terminal are restyled to match.

The reusable pieces (ShipStatus, DirectoryMenu, SubsystemPanel) live in mockups/phosphor/mainframe.mockitdown and are imported with import "phosphor/mainframe".

Main directory

The top-level screen: the numbered directory, four readouts and the command line waiting for input.

MAIN DIRECTORYINTERFACE 2037
SYS 04
SELECT FUNCTION
NAVIGATIONSTANDBY
LIFE SUPPORTNOMINAL
REACTOR CONTROLNOMINAL
CARGO MANIFEST214 ITEMS
CREW REGISTRY7 ABOARD
COMMUNICATIONSNO SIGNAL
SPECIAL ORDERSRESTRICTED
HULL TEMP
0412
+3KELVIN
O2 RESERVE
96.1
HEADING
117.4
-0.2
DIST
3.06
REACTOR64%
COOLANT82%
>RUN DIAGNOSTIC 7
Light
MAIN DIRECTORYINTERFACE 2037
SYS 04
SELECT FUNCTION
NAVIGATIONSTANDBY
LIFE SUPPORTNOMINAL
REACTOR CONTROLNOMINAL
CARGO MANIFEST214 ITEMS
CREW REGISTRY7 ABOARD
COMMUNICATIONSNO SIGNAL
SPECIAL ORDERSRESTRICTED
HULL TEMP
0412
+3KELVIN
O2 RESERVE
96.1
HEADING
117.4
-0.2
DIST
3.06
REACTOR64%
COOLANT82%
>RUN DIAGNOSTIC 7
Dark
Main directory
Source
import "phosphor/mainframe"

Console("MAIN DIRECTORY", subtitle: "INTERFACE 2037", code: "SYS 04") {
  HStack(alignment: .top, spacing: 28) {
    VStack(alignment: .stretch, spacing: 8) {
      Caption("SELECT FUNCTION")
      DirectoryMenu(lit: 3)
    }
    .frame(maxWidth: .infinity)
    VStack(alignment: .stretch, spacing: 10) {
      HStack(spacing: 10) {
        Readout("HULL TEMP", value: "0412", change: "+3", unit: "KELVIN")
        Readout("O2 RESERVE", value: "96.1", unit: "PERCENT")
      }
      HStack(spacing: 10) {
        Readout("HEADING", value: "117.4", change: "-0.2")
        Readout("DIST", value: "3.06", unit: "LIGHT-HR")
      }
      LoadBar("REACTOR", value: 0.64)
      LoadBar("COOLANT", value: 0.82)
    }
    .frame(width: 330)
  }
  Spacer()
  Rule("COMMAND")
  Prompt("RUN DIAGNOSTIC 7")
} footer: {
  ShipStatus()
}

Systems diagnostic

A status grid of three SubsystemPanels, two vector charts and the fuel ledger as a fixed-width spreadsheet.

SYSTEMS DIAGNOSTICLEVEL 3 SWEEP
DIAG 7
REACTOR
R-2
LOAD64%
HEAT71%
FLOW58%
LIFE SUPPORT
L-1
LOAD42%
HEAT33%
FLOW88%
DRIVE
D-4
LOAD15%
HEAT22%
FLOW9%
THERMAL TRACE
CORESHELL
PUMP OUTPUT
E4fx=C4/D4
ABCDE
1TANKCAPLEVELDRAWHOURS
2FORE 14800392012.5=C2/D2
3FORE 24800410512.5=C3/D3
4AFT 16200221018=C4/D4
5AFT 26200598018=C5/D5
FUELWATERAIR
Diagnostic

Survey grid

The navigation screen: a Wireframe map of the survey area with the planned route, range readouts and the transmission log as a Log terminal.

SURVEY GRIDSECTOR 9 · QUADRANT C
NAV 2
BEACON 4SITE KRELAY 9
RANGE
41.07
BEARING
117
ETA
02:14
TRANSMISSION LOG
$ PLOT COURSE SITE-K
> ROUTE 3 LEGS · 41.07 KM
> TERRAIN CLEARANCE 120 M
$ PING RELAY-9
> NO RESPONSE (3 OF 3)
$ PING BEACON-4
> ACK 0.41 S
$ HOLD
WAYPOINTKMALT
BEACON 40.00220
SITE K18.40340
RELAY 941.07515
Light
SURVEY GRIDSECTOR 9 · QUADRANT C
NAV 2
BEACON 4SITE KRELAY 9
RANGE
41.07
BEARING
117
ETA
02:14
TRANSMISSION LOG
$ PLOT COURSE SITE-K
> ROUTE 3 LEGS · 41.07 KM
> TERRAIN CLEARANCE 120 M
$ PING RELAY-9
> NO RESPONSE (3 OF 3)
$ PING BEACON-4
> ACK 0.41 S
$ HOLD
WAYPOINTKMALT
BEACON 40.00220
SITE K18.40340
RELAY 941.07515
Dark
Survey grid

Priority alarm

The same console when something has gone wrong: the steady inverse-video Priority banner across the top, Banners listing what tripped it and the command line asking for confirmation.

ALARMAUTOMATIC OVERRIDE
PRI 1
TIME TO SCRAM
00:41
BAY 2 PRESS31%
LOOP B FLOW8%
OVERRIDE REQUIRES TWO OPERATORS
?CONFIRM SEAL BAY 2 (Y/N)
Light
ALARMAUTOMATIC OVERRIDE
PRI 1
TIME TO SCRAM
00:41
BAY 2 PRESS31%
LOOP B FLOW8%
OVERRIDE REQUIRES TWO OPERATORS
?CONFIRM SEAL BAY 2 (Y/N)
Dark
Priority alarm

Anatomy of a screen

The parts of a screen, numbered. The double rule with its inverse title 1 is the Console; its code 2 sits in brackets at the right. The numbered menu 3 is a MenuList of MenuOptions with dotted leaders to their values; a Readout 4 is a dashed box around a big number; a LoadBar 5 is drawn in block characters; the command line 6 ends in a steady block cursor; and the inverse-video StatusLine 7 closes the screen.

REACTOR CONTROL
SYS 04
STATUSNOMINAL
THROTTLE64 PCT
COOLANTLOOP A
3
CORE TEMP
0412
4
OUTPUT64%
5
>SET THROTTLE 70
6
12
3
4
5
6
7
12
Anatomy

Two more hidden consoles share this drawer: the starship console, the holographic HUD, and this one, the phosphor terminal. For the rest of computing history, see the Retro packs.