The only part that isn’t working is:

$ github.com/mitchellh/cli
~/go/src/github.com/mitchellh/cli/ui.go:79: undefined: terminal.IsTermina
~/go/src/github.com/mitchellh/cli/ui.go:81: undefined: terminal.ReadPassword

These come from 

golang.org/x/crypto/ssh/terminal <http://golang.org/x/crypto/ssh/terminal>

which compiles but apparently doesn’t define these two for Solaris. So the 
actual fix should go to this package to support 

./util_bsd.go:11: undefined: syscall.TIOCGETA
./util_bsd.go:12: undefined: syscall.TIOCSETA

This can probably be done within golang.org/x/sys/unix 
<http://golang.org/x/sys/unix> package which should include some support for 
TIOCSETA/TIOCGETA and the golang.org/x/crypto/ssh/terminal 
<http://golang.org/x/crypto/ssh/terminal> should be fixed to use this on 
Solaris.

- Alex


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to