diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-29 13:48:35 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:16 -0300 |
| commit | ca362e190825862d5c0a1451d163d3c00be68314 (patch) | |
| tree | 41ba9702527092b4e8cbc482c79d6651d6918fa0 /docs/fs.md | |
| parent | a2e466a874502b665807f620eb8edefb37be1e8c (diff) | |
| download | pardes-ca362e190825862d5c0a1451d163d3c00be68314.tar.gz pardes-ca362e190825862d5c0a1451d163d3c00be68314.zip | |
A second line written to name is refused EINVAL, in one write or on the same open
bash writes printf 'a\nb\n' a line at a time, so each line arrived as a whole name on the held open and renamed the pane twice. An open that has named its pane now refuses a further line, as a two-line write already was.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs/fs.md')
| -rw-r--r-- | docs/fs.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -559,7 +559,9 @@ directory. A name alone is no edit: the pane's `dirty` stays what its text made Restore or Del, which ask only about text edited), and `Save` writes it under the new name all the same. An open's writes are one name: held until its newline, or its close when it has none, then applied once, however -the writes cut it; nothing else is trimmed. A blank inside a name is taken +the writes cut it; nothing else is trimmed. Two lines are refused, EINVAL, +in one write or as a second line on the same open (bash's `printf +'a\nb\n' > name` writes a line at a time: the first names it). A blank inside a name is taken (`two words.zig`); refused, EINVAL, in acme's words (xfid.c:650) and why, are a blank at either end (not quietly cut off), `bad character in file name: a blank at its end`, a second line, `...: a newline (a name is one |
