├── .editorconfig ├── .github └── workflows │ ├── crosscompile.yml │ └── test.yml ├── .gitignore ├── .golangci.yml ├── Dockerfile.golang ├── LICENSE ├── README.md ├── asm_solaris_amd64.s ├── doc.go ├── doc_test.go ├── fd_helper_other_test.go ├── fd_helper_zos_test.go ├── go.mod ├── helpers_test.go ├── io_test.go ├── ioctl.go ├── ioctl_bsd.go ├── ioctl_inner.go ├── ioctl_legacy.go ├── ioctl_solaris.go ├── ioctl_unsupported.go ├── mktypes.bash ├── pty_darwin.go ├── pty_dragonfly.go ├── pty_freebsd.go ├── pty_linux.go ├── pty_netbsd.go ├── pty_openbsd.go ├── pty_solaris.go ├── pty_unsupported.go ├── pty_zos.go ├── run.go ├── start.go ├── start_windows.go ├── test_crosscompile.sh ├── types.go ├── types_dragonfly.go ├── types_freebsd.go ├── types_netbsd.go ├── types_openbsd.go ├── winsize.go ├── winsize_unix.go ├── winsize_unsupported.go ├── ztypes_386.go ├── ztypes_amd64.go ├── ztypes_arm.go ├── ztypes_arm64.go ├── ztypes_dragonfly_amd64.go ├── ztypes_freebsd_386.go ├── ztypes_freebsd_amd64.go ├── ztypes_freebsd_arm.go ├── ztypes_freebsd_arm64.go ├── ztypes_freebsd_ppc64.go ├── ztypes_freebsd_riscv64.go ├── ztypes_loong64.go ├── ztypes_mipsx.go ├── ztypes_netbsd_32bit_int.go ├── ztypes_openbsd_32bit_int.go ├── ztypes_ppc.go ├── ztypes_ppc64.go ├── ztypes_ppc64le.go ├── ztypes_riscvx.go ├── ztypes_s390x.go └── ztypes_sparcx.go /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/crosscompile.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/.github/workflows/crosscompile.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | [568].out 2 | _go* 3 | _test* 4 | _obj 5 | -------------------------------------------------------------------------------- /.golangci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/.golangci.yml -------------------------------------------------------------------------------- /Dockerfile.golang: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/Dockerfile.golang -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/README.md -------------------------------------------------------------------------------- /asm_solaris_amd64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/asm_solaris_amd64.s -------------------------------------------------------------------------------- /doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/doc.go -------------------------------------------------------------------------------- /doc_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/doc_test.go -------------------------------------------------------------------------------- /fd_helper_other_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/fd_helper_other_test.go -------------------------------------------------------------------------------- /fd_helper_zos_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/fd_helper_zos_test.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/creack/pty 2 | 3 | go 1.18 4 | -------------------------------------------------------------------------------- /helpers_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/helpers_test.go -------------------------------------------------------------------------------- /io_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/io_test.go -------------------------------------------------------------------------------- /ioctl.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ioctl.go -------------------------------------------------------------------------------- /ioctl_bsd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ioctl_bsd.go -------------------------------------------------------------------------------- /ioctl_inner.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ioctl_inner.go -------------------------------------------------------------------------------- /ioctl_legacy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ioctl_legacy.go -------------------------------------------------------------------------------- /ioctl_solaris.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ioctl_solaris.go -------------------------------------------------------------------------------- /ioctl_unsupported.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ioctl_unsupported.go -------------------------------------------------------------------------------- /mktypes.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/mktypes.bash -------------------------------------------------------------------------------- /pty_darwin.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/pty_darwin.go -------------------------------------------------------------------------------- /pty_dragonfly.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/pty_dragonfly.go -------------------------------------------------------------------------------- /pty_freebsd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/pty_freebsd.go -------------------------------------------------------------------------------- /pty_linux.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/pty_linux.go -------------------------------------------------------------------------------- /pty_netbsd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/pty_netbsd.go -------------------------------------------------------------------------------- /pty_openbsd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/pty_openbsd.go -------------------------------------------------------------------------------- /pty_solaris.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/pty_solaris.go -------------------------------------------------------------------------------- /pty_unsupported.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/pty_unsupported.go -------------------------------------------------------------------------------- /pty_zos.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/pty_zos.go -------------------------------------------------------------------------------- /run.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/run.go -------------------------------------------------------------------------------- /start.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/start.go -------------------------------------------------------------------------------- /start_windows.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/start_windows.go -------------------------------------------------------------------------------- /test_crosscompile.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/test_crosscompile.sh -------------------------------------------------------------------------------- /types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/types.go -------------------------------------------------------------------------------- /types_dragonfly.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/types_dragonfly.go -------------------------------------------------------------------------------- /types_freebsd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/types_freebsd.go -------------------------------------------------------------------------------- /types_netbsd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/types_netbsd.go -------------------------------------------------------------------------------- /types_openbsd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/types_openbsd.go -------------------------------------------------------------------------------- /winsize.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/winsize.go -------------------------------------------------------------------------------- /winsize_unix.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/winsize_unix.go -------------------------------------------------------------------------------- /winsize_unsupported.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/winsize_unsupported.go -------------------------------------------------------------------------------- /ztypes_386.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ztypes_386.go -------------------------------------------------------------------------------- /ztypes_amd64.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ztypes_amd64.go -------------------------------------------------------------------------------- /ztypes_arm.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ztypes_arm.go -------------------------------------------------------------------------------- /ztypes_arm64.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ztypes_arm64.go -------------------------------------------------------------------------------- /ztypes_dragonfly_amd64.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ztypes_dragonfly_amd64.go -------------------------------------------------------------------------------- /ztypes_freebsd_386.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ztypes_freebsd_386.go -------------------------------------------------------------------------------- /ztypes_freebsd_amd64.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ztypes_freebsd_amd64.go -------------------------------------------------------------------------------- /ztypes_freebsd_arm.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ztypes_freebsd_arm.go -------------------------------------------------------------------------------- /ztypes_freebsd_arm64.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ztypes_freebsd_arm64.go -------------------------------------------------------------------------------- /ztypes_freebsd_ppc64.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ztypes_freebsd_ppc64.go -------------------------------------------------------------------------------- /ztypes_freebsd_riscv64.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ztypes_freebsd_riscv64.go -------------------------------------------------------------------------------- /ztypes_loong64.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ztypes_loong64.go -------------------------------------------------------------------------------- /ztypes_mipsx.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ztypes_mipsx.go -------------------------------------------------------------------------------- /ztypes_netbsd_32bit_int.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ztypes_netbsd_32bit_int.go -------------------------------------------------------------------------------- /ztypes_openbsd_32bit_int.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ztypes_openbsd_32bit_int.go -------------------------------------------------------------------------------- /ztypes_ppc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ztypes_ppc.go -------------------------------------------------------------------------------- /ztypes_ppc64.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ztypes_ppc64.go -------------------------------------------------------------------------------- /ztypes_ppc64le.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ztypes_ppc64le.go -------------------------------------------------------------------------------- /ztypes_riscvx.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ztypes_riscvx.go -------------------------------------------------------------------------------- /ztypes_s390x.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ztypes_s390x.go -------------------------------------------------------------------------------- /ztypes_sparcx.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creack/pty/HEAD/ztypes_sparcx.go --------------------------------------------------------------------------------