diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-28 18:20:33 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:15 -0300 |
| commit | afc72ac3db0840d8571dcfb8e2e182a241bdecaf (patch) | |
| tree | 287d4e2cc74839e668f3afba4d13873923a40d89 /src/fs-help.txt | |
| parent | 4354669aa560c5504b046413f771d02c4216dd45 (diff) | |
| download | pardes-afc72ac3db0840d8571dcfb8e2e182a241bdecaf.tar.gz pardes-afc72ac3db0840d8571dcfb8e2e182a241bdecaf.zip | |
A shell's > on addr no longer resets it, so echo /re/ > addr searches on
Truncating addr reset it to #0, so a shell's find-and-replace loop matched the first hit for ever, .+#1 read 1 1 each time, and foo x foo y foo became foobarbarbar... acme resets addr on the first open (xfid.c:105-108), for clients that hold the fid; a shell cannot. Here neither an open nor a truncation resets it: the address written is evaluated from the last one, and 0 or , starts over. Documented as a departure from acme.
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 57ef7b62..2ae4f360 100644 --- a/src/fs-help.txt +++ b/src/fs-help.txt @@ -35,7 +35,7 @@ Below, $m is the mount: $NINE_MOUNT/pardes/<pid> when 9ns --mntgen set $NINE_MOU 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 /regexp/ from the current address (^ $ per line); a failed one refuses data. + addr: #n,#m or /regexp/ from the current address (^ $ per line); > never resets it, 0 does; a miss refuses data. data: > replaces the addr range, : > deletes it, a 2nd > inserts (addr moved); body: > empties all. tag reads the path, then its own text; writes append; truncating clears it, default words too. A terminal's body is a history snapshot frozen per open; pty/data is the live stream. |
