1// Copyright 2019 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5//go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !zos && !windows && !solaris && !plan9
6// +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!zos,!windows,!solaris,!plan9
7
8package term
9
10import (
11	"fmt"
12	"runtime"
13)
14
15type state struct{}
16
17func isTerminal(fd int) bool {
18	return false
19}
20
21func makeRaw(fd int) (*State, error) {
22	return nil, fmt.Errorf("terminal: MakeRaw not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
23}
24
25func getState(fd int) (*State, error) {
26	return nil, fmt.Errorf("terminal: GetState not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
27}
28
29func restore(fd int, state *State) error {
30	return fmt.Errorf("terminal: Restore not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
31}
32
33func getSize(fd int) (width, height int, err error) {
34	return 0, 0, fmt.Errorf("terminal: GetSize not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
35}
36
37func readPassword(fd int) ([]byte, error) {
38	return nil, fmt.Errorf("terminal: ReadPassword not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
39}
40