edwood icon indicating copy to clipboard operation
edwood copied to clipboard

Support for Plan 9

Open fhs opened this issue 6 years ago • 8 comments

To get edwood working in Plan 9, there are some syscall usage that needs to be removed and 9fans.net/go/draw needs to be ported.

I've been slowly working on this.

fhs avatar Sep 05 '18 14:09 fhs

After #125, Edwood is working pretty well in Plan 9. You need to be using my plan9 branch of 9fans.net/go package. I need to clean up the changes (and remove hacks) before I'll send it upstream.

fhs avatar Sep 25 '18 03:09 fhs

Very cool! Does it run on HarveyOS too?

rjkroege avatar Sep 25 '18 11:09 rjkroege

I can give it a try on 9front if nobody else has.

What's a good way to test the different platforms for regressions? We've tried just making sure it builds with travis on GOOS=plan9 on driusan/dgit and sirnewton01/ghfs but that only checks that the OS-specific modules compile, not that they actually work.

sirnewton01 avatar Sep 25 '18 12:09 sirnewton01

I've only tested on 64-bit 9front.

fhs avatar Sep 25 '18 17:09 fhs

@sirnewton01: I heard that the Go team has a 9front GCE image that they use for running the Go regression tests on Plan9. I'll file a separate issue here for testing on Plan9.

Also: sirnewton01/ghfs is very cool. I'll ask you to have markdown previews via #70 when I get it done. 😊

rjkroege avatar Sep 27 '18 10:09 rjkroege

If anyone want to try out edwood on plan9, this is how you can build it:

go mod edit -replace 9fans.net/go=github.com/fhs/[email protected]
go mod download 9fans.net/go
GOOS=plan9 go build
./edwood

fhs avatar Aug 25 '21 02:08 fhs

@fhs I should adjust the mod file to point at your branch?

rjkroege avatar Sep 12 '21 23:09 rjkroege

@fhs I should adjust the mod file to point at your branch?

@rjkroege I'm not sure go install will be happy with the replace directive. We can give it a try, but I'd like to see a more official fork of 9fans.net/go (maybe by Harvey devs?).

fhs avatar Sep 16 '21 04:09 fhs