From beb895a93f5320e3b98d66a6c18528de9a2ec37b Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 1 Oct 2026 12:31:48 -0300 Subject: Scripts find the session as m=\$PARDES_MOUNT, else 9p; SPC q quits; upper keeps a selection's newline and its tag words once; the reference takes line files, init errors, dumps, dials and Save on +Tutor Co-Authored-By: Claude Opus 5.5 --- .agents/skills/pardes-9p/SKILL.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to '.agents') diff --git a/.agents/skills/pardes-9p/SKILL.md b/.agents/skills/pardes-9p/SKILL.md index 3060ad4a..ea2114ce 100644 --- a/.agents/skills/pardes-9p/SKILL.md +++ b/.agents/skills/pardes-9p/SKILL.md @@ -16,15 +16,14 @@ repository root. ## Find the session ```sh -[ -n "$NINE_MOUNT" ] || echo 'no 9P mount: use the Python client below' -s=${PARDES_9P##*/pardes-9p-}; m=$NINE_MOUNT/pardes/${s%.sock} +m=${PARDES_MOUNT:-} +[ -n "$m" ] || echo 'no mount: use 9p -a "unix!$PARDES_9P" read index' cat "$m/index" ``` -`$NINE_MOUNT` is set by `9ns --mntgen` (usually `/mnt/9p`). `$PARDES_9P` is -the session socket of the pane you run in, `$PARDES_PANE` that pane's -serial. Under `9ns --unix SOCK -- cmd` the session is the mount itself: -`m=$NINE_MOUNT`. In a `Tty9p` shell: `m=$PARDES_MOUNT`. A dead session's +Under `9ns --mntgen` every pane gets `$PARDES_MOUNT`, its session as a +directory (also in a `Tty9p` shell). `$PARDES_9P` is the session socket of +the pane you run in, `$PARDES_PANE` that pane's serial. A dead session's entry answers `Input/output error`: name the session, never glob. Without a mount, plan9port's `9p -a "unix!$PARDES_9P"` works, and `test/ninep.py` in the source tree (Reference, "Other ways in"). -- cgit v1.3