diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-28 12:15:03 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:14 -0300 |
| commit | cfcff94ab2b1ff5a0fb61dead60ead09bf892d30 (patch) | |
| tree | 61f132ac6cac6b2fb8d8eafeba2f613e091cc3a9 /src/fs-help.txt | |
| parent | a8248e91873f040eed1fd24d5af7c0ca285483ef (diff) | |
| download | pardes-cfcff94ab2b1ff5a0fb61dead60ead09bf892d30.tar.gz pardes-cfcff94ab2b1ff5a0fb61dead60ead09bf892d30.zip | |
docs: data's truncation is pardes's own, a second write inserts, and a waiting pty/run is cancelled
Review asked the docs to say what a script trips on: acme ignores OTRUNC on
data (fsys.c:543), so truncating it is an extension; addr sits past each write,
so a second echo x > data inserts after the first; and a pty/run line waiting
for a fresh terminal's first prompt waits for ever if none is drawn, so the way
out is to interrupt the read. The lock's retry advice was already there.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/fs-help.txt')
| -rw-r--r-- | src/fs-help.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs-help.txt b/src/fs-help.txt index bbff6f13..689d8839 100644 --- a/src/fs-help.txt +++ b/src/fs-help.txt @@ -36,7 +36,7 @@ Below, $m is the mount (/mnt/9p/pardes/<pid> via 9ns --mntgen; PARDES_MOUNT in a Pitfalls, one each: Each open of pane/new makes another pane (ls, stat, find never do); rmdir closes even a dirty one. addr takes #n,#m or sam-style /regexp/ (^ $ per line); a failed one makes data refuse until reset. - data: > replaces just the addr range and : > deletes it; body: > empties the whole buffer. + data: > replaces the addr range, : > deletes it, a 2nd > inserts (addr moved); body: > empties all. tag reads the path, then the tag's own text; writes append to that text; truncating clears it. A terminal's body is a history snapshot frozen per open; pty/data is the live stream. exec: a word no builtin knows is typed into a terminal in the pane's directory, and not an error. |
