func GetTermios(fd uintptr) (*Termios, error) {
	return &Termios{}, nil
}
GetTermios returns a filled-in Termios, from an fd.
package termios
import (
	"fmt"
	"os"
	"path/filepath"
)
type Termios struct {
}
type Winsize struct {
	Row    uint16
	Col    uint16
	Xpixel uint16
	Ypixel uint16
}
type TTYIO struct {
	f *os.File
}
func New() (*TTYIO, error) {
	return NewWithDev("/dev/cons")
}
func NewWithDev(device string) (*TTYIO, error) {
	f, err := os.OpenFile(device, os.O_RDWR, 0)
	if err != nil {
		return nil, err
	}
	return &TTYIO{f: f}, nil
}
func NewTTYS(port string) (*TTYIO, error) {
	f, err := os.OpenFile(filepath.Join("/dev", port), os.O_RDWR, 0620)
	if err != nil {
		return nil, err
	}
	return &TTYIO{f: f}, nil
}