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.txt17
1 files changed, 9 insertions, 8 deletions
diff --git a/docs/typ/command-line.txt b/docs/typ/command-line.txt
index 5045a983..0b06275e 100644
--- a/docs/typ/command-line.txt
+++ b/docs/typ/command-line.txt
@@ -38,10 +38,11 @@ The old spellings --ps, --attach[=NAME], --kill=NAME, --kill-all, -h and
== pardes help ps
-What the per-user daemon keeps: each session with its name, pid, kind
-(tty or gui) and whether one is attached; under it its clients and its
-shells; then the shells no session holds, which Adopt takes. /sessions
-is the same list, read from inside a session.
+What the per-user daemon lists: each session with its name, pid, kind
+(tty or gui) and whether it has a frontend of its own or is detached;
+under it its clients and its shells; then the shells no session holds,
+which Adopt takes. /sessions is the same list, read from inside a
+session (where a session with a frontend says attached).
Usage:
pardes ps
@@ -55,8 +56,8 @@ See also: attach, kill, /sessions
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 attached already, or of the other kind, is joined as a
-client. HOST:NAME is a client of session NAME on another machine,
+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
@@ -109,7 +110,7 @@ Flags:
--9p-tcp=tcp!IP!PORT also serve 9P there, a numeric address
--mount=NAME=DIAL a 9P session or Unix/TCP endpoint under /n/NAME; repeat for more; os and self are reserved
--geometry=WxH[+X+Y] the window's size in points, and where it goes where the display lets a window say (X11)
- --detach[=NAME] no terminal (no window) until one attaches; panes, shells and files stay; NAME (one path component) rather than the pid. One pardes --daemon per user keeps sessions (PARDES_DAEMON=off: none)
+ --detach[=NAME] no terminal (no window) until one attaches; panes, shells and files stay; NAME (one path component) rather than the pid. One pardes --daemon per user lists them, for attach (PARDES_DAEMON=off: none)
-w, --wait in a pane, hand FILE to its session and return once its pane is deleted: 0, or 1 if the session goes (EDITOR='pardes --wait')
-- the end of the flags: pardes -- -name opens -name
@@ -264,7 +265,7 @@ pager write a directory: its one +Pager, made or emptied; read the same op
log events: new del rename save newcol delcol run exit send ask answer changed dump restore restored restoredcol msg err
screen the rendered screen as JSON, frozen from open to close
listeners the session's dial addresses
-sessions the pardes daemon's, as pardes --ps: daemon <pid>; session <pid> tty|gui attached|detached <name>; shell <pid>; orphan <pid>
+sessions the pardes daemon's, as pardes ps lists them: daemon <pid>; session <pid> tty|gui attached|detached <name> (attached: it has a frontend of its own); client <pid> for each of its clients; shell <pid>; orphan <pid>
focus the serial of the pane with the keyboard (empty on a column tag); write one to give it the keyboard
kbdin write runes: keys typed at the pane with the keyboard, done before the write answers (\x1b Esc, \n Enter)
mousein write `m col row buttons` (1 left, 2 middle, 4 right): the mouse as it now is; m 10 5 4, m 10 5 0 is a right click