Re: [9fans] various problems with installing go lang

2020-10-23 Thread Nick Owens
it probably doesn't work with newer go as it isn't well maintained. there
is no replacement for real git right now.

a contribution to git9 to do this would be welcome.

On Fri, Oct 23, 2020, 22:33  wrote:

> Since having the git rc script in either /bin/amd64, $home/bin or
> $home/bin/rc didnt work
> i just had it put it in the same directory that i was running go get from
> it results in this ...
>
> term% go get github.com/henesy/disco
> # cd .; git clone -- https://github.com/henesy/disco /usr/glenda/go/src/
> github.com/henesy/disco
> rc: git:2: syntax error
> package github.com/henesy/disco: exit status: 'git 569: syntax error'
>
> Do I have the wrong git? I compared this rc git wrapper to the one found
> on 9legacy and it looks the same.
>
>
> *9fans * / 9fans / see discussions
>  + participants
>  + delivery options
>  Permalink
> 
>

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T80ee3327f2f3dc57-Ma8317a78d8ec02281fa027bb
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] various problems with installing go lang

2020-10-23 Thread nydldmcd2
Since having the git rc script in either /bin/amd64, $home/bin or $home/bin/rc 
didnt work
i just had it put it in the same directory that i was running go get from
it results in this ...

term% go get github.com/henesy/disco
# cd .; git clone -- https://github.com/henesy/disco 
/usr/glenda/go/src/github.com/henesy/disco 
rc: git:2: syntax error 
package github.com/henesy/disco: exit status: 'git 569: syntax error'

Do I have the wrong git? I compared this rc git wrapper to the one found on 
9legacy and it looks the same. 


--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T80ee3327f2f3dc57-M662e84a2602304b2c0303ace
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


[9fans] Re: various problems with installing go lang

2020-10-23 Thread nydldmcd2
A second problem I am having seems to be related to git. I have the git shell 
script in bin/rc, and it is executable. git9 is installed, too. 

However ... 
go get github.com/henesy/disco
go: missing Git command. See https://golang.org/s/gogetcmd
package github.com/henesy/disco: exec: "git": executable file not found in $path

I have both the git shell script (in bin/rc) and git9 installed, 


--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T80ee3327f2f3dc57-M741076b6d81f640cb7c6476b
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] various problems with installing go lang

2020-10-23 Thread Nick Owens
9front nor go come with a CA certificate bundle. a certificate bundle that
go can use can be downloaded at https://curl.haxx.se/docs/caextract.html.

On Fri, Oct 23, 2020, 21:16  wrote:

> Hi, for the past few days I have been wrestling with getting go lang to
> work on 9front (latest version)
> I have been referencing these guidelines:
> http://docs.9front.org/building-go
>
> here is a brief paste detailing what I did:
> https://dpaste.com/6D26TWPXA.txt
>
> go seems to run, go env and go version return their expected results. the
> problems come from actually trying to fetch things
>
> go get github.com/bwmarrin/discordgo
> go: golang.org/x/crypto@v0.0.0-20200622213623-75b288015ac9: Get 
> "https://proxy.golang.org/golang.org/x/crypto/@v/v0.0.0-20200622213623-75b288015ac9.mod":
>  x509: failed to load system roots and no roots provided; open 
> /sys/lib/tls/ca.pem: '/sys/lib/tls/ca.pem' does not exist
>
>
> Seems to be a tls issue?  There was supposedly a thread on the issue but
> it is gone and not in any archives that I know of...
> http://comments.gmane.org/gmane.os.plan9.general/74781 being the dead link
>
> *9fans * / 9fans / see discussions
>  + participants
>  + delivery options
>  Permalink
> 
>

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T80ee3327f2f3dc57-M166b9969a86e9fe89d6e67f9
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


[9fans] various problems with installing go lang

2020-10-23 Thread nydldmcd2
Hi, for the past few days I have been wrestling with getting go lang to work on 
9front (latest version) 
I have been referencing these guidelines: http://docs.9front.org/building-go 

here is a brief paste detailing what I did: https://dpaste.com/6D26TWPXA.txt

go seems to run, go env and go version return their expected results. the 
problems come from actually trying to fetch things 

go get github.com/bwmarrin/discordgo
go: golang.org/x/crypto@v0.0.0-20200622213623-75b288015ac9: Get 
"https://proxy.golang.org/golang.org/x/crypto/@v/v0.0.0-20200622213623-75b288015ac9.mod":
 x509: failed to load system roots and no roots provided; open 
/sys/lib/tls/ca.pem: '/sys/lib/tls/ca.pem' does not exist

Seems to be a tls issue?  There was supposedly a thread on the issue but it is 
gone and not in any archives that I know of... 
http://comments.gmane.org/gmane.os.plan9.general/74781 being the dead link

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T80ee3327f2f3dc57-M111deac6f99ad745a0a7e036
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] 9term, insta scroll to bottom?

2020-10-23 Thread nydldmcd2
I see now.  
thanks
--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T13b7a14fa28da183-Mcd7f726dcef90b8f343725ff
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] 9term, insta scroll to bottom?

2020-10-23 Thread umbraticus
> I tried ^ b, it has the same effect as pg down. It doe snot take me to the 
> bottom

Yeah. Are you pressing Del to kill the cat?

umbraticus

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T13b7a14fa28da183-M3f2ab540cd456d40b6c912bd
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] 9term, insta scroll to bottom?

2020-10-23 Thread nydldmcd2
I tried ^ b, it has the same effect as pg down. It doe snot take me to the 
bottom
--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T13b7a14fa28da183-M7528da11049d76b62ff527bc
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] 9term, insta scroll to bottom?

2020-10-23 Thread nydldmcd2
thanks
--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T13b7a14fa28da183-Ma51eb5d2a0032394e69cd2a0
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] 9term, insta scroll to bottom?

2020-10-23 Thread Nick Owens
try ^b.

On Fri, Oct 23, 2020, 18:02  wrote:

> Hi, I am an idiot and sometimes I cat huge files in 9term (on 9front)
>
> The result of this is a mess I cannot seem to scroll to the bottom of,
> how can I instantly scroll to the bottom in 9term?
>
> Or rather, the end of the output.
> *9fans * / 9fans / see discussions
>  + participants
>  + delivery options
>  Permalink
> 
>

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T13b7a14fa28da183-M6a25ae619244e5fa8b19bb80
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


[9fans] 9term, insta scroll to bottom?

2020-10-23 Thread nydldmcd2
Hi, I am an idiot and sometimes I cat huge files in 9term (on 9front)

The result of this is a mess I cannot seem to scroll to the bottom of,  how can 
I instantly scroll to the bottom in 9term? 

Or rather, the end of the output.
--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T13b7a14fa28da183-M824478aea9e4aa91c7b25e40
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription