Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

term: need windows support #8

Open
davecheney opened this issue Feb 26, 2015 · 3 comments
Open

term: need windows support #8

davecheney opened this issue Feb 26, 2015 · 3 comments

Comments

@davecheney
Copy link
Member

16b2e60 make term/termios a noop under windows, but the higher level term package is still POSIX specific.

The plan is to add a new low level package for windows, term/win32 (just an example, please don't flame) and adjust the term package to use it depending on the host GOOS.

davecheney added a commit that referenced this issue Feb 26, 2015
Updates #8

Move POSIX specific parts into their own files. This probably still
won't compile cleanly on windows, and of course, windows remains
unsupported.
@bep
Copy link

bep commented Jan 5, 2016

As to the noop, this package doesn't build on (my) Windows:

$ go get github.com/pkg/term
# github.com/pkg/term/termios
C:\Users\bep\go\src\github.com\pkg\term\termios\pty.go:25: undefined: ptsname
C:\Users\bep\go\src\github.com\pkg\term\termios\pty.go:30: undefined: grantpt
C:\Users\bep\go\src\github.com\pkg\term\termios\pty.go:35: undefined: unlockpt

@marcuxyz
Copy link

marcuxyz commented May 7, 2017

Has anyone managed to solve it? Ty

@mozillazg
Copy link

+1 for Windows support

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

No branches or pull requests

4 participants