roadmap

Prior art: Redox wrote its own engine, then replaced it

This appendix belongs to milestone 705 (the graphical terminal runs full-screen programs). It holds the one case found of an operating system project doing what option A proposes, and what happened. The engine plan draws its conclusion from it.

Read on 2026-10-21 (UTC) from gitlab.redox-os.org (the ransid, orbterm, base and redox repositories) and the crates.io copy of ransid 0.5.0. ransid was built and graded with the same recordings as the other engines; nothing else from Redox was run.

What ransid is

"Rust ANSI Driver", MIT, by Jeremy Soller. It parses with vte 0.8 and keeps the cursor, the rendition, the region and a handful of modes. It holds no grid. Every effect leaves as a drawing event (Char, Rect, Move, ScreenBuffer, Input), and the program using it keeps the cells. It is 941 lines in two files, with no tests.

Redox used it in three places: orbterm (the desktop terminal) and, in base, the text console fbcond, the boot log fbbootlogd and the VESA driver, through a shared console-draw crate.

Why it stalled

The commit history, 76 commits in all:

years commits what they were
2016 and 2017 61 the engine as it stands
2018 6 underline and strikethrough from a contributor, a release
2021 and 2022 5 scrolling, Debug, the move to vte 0.8
2025 4 Clippy fixes and comments naming escape sequences

Seventy of the 76 are by its author. Nothing after 2017 added a sequence.

What it never implemented, read from the 0.5.0 source:

Its region scroll carries two TODO: Use min and max to ensure correct behavior comments.

Measured with the plan's recordings: 14 of vttest's 24 screens (it fails 1.3, 1.5, 2.2, 2.7, 2.9, 2.11, 2.15, 8.2, 8.3 and 8.4) and 40 of the census's 97 checkpoints. That is ahead of ours today (7 and 13) and behind vt100 (17 and 80).

The reading, which is an inference from the record and not something Redox wrote: one person built it in two years. It had no tests and no conformance run to say what was missing. Because it emitted drawing events and not a grid, nothing could hold its output as a value and compare it. Once it drew Redox's own programs well enough, nothing measured it again.

What replaced it

So Redox's console today is fbcond drawing through console-draw, on alacritty_terminal 0.26.0.

Whether alacritty_terminal needed a Redox patch

No. base takes 0.26.0 from crates.io with default-features = false, and its Cargo.toml has no [patch] entry for it, vte or polling. COSMIC Terminal takes 0.25.1 from crates.io, and Redox's recipe builds it unmodified with no patch directory.

It builds unpatched because Redox's support is upstream in the crates under it. polling 3.11 has a Redox backend (it uses its epoll path), and libc and rustix know Redox. The patches Redox did carry were elsewhere: drm, drm-sys and rustix, removed on 2026-03-06 once releases with Redox support shipped ("Remove no longer necessary patches").

nife is in the other position. polling refuses nife's target, which is why option F had to cut the pty and event loop out of alacritty_terminal (option F). Redox's route works because Redox is a POSIX-like target that upstream crates support; nife is not one.

What it means for option A

ransid is option A's shape: an operating system's own engine, small, written for its own programs. Redox's experience says such an engine stalls once it draws its author's programs, and that the exit is a mature engine. The engine plan answers each cause in turn.