Sunday, April 07, 2024

[editor/micro] stopped working

Hi,

Since awhile ago the micro editor (editor/micro) stopped working on
OpenBSD with the following error:

> fatboy$ micro
> function not implemented
> Fatal: Micro could not initialize a Screen.

I tracked it down to the use of syscall in the tcell package file
tscreen_bsd.go (line 46)


> fd = uintptr(t.out.(*os.File).Fd())
> if _, _, e1 := syscall.Syscall6(syscall.SYS_IOCTL, fd, ioc,
> tios, 0, 0, 0); e1 != 0 { e = e1
> goto failed
> }

Not surprisingly since the syscall interface went the way of the dodo:
https://github.com/golang/go/issues/63900

I've got no clue on how to handle this though, anybody here has??

BR/Rob

No comments:

Post a Comment