diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-03 12:57:24 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-03 12:57:31 -0300 |
| commit | 32d3ec7ea8bda6afc8614a100dfdc7421ecf76be (patch) | |
| tree | 16a0ad8d535f3f80fb3f72f44d13eb5f497b267e /src/fs-help.txt | |
| parent | b421b07697cc4c9834e2db401ccf3083eab346ae (diff) | |
| download | pardes-32d3ec7ea8bda6afc8614a100dfdc7421ecf76be.tar.gz pardes-32d3ec7ea8bda6afc8614a100dfdc7421ecf76be.zip | |
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 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/fs-help.txt')
| -rw-r--r-- | src/fs-help.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs-help.txt b/src/fs-help.txt index ee63dd0e..b62a13b8 100644 --- a/src/fs-help.txt +++ b/src/fs-help.txt @@ -11,6 +11,8 @@ screen the rendered screen as JSON, frozen from open to close listeners the session's dial addresses sessions the pardes daemon's, as pardes --ps: daemon <pid>; session <pid> tty|gui attached|detached <name>; shell <pid>; orphan <pid> focus the serial of the pane with the keyboard (empty on a column tag); write one to give it the keyboard +kbdin write runes: keys typed at the pane with the keyboard, done before the write answers (\x1b Esc, \n Enter) +mousein write `m col row buttons` (1 left, 2 middle, 4 right): the mouse as it now is; m 10 5 4, m 10 5 0 is a right click ctl settings a line; or Newcol, Dump, Restore [f], Exit (refuses once over unsaved panes), Kill [w], size C R commands every builtin: word, arg, root|pane|both (the ctl that takes it), -- what it does recent files opened lately, closed ones too: open|closed <path> |
