summaryrefslogtreecommitdiff
path: root/src/builtins.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-30 21:06:51 -0300
committerGabriel Schneider <[email protected]>2026-10-30 22:03:33 -0300
commitc07baa7bf83039600a54b261eaae7fdd4d673768 (patch)
tree36377f2eabd9b3cee349d8bd1cf552b3866732f2 /src/builtins.zig
parentd00c40694dc239854263616f710b4a197d25d145 (diff)
downloadpardes-c07baa7bf83039600a54b261eaae7fdd4d673768.tar.gz
pardes-c07baa7bf83039600a54b261eaae7fdd4d673768.zip
builtins: Tty9p is a word of every hosted build, not a Linux build's alone, so a build's words, the rows of its Help, are the same on FreeBSD: a Linux client of a box session made SPC ?'s +Help with one row more than its session's and joined again (`pane 4.file.content`, and `.splice` over a +Help made again: two of the box soak's three divergences); whether its host is Linux is the authority's answer (tape.authority), so a replica of a FreeBSD session refuses Tty9p as its session does; test/cross_replay.py's session runs Help (a FreeBSD tape replayed here diverged at its pane's content)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/builtins.zig')
-rw-r--r--src/builtins.zig5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/builtins.zig b/src/builtins.zig
index b101e34d..38a4d835 100644
--- a/src/builtins.zig
+++ b/src/builtins.zig
@@ -1487,8 +1487,11 @@ pub const Tty = struct {
};
/// A Linux terminal with the current session mounted through kernel v9fs.
+/// A word of every hosted build, Linux's or not: a build's words are its
+/// Help's rows, which a replica of another build's session makes as its
+/// session did (a Linux client of a FreeBSD one diverged at SPC ?).
pub const Tty9p = struct {
- pub const enabled = pardes.hosted and @import("builtin").os.tag == .linux;
+ pub const enabled = pardes.hosted;
pub fn run(c: Ctx) void {
exec.spawnV9fsTty(c.p, c.id);
}