summaryrefslogtreecommitdiff
path: root/docs/typ/reference.typ
diff options
context:
space:
mode:
Diffstat (limited to 'docs/typ/reference.typ')
-rw-r--r--docs/typ/reference.typ18
1 files changed, 8 insertions, 10 deletions
diff --git a/docs/typ/reference.typ b/docs/typ/reference.typ
index 4c193e0f..425209a0 100644
--- a/docs/typ/reference.typ
+++ b/docs/typ/reference.typ
@@ -1014,7 +1014,7 @@ at 200, ending in `…`. Control characters become spaces.
of its own, a terminal or window; `pardes ps` says "has a frontend") with a `client <pid>` line for each of its clients and a
`shell <pid>` line for each shell it holds, then `orphan <pid>` for each
shell no session holds. Any of the
- names attaches (`pardes --attach=<name>`, either kind). Read fails `no
+ names attaches (`pardes attach <name>`, either kind, as a client). Read fails `no
pardes daemon answers` with none, or one too old to list (Upgrade it).
- #file("/os/"): existing regular files take read, write and truncation to
zero; create, remove, rename and mode changes are refused as not
@@ -1350,15 +1350,13 @@ to its end before the write is answered, and one that finds nothing fails,
which #word("Adopt") takes. `--kill=NAME` ends that session and its
shells (a TERM, then a KILL 2 s later; unsaved changes are lost),
`--kill-all` every session and every kept shell; with no daemon running
- each says so and exits 1. Bare `--detach` names the session after its pid; bare
- `--attach` needs exactly one detached session of its kind (a terminal's
- for `pardes`, a window's for `pardes-gui`), or with none detached the
- only session of that kind, joined as a client (with none of that kind,
- the only session there is); a second `--detach=NAME`
- while NAME runs (a plain session is named by its pid) says so in words
- and exits 1. A session with a frontend already is joined as a client, as one of
- the other kind is, and one on another machine (`--attach=HOST:NAME`, over
- `ssh -L`; `--attach=SOCKET:NAME` through a socket forwarded already): its
+ each says so and exits 1. Bare `--detach` names the session after its pid; a
+ second `--detach=NAME` while NAME runs (a plain session is named by its
+ pid) says so in words and exits 1. `attach NAME` (`--attach=NAME`) is
+ always a client of session NAME, either kind, here or on another machine
+ (`attach HOST:NAME`, over `ssh -L`; `attach SOCKET:NAME` through a socket
+ forwarded already); bare, of the one detached session, else the only
+ session (with several, it names them and exits 1): its
own process, listed under the session by `--ps`, up to three clients
(four views at once, the session's own among them): each
terminal or window its own layout, focus, cursors, selections, modes,