Improvement
A terminal worth talking to
Until yesterday, talking to adkos was like talking through a keyhole.
Plain text. No colour. No cursor. You typed blind.
Not anymore.
The screen is a real terminal now. Colours, a cursor, and the escape sequences terminals have understood for decades.
It has its own font, too. IBM Plex Mono, drawn at 12 by 24 pixels and smoothed. The same dark palette as this website. A margin, and a thin bar for a cursor.
And the shell finally listens properly. It shows what you type, lets you fix the line and brings back earlier lines with the arrows.
One thing it no longer does: take a password on the command line. It asks for it afterwards, at a prompt. A new one, twice. If the two don’t match, it says no.
I also wrote down how the shell will speak from now on. One shape for everything: a verb, an object, its fields and its options. The slash is for files only. Everything else in the system goes by its kind and its name, like svc web or proc 42. The shell you can try today still uses the old spelling until it moves over.
Under the hood, two steps of the first stage of the roadmap are done.
The memory the kernel spends on each program is now always charged to someone. And a power cut with the disk’s cache on can no longer corrupt a volume.
Also new:
No driver lets its device read or write memory on its own without an IOMMU watching. Not on a machine without one, and not until interrupts are guarded too. From the kernel’s very first step, almost every device is kept quiet until a driver claims it.
A hostile device can no longer point its driver at the machine’s memory or at the kernel’s own registers. Some gaps remain there, and they’re written down.
If a processor would leave the kernel open to the programs it runs, adkos refuses to start them.
Every piece of cryptography that handles a secret is now checked for timing leaks, and signing with Ed25519 takes the same time whatever the key.
A disk image built to stall the system can’t stall it anymore.
And every outside crate the code uses now waits for a person to audit it.
The keyhole is gone. Now it’s a terminal.
New entries will come as it grows. The Atom feed brings them to you without an account.