You said "acme's event files on windows". To be absolutely precise: you mean this kind of window (from p9p and Edwood) (the 29 in this context)?
; 9p ls acme/29 addr body ctl data editout errors event rdsel tag wrsel xdata So: what's the exact command line with args that you're running? Because the error that you're seeing suggests that winwriteevent is sending a malformed message to acme. Do you get any complaint content in Acme's '+Errors' window? p9p Acme and Edwood both log some issues that show up in their file system implementation to +Errors. At least as how I understand the code, p9p Acme supports only the interception of (some) mouse events. The event flow in (e.g. Edwood) definitely does not include code to route key events to specific windows. This is perhaps a worthwhile API addition. Rob. On Wed, Mar 26, 2025 at 11:37 AM Matthieu Rakotojaona via 9fans < [email protected]> wrote: > Has anyone managed to do anything productive with acme's event files on > windows and the keyboard ? All I can find is mouse-related scripts. > > I'm trying to do keybindings the easy way, by tapping into that event > file, but I have some issues: > > - When text is added the tag isn't updated with Undo and Put > > - Thinking it's because acme didn't receive the event, I send it with > winwriteevent from $PLAN9/lib/acme.rc but get "9p: write error: bad > event syntax". No error when using 9fans.net/go/acme, but still no > update on the tag > > Am I doing something wrong ? > -- Robert Kroeger [email protected] ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T08b139f442c68dca-Mc4bbcc6bf08001a870632574 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
