summaryrefslogtreecommitdiff
path: root/docs/typ/command-line.txt
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-20 03:20:39 -0300
committerGabriel Schneider <[email protected]>2026-11-20 04:00:32 -0300
commita6c258bec5808ac2b6ef9d3362134e34e759c1c9 (patch)
treef785b15b2a3bcd0f7d3e8f92d7948af634c52b69 /docs/typ/command-line.txt
parent1967cf64dc6d7490d386db874cf1866b764f235c (diff)
downloadpardes-a6c258bec5808ac2b6ef9d3362134e34e759c1c9.tar.gz
pardes-a6c258bec5808ac2b6ef9d3362134e34e759c1c9.zip
docs: an attach is always a client, and a session registers again with a restarted daemon, in the documents: the manual's "How pardes runs" (docs/typ/running.typ: one Attach section, its figure of the in-place attach deleted from figures.typ, the glance and survival tables, the words), the guide's Sessions, the reference's /sessions and command line, the building chapter's daemon, the cheatsheet's line, `pardes help attach` (runtime/main.zig, docs/typ/command-line.txt from builtins-json), the Detach word's doc (core/builtins.zig, both builtins JSONs), docs/next-run.md as built (what went, counted on the change: 305 lines deleted, 94 added; the re-registration as built; --detach forking still not) with its figure (Before / Now), and the changelog's Unreleased; the book and the cheatsheet render (typst), tui shell-test 1046/1049 (3 skipped), core-test 855/1005 (150 skipped: the base's 856/1006 less the deleted `find` test)
Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'docs/typ/command-line.txt')
-rw-r--r--docs/typ/command-line.txt21
1 files changed, 11 insertions, 10 deletions
diff --git a/docs/typ/command-line.txt b/docs/typ/command-line.txt
index 0b06275e..3c73fed4 100644
--- a/docs/typ/command-line.txt
+++ b/docs/typ/command-line.txt
@@ -12,7 +12,7 @@ Open:
Sessions:
ps the daemon's sessions, their clients and shells
- attach [NAME] show a detached session here (HOST:NAME: over ssh)
+ attach [NAME] show a session here, as a client (HOST:NAME: over ssh)
kill NAME end a session and its shells (--all: every one)
new [flags] [FILE] start one: --detach=NAME --9p=NAME -n 3 (help new)
@@ -54,15 +54,16 @@ See also: attach, kill, /sessions
== pardes help attach
-Show a detached session here: in this terminal for pardes, a window
-for pardes-gui. Bare, the one detached session (with none, the one
-session). One with a frontend already, or of the other kind, is joined
-as a client. HOST:NAME is a client of session NAME on another machine,
-over `ssh -L` to its pardes-replica.sock ($PARDES_SSH: the ssh
-command, default ssh; $PARDES_REMOTE_RUNTIME: its runtime directory,
-if not this one's path); SOCK:NAME goes through a socket forwarded
-already (a path, with a '/'). Returns when the session detaches or
-ends.
+Show a session here as a client: a process of its own, with a copy of
+the session's core and a view of its own, in this terminal for pardes,
+a window for pardes-gui, whatever the session was started in. Bare,
+the one detached session (with none, the one session). HOST:NAME is a
+client of session NAME on another machine, over `ssh -L` to its
+pardes-replica.sock ($PARDES_SSH: the ssh command, default ssh;
+$PARDES_REMOTE_RUNTIME: its runtime directory, if not this one's
+path); SOCK:NAME goes through a socket forwarded already (a path, with
+a '/'). Returns when it is let go: its Detach or its terminal or window
+closing (the session runs on), or the session's end.
Usage:
pardes attach [NAME]