From 32d3ec7ea8bda6afc8614a100dfdc7421ecf76be Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 3 Nov 2026 12:57:24 -0300 Subject: fs: kbdin and mousein at the root, rio's and devmouse's (windows/rio/xfid.c:515, kernel/devices/mouse/devmouse.c:445): each rune written to kbdin is a key typed at the pane with the keyboard (control runes Ctrl and a letter but Plan 9's keys: \n Enter, \t Tab, \b Backspace, 0x7f Delete, 0x1b Esc, keyboard.h's private-use runes for the arrows, Home, End, Page Up and Down, Insert, F1-F12), a mousein line `m col row buttons` the mouse as it now is in cells (1 left, 2 middle, 4 right, 8 and 16 a wheel notch), what changed released, moved or pressed; each done before the write is answered, so a script's next read sees it with no sleep; the held buttons are core state, which a replica replays; test/fs.py's keys_and_mouse types, finds the word on /screen and right-clicks it, the first e2e case written through the files alone Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/CHANGELOG.md') diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md index 86cc8733..aa304597 100644 --- a/src/CHANGELOG.md +++ b/src/CHANGELOG.md @@ -14,6 +14,12 @@ build is refused in words, and an accepted connection is handed to its session, which so far only welcomes it and answers pings. `pardes --version` prints that build's semantics hash on a second line. +- `kbdin` and `mousein`, rio's and devmouse's, at the root of every + session's file tree: a script types keys (`printf 'ihello\033' > + $m/kbdin`) and clicks (`m col row buttons`, Plan 9's bits) as the user + does, each write done before it is answered, so the read that checks + it needs no sleep. test/fs.py's keys_and_mouse finds where to click on + /screen. - One `pardes --daemon` per user keeps sessions, started by the first session and gone once it keeps nothing. `pardes` in a terminal forks its session off and stays as its stub: `Detach` (`SPC s D`), or a -- cgit v1.3