[9fans] USB device mode?

2019-07-10 Thread Anthony Sorace
Has anyone done any work (successful or otherwise) towards getting Plan 9 to drive USB in device mode? If so, can you share any code or comments? This would be particularly useful on the Raspberry Pi Zero’s OTG interface, as a serial or HID device, but experiences with other versions of this

[9fans] question re acme and plumber

2019-07-10 Thread James A. Robinson
If I add a plumber rule for javac output: type is text data matches '\[ERROR\] ([.a-zA-Z¡-�0-9_/\-]+\.java):\[([0-9]+),[0-9]+\] .*' arg isfile $1 data set $file attr add addr=$2 plumb to edit plumb client $editor I can sweep a line (short of its trailing newline): [ERROR]