summaryrefslogtreecommitdiff
path: root/src/fs-help.txt
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-01 04:00:32 -0300
committerGabriel Schneider <[email protected]>2026-10-01 04:00:32 -0300
commit8dc84e6f9f1c3802f1d28de4d49907381cdf224b (patch)
tree3ed7727a61de9ae4c473413d81de3ac95844af78 /src/fs-help.txt
parenta4e17d350a7afdeee4916584c44c4770243c84e4 (diff)
downloadpardes-8dc84e6f9f1c3802f1d28de4d49907381cdf224b.tar.gz
pardes-8dc84e6f9f1c3802f1d28de4d49907381cdf224b.zip
pardes - asks /pager for its +Pager and reads the serial on the same open: another client's exec meanwhile can never take the text into its pane
pardes - wrote `pager <dir>` to /ctl, then read /exec on a fresh open, which answers the session's last answer: a client that exec'd in between had its pane overwritten by the paged text. /pager takes the directory and answers the +Pager's serial on the open that wrote it, as /pane/new answers its own open; the ctl verb is gone. Client.ask writes and reads on one open. The README's look recipe reads its answer on its own open too. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/fs-help.txt')
-rw-r--r--src/fs-help.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fs-help.txt b/src/fs-help.txt
index 83aa536f..aea3af5b 100644
--- a/src/fs-help.txt
+++ b/src/fs-help.txt
@@ -5,6 +5,7 @@ index a line per pane: serial kind(text|term|pdf|image) dirty name column;
status pid, version and pane count
look write a line: a right click on it at the active pane; read: the serials it touched (this open's)
exec write a line: a middle click, a builtin or a shell line; read the same (every exec file)
+pager write a directory: its one +Pager, made or emptied; read the same open: its serial (pardes -)
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
@@ -22,7 +23,7 @@ os/, src/ the host filesystem; the editor's own sources
$m below: $NINE_MOUNT/pardes/<pid|NAME> under 9ns --mntgen; $NINE_MOUNT under 9ns --unix; $PARDES_MOUNT in a Tty9p shell.
cat $m/index which panes exist
- echo /etc/hosts:3 > $m/look; cat $m/look open a file, see the pane it went to
+ exec 3<>$m/look; echo /etc/hosts:3 >&3; cat <&3 open a file, see the pane it went to (a fresh open reads the last anyone's)
n=$(cat $m/pane/new) make a pane (each open makes one), take its serial
printf 'text\n' >> $m/pane/$n/body append to it (> replaces it all)
echo 'Msg hello' > $m/exec show text in the editor