summaryrefslogtreecommitdiff
path: root/docs/typ/command-line.txt
diff options
context:
space:
mode:
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]