summaryrefslogtreecommitdiff
path: root/docs/fs.md
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-29 08:23:46 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:16 -0300
commit0bb3f6d4f71a3a10eba846ae3ab5064630b12201 (patch)
tree0edd1670bca26434325e29fb8768ca793649e3b5 /docs/fs.md
parent8157972cff633ee0135c81fd3f1195d9a73eb92f (diff)
downloadpardes-0bb3f6d4f71a3a10eba846ae3ab5064630b12201.tar.gz
pardes-0bb3f6d4f71a3a10eba846ae3ab5064630b12201.zip
A new terminal is named by its directory from the start, so its shell arriving there is no rename
Tty's terminal was `new N /` until its shell reported its directory, then `rename N <dir>`: a rename for no change of place. The pane owns the directory it is started in from the first; only a move elsewhere renames. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs/fs.md')
-rw-r--r--docs/fs.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/fs.md b/docs/fs.md
index 4b0214c3..b4c006d3 100644
--- a/docs/fs.md
+++ b/docs/fs.md
@@ -732,11 +732,13 @@ an open renders its frame; stat the entry.
`/log` is one ring (64 KiB) that records whether or not anyone reads it:
`new`, `del`, `rename` (a terminal's too, as its shell changes directory --
-a new terminal is `new N /` until its shell says where it is, then renamed;
-it runs `ls` once at its first prompt, a greeting that shows the directory
-it opened in, since a terminal is named by its directory and nothing else
-on it says where it is --
-since a terminal is named by its directory), `exit <serial> <N>` before
+a new terminal is `new N <dir>`, named by the directory it is started in,
+and renamed only when its shell goes elsewhere (the boot's, started with
+no directory given, is `new N /` until its shell says where it is); it
+runs `ls` once, at its shell's first prompt only, never later over what
+someone ran or typed first, a greeting that shows the directory it opened
+in, since a terminal is named by its directory and nothing else on it says
+where it is), `exit <serial> <N>` before
the `del` of a terminal whose shell exited by itself, `ask <serial> <what>
<choices>` when a pane asks a question (answered by `answer` on its ctl;
`ask <serial> save path` when a Save made over 9P, on a terminal or a