summaryrefslogtreecommitdiff
path: root/docs/typ/guide.typ
diff options
context:
space:
mode:
Diffstat (limited to 'docs/typ/guide.typ')
-rw-r--r--docs/typ/guide.typ27
1 files changed, 14 insertions, 13 deletions
diff --git a/docs/typ/guide.typ b/docs/typ/guide.typ
index e69c756a..3dd8107c 100644
--- a/docs/typ/guide.typ
+++ b/docs/typ/guide.typ
@@ -352,28 +352,29 @@ cheatsheet (#doc("cheatsheet")) say so.
```
pardes --detach=work & a session with no screen of its own
-pardes --attach=work show it here
-pardes-gui --attach=work a window session's window again
-pardes --ps every session the daemon lists, and its shells
-pardes --kill=work end it and its shells (--kill-all: every one)
+pardes attach work show it here, as a client
+pardes-gui attach work show it in a window, as a client
+pardes ps every session the daemon lists, and its shells
+pardes kill work end it and its shells (kill --all: every one)
```
#word("Detach") (#key("SPC s D")) lets the terminal or the window go and
leaves the session running, its panes, shells and files kept; so does a
terminal that closes, while the daemon (below) is there. A window that
-closes ends its session, unless the session has clients.
-`pardes --attach` takes it back in any terminal,
-`pardes-gui --attach` a window session's window: a terminal session takes
-a terminal, a window session a window. Attached already, it takes another
-view: each terminal or window has its own columns, focus, cursors and
-scroll over the same panes, texts and registers, and a terminal shown in
-two takes the size of the one that last typed into it. #word("Detach") in
-one lets only that one go. A session is named by `--9p=` or
+closes ends its session, unless the session has clients. Once let go, a
+session's own terminal or window never comes back: `pardes attach` shows
+it in any terminal, `pardes-gui attach` in a window, either kind of
+session, each as a client, a process of its own. Each terminal or window
+has its own view (columns, focus, cursors, scroll) over the same panes,
+texts and registers, and a terminal shown in two takes the size of the
+one that last typed into it. #word("Detach") in one lets only that one
+go. A session is named by `--9p=` or
`--detach=`, else its pid. A session killed outright leaves its shells
running; #word("Adopt") in another takes them in as terminal panes, what
they showed gone. One `pardes --daemon` per user lists the sessions and
holds their shells' terminals open; the first session starts it, it is
-nobody's parent, and it leaves once it holds nothing. Which processes
+nobody's parent, and it leaves once it holds nothing; killed, the
+sessions start it again. Which processes
run, and what survives what, is in #doc("running").
After a rebuild, #word("Upgrade")
(#key("SPC s U")) moves a running session onto the pardes now installed