client doesn't implement ReadByte, and opening a plumbing port with 9fans.net/go/plumb9fans/net/go/plumb needs a ByteReader is the change that I've been vendoring for other OSes to be able to open the "edit" port of the plumber.
The problem that I'm having now isn't that it doesn't build, it's that "plumb.Open("edit", plan9.OREAD)" returns an error right away on Plan 9 because DialService is assuming it's for p9p trying to emulate namespaces with Unix Domain Sockets. I'm sure it's fixable, but the repo seems to be abandoned (pull requests have been open since 2015), so I'm wondering if there's any other packages that deal with the plumbing ports (because otherwise I think my only option is to fork it and maintain it myself..) On Sat, Feb 18, 2017 at 10:57 PM, Bakul Shah <ba...@bitblocks.com> wrote: > On Sat, 18 Feb 2017 21:42:05 GMT Dave MacFarlane <driu...@gmail.com> wrote: >> Are there any cross-platform alternatives to 9fans.net/go for >> interacting with the Plan9/p9p plumber? > > I think you will have to create os specific versions of > 9fans.net/go/plan9/client/dial.go:Namespace() > >> It doesn't seem to be maintained (I've had to vendor a bug fix for a >> while to use it to receive plumbing messages) and I just discovered >> while trying to use my de text editor on Plan 9 that, ironically, >> 9fans.net/go doesn't work under Plan 9, either.. > > I know go/acme/Watch doesn't build. Are there others (modulo > the above issue)? There may be other ways to handle Watch.... -- - Dave -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.