diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-29 03:10:29 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:15 -0300 |
| commit | cf49c329cb401a5c530ef2533066702fe1545360 (patch) | |
| tree | cde7ce577a16ba09ddc9453886433144091d403d /src/fs-help.txt | |
| parent | cf2415cc6527cb92898694aae88fd84d54aac28c (diff) | |
| download | pardes-cf49c329cb401a5c530ef2533066702fe1545360.tar.gz pardes-cf49c329cb401a5c530ef2533066702fe1545360.zip | |
An exec line over 1024 bytes fails the write, naming the limit
A command line longer than the 1024 bytes a command pane takes was said on
the message row after the write had already succeeded. An exec write (the
root's, a pane's, tagexec, a column's) now refuses it before anything runs,
EINVAL with "a command line is at most 1024 bytes" and an err record; a
builtin's line, a long Msg or an Edit block, is not limited.
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 c3578af9..ca4d3d77 100644 --- a/src/fs-help.txt +++ b/src/fs-help.txt @@ -39,7 +39,7 @@ Pitfalls, one each: data: > replaces the addr range, : > deletes it, a 2nd > inserts (addr moved); body: > empties all. tag reads the path, then its own text; > replaces that text (default words too), >> appends. A terminal's body is a history snapshot frozen per open, wrapped rows joined into lines; pty/data is the live stream. - exec: a non-builtin line runs as a command pane (ctl's Shell -c), a shell's typed in; a line runs once whole. + exec: a non-builtin line (at most 1024 bytes) runs as a command pane (Shell -c), a shell's typed in; once whole. Through a mount a malformed write is EINVAL, a failed one EIO or an errno that fits (ENOENT): log's err says why. lock/unlock need a held ctl fd (exec 3>ctl); a held lock fails: retry. fs.md has the rest. Repl python on a terminal's ctl: a .py body's clicks go to it (Repl - unbinds, Repl says it); tags stay commands. |
