9fans / plan9port

Plan 9 from User Space
https://9fans.github.io/plan9port/
Other
1.61k stars 319 forks source link

acme: no path logged in acme/log for new win windows #584

Open mye opened 1 year ago

mye commented 1 year ago

win writes the process name prefixed with "-" to the acme ctl file, but that information doesn't appear in 9p read acme/log, new windows only get their id and a new event, as opposed to real files where the path is also there.

This prevents me from reacting to win windows when tailing acme/log because I can't match on the (process) names.

I believe xfidlog could be called when the window path is set, not when a new (anonymous) window is made and the path isn't known yet?