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.typ19
1 files changed, 12 insertions, 7 deletions
diff --git a/docs/typ/reference.typ b/docs/typ/reference.typ
index db4f9c77..dff79859 100644
--- a/docs/typ/reference.typ
+++ b/docs/typ/reference.typ
@@ -1010,8 +1010,10 @@ at 200, ending in `…`. Control characters become spaces.
(#doc("building", section: "listeners")).
- #file("/sessions"): what the pardes daemon keeps, as `pardes --ps`
shows it, a record a line: `daemon <pid>`, then `session <pid> tty|gui
- attached|detached <name>` with a `shell <pid>` line for each shell it
- holds, then `orphan <pid>` for each shell no session holds. Any of the
+ 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
+ `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
pardes daemon answers` with none, or one too old to list (Upgrade it).
- #file("/os/"): existing regular files take read, write and truncation to
@@ -1339,11 +1341,14 @@ to its end before the write is answered, and one that finds nothing fails,
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; a second `--detach=NAME`
+ 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
- the other kind or on another machine is (`--attach=SOCKET:NAME`, its own
- process, listed under the session by `--ps`), up to four clients: each
+ 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
+ (four views at once, the session's own among them): each
terminal or window its own layout, focus, cursors, selections, modes,
scroll and jumps, over the panes, texts, tags, terminals, messages and
registers they share. A terminal pane shown in two takes the size of the
@@ -1352,8 +1357,8 @@ to its end before the write is answered, and one that finds nothing fails,
terminal closing, lets that client go and leaves the others. With none
attached, `size C R` sets the screen, messages clear by the clock, and a
pty reports its size in pixels at the last cell size (8×16 before any),
- as CSI 14, 16 and 18 t do. Attaching from another machine is gone until
- the replicated clients (docs/next-daemon.md, phase 5).
+ as CSI 14, 16 and 18 t do. Each way of running, and what survives
+ what: #doc("running").
- *Config.* The startup file is `$XDG_CONFIG_HOME/pardes/init` when that is
absolute, else `~/.config/pardes/init` (macOS:
`~/Library/Application Support/pardes/init`). A line that fails is a