diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/next-run.md | 13 | ||||
| -rw-r--r-- | docs/typ/command-line.txt | 6 |
2 files changed, 9 insertions, 10 deletions
diff --git a/docs/next-run.md b/docs/next-run.md index 74eab197..c2d3488b 100644 --- a/docs/next-run.md +++ b/docs/next-run.md @@ -56,11 +56,11 @@ work` (or `pardes-gui attach work`) is a client of the detached session, its own process in this terminal or window. What differs from having the session's own frontend back: the client is a second process (a terminal's 10-16 MB, a window's about 110 MB); an addon that is not plain runs in the -session alone (its panes show a line saying so); its Detach, or its -terminal closing, ends the client with "'work' let this client go" and exit -1, where the stub said "detached from 'work'" and exit 0 (the last word a -session sends its client, and exit codes, are the next steps: "B" in -`.scratch/sketch/reports/pardes-last-step-design.md`). +session alone (its panes show a line saying so); its Detach ends the +client with "detached from 'work', which is still running" and exit 0, as +the stub's did: the session's last word on a link says which of two things +happened, `left` (a Detach in that client) or `ended` with the session's +exit code, which the client exits with. ## What it removed @@ -212,6 +212,3 @@ session takes back. own (the daemon's list, and so /sessions, still says `attached`, a wire word). After the change that frontend can only be the first one: is "has a frontend" the word, or "with its first frontend"? -- A client's Detach exits 1 with "let this client go", where the stub's - said "detached from" and exited 0: the session's last word to a client - (step B of the last-step design) would let it say which. diff --git a/docs/typ/command-line.txt b/docs/typ/command-line.txt index 3c73fed4..0ced145f 100644 --- a/docs/typ/command-line.txt +++ b/docs/typ/command-line.txt @@ -95,8 +95,10 @@ See also: ps, attach Start a session here, even in a pane of another: in this terminal for pardes, a window for pardes-gui, or with --detach none until one -attaches. Bare `pardes` takes the same flags, and starts one unless -it is in a pane (where it hands its FILE to that session). +attaches, which returns once the session runs and prints its name. +Bare `pardes` takes the same flags, and starts one unless it is in a +pane (where it hands its FILE to that session); its --detach is the +session itself, until it ends (a supervisor's way). Usage: pardes new [flags] [FILE] |
