Delta Between Two Patch Sets: ssh/terminal/util_linux.go
Issue 7286043 :
code review 7286043: ssh/terminal: add darwin support. (Closed)
Left Patch Set: diff -r 7eef55bbd51c https://code.google.com/p/go.crypto
Right Patch Set: diff -r 7eef55bbd51c https://code.google.com/p/go.crypto/
Use n/p to move between diff chunks;
N/P to move between comments.
Please Sign in to add in-line comments.
Jump to:
ssh/terminal/util.go
ssh/terminal/util_bsd.go
ssh/terminal/util_linux.go
LEFT RIGHT
1 // Copyright 2013 The Go Authors. All rights reserved. 1 // Copyright 2013 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4
5 // +build linux
4 6
5 package terminal 7 package terminal
6 8
7 import "syscall" 9 import "syscall"
8 10
9 const ioctlReadTermios = syscall.TCGETS 11 const ioctlReadTermios = syscall.TCGETS
10 const ioctlWriteTermios = syscall.TCSETS 12 const ioctlWriteTermios = syscall.TCSETS
LEFT RIGHT