summaryrefslogtreecommitdiff
path: root/src/fs-help.txt
diff options
context:
space:
mode:
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