Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Fix build on Solaris/illumos. #372

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jperkin
Copy link

@jperkin jperkin commented Sep 1, 2021

Fill in the missing ioctlReadTermios/ioctlWriteTermios, and switch to
syscall.Syscall as Syscall6 is not available. Probably makes this work
on AIX too as a bonus.

Copy link
Collaborator

@mislav mislav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks; this looks good!

What do you think of #377 as an alternative to this approach? It feels like runereader largely just replicates what Go's own x/term package is doing, so to increase portability and to avoid having to maintain this many build tags, we could just offload it to the external package.

@jperkin
Copy link
Author

jperkin commented Sep 16, 2021

Yeh that sounds great, happy to test that out once it's merged.

Fill in the missing ioctlReadTermios/ioctlWriteTermios, and switch to
syscall.Syscall as Syscall6 is not available.  Probably makes this work
on AIX too as a bonus.
@jperkin
Copy link
Author

jperkin commented Jan 13, 2023

Hi, any update on this? It's a bit of a pain having to merge these changes every time influxdb switches to a different version of survey. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants