hi,
the senerio - i have a plan9 terminal, a mac laptop. the laptop connects to a
vpn.
i write in go, and thus far i use sshfs to mount the mac’s filesystem and edit
my code. i build and run the code on the mac.
i thought i could use git9 via sshnet to work natively on plan9
most of this is f
The Go net package uses /net/cs and /net/dns. I see sshnet doesn't create
/net/dns. That could be the issue.
fhs
On Tue, Feb 23, 2021 at 4:35 PM Steve Simon wrote:
> hi,
>
> the senerio - i have a plan9 terminal, a mac laptop. the laptop connects
> to a vpn.
>
> i write in go, and thus far i
I’ve noticed similar problems with go programs and resolving a lookup.
There are go programs that explicitly look for “/etc/resolv.conf” to
grab the nameserver to use, though it would be nice if the developer
were using the default net package for lookups.
> On Feb 23, 2021, at 3:34 PM, Steve Sim
thanks all for the suggestions.
digging through the source of sshnet.c and the go net library i think i
understand.
the plan9 runtime library assumes, and insists the string returned from /net/cs
contains a valid ip address.
the code in sshnet which serves a /net/cs does a local ndb lookup, a