Skip to content

Commit 9eb0be3

Browse files
chigotctklauser
chigotc
authored andcommitted
ssh/terminal: add AIX operating system
This commit adds AIX operation system to ssh/terminal package. Change-Id: I31ccec5512dbf476eaf22ff79951b5fab434d5fd Reviewed-on: https://go-review.googlesource.com/c/151077 Run-TryBot: Tobias Klauser <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Tobias Klauser <[email protected]>
1 parent 3d3f9f4 commit 9eb0be3

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

ssh/terminal/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
// +build darwin dragonfly freebsd linux,!appengine netbsd openbsd
5+
// +build aix darwin dragonfly freebsd linux,!appengine netbsd openbsd
66

77
// Package terminal provides support functions for dealing with terminals, as
88
// commonly found on UNIX systems.

ssh/terminal/util_aix.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Copyright 2018 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+
// +build aix
6+
7+
package terminal
8+
9+
import "golang.org/x/sys/unix"
10+
11+
const ioctlReadTermios = unix.TCGETS
12+
const ioctlWriteTermios = unix.TCSETS

0 commit comments

Comments
 (0)