diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-01 12:31:48 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 12:31:48 -0300 |
| commit | beb895a93f5320e3b98d66a6c18528de9a2ec37b (patch) | |
| tree | b7cb58b5d769267dd317a577daadc0a2cba59b97 /.agents | |
| parent | 09da0f673cfd9fdb83c4e48a2fa73a274aff4a6f (diff) | |
| download | pardes-beb895a93f5320e3b98d66a6c18528de9a2ec37b.tar.gz pardes-beb895a93f5320e3b98d66a6c18528de9a2ec37b.zip | |
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 <[email protected]>
Diffstat (limited to '.agents')
| -rw-r--r-- | .agents/skills/pardes-9p/SKILL.md | 11 |
1 files changed, 5 insertions, 6 deletions
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"). |
