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.typ13
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/typ/reference.typ b/docs/typ/reference.typ
index dff79859..7a01243c 100644
--- a/docs/typ/reference.typ
+++ b/docs/typ/reference.typ
@@ -1008,10 +1008,10 @@ at 200, ending in `…`. Control characters become spaces.
`+Pager` of the session's.
- #file("/listeners"): the session's dial addresses, a line each
(#doc("building", section: "listeners")).
-- #file("/sessions"): what the pardes daemon keeps, as `pardes --ps`
+- #file("/sessions"): what the pardes daemon lists, as `pardes ps`
shows it, a record a line: `daemon <pid>`, then `session <pid> tty|gui
- attached|detached <name>` (attached: it has a terminal or window of its
- own) with a `client <pid>` line for each of its clients and a
+ attached|detached <name>` (attached, the daemon's word: it has a frontend
+ 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
@@ -1332,8 +1332,9 @@ to its end before the write is answered, and one that finds nothing fails,
another; a removed line's `-` goes to the line now standing where it was.
git's `a/` `b/` (and `c/ i/ w/ o/`) prefixes are dropped; a
`--no-prefix` diff's paths are kept.
-- *Sessions.* `pardes --ps` prints what the daemon keeps: each session
- (its pid, terminal or window, attached or detached, name) with the pids
+- *Sessions.* `pardes --ps` prints what the daemon lists: each session
+ (its pid, terminal or window, whether it has a frontend or is detached,
+ name) with the pids
and commands of its clients and of the shells it holds, then the shells no session holds,
which #word("Adopt") takes. `--kill=NAME` ends that session and its
shells (a TERM, then a KILL 2 s later; unsaved changes are lost),
@@ -1344,7 +1345,7 @@ to its end before the write is answered, and one that finds nothing fails,
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 attached already is joined as a client, as one of
+ 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
own process, listed under the session by `--ps`, up to three clients